-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Execution Team 2020-11-16, Execution Team 2020-11-30
This metric will be collected by instrumenting the calls to _sorter->emplace() in mongo::sbe::SortStage::open(), _sorter->add() in DocumentSourceBucketAuto::populateSorter, and _sorter->add() in SortExecutor::add().
Additionally, we will increment a metric counter if disk use occurred during sorting or grouping. This metric will count the number of sorts that were larger than the in-memory sort limit and needed to spill to disk at least once.
- is related to
-
SERVER-58201 Remove Sorter::_numSpills
- Closed
- related to
-
SERVER-52793 Collect resource consumption metrics for all SBE stages that sort data
- Closed
-
SERVER-53303 Make sort and group execution stages report number of spills to disk in explain
- Closed