Collect number of keys sorted per operation

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2020-11-16, Execution Team 2020-11-30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Louis Williams
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: