Add sorter spilling information to slow query logs and profiler

XMLWordPrintableJSON

    • Query Integration
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We collect some useful metrics about how much sorting and spilling a query has done in the CurOp struct here, but we don't report this information in slow query logs. It could be useful information to diagnose slow queries individually, as the current information is only aggregated into serverStatus.

      We should also add this information to the profiler, since generally, metrics in the profiler are meant to be a superset of the metrics in the slow query logs

              Assignee:
              Erin Liang
              Reporter:
              Louis Williams
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: