Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-99642

Unify spilling statistics in explain output

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution

      Currently a lot of stages can spill to disk, but in explain output they will report different sub-set of spilling statistics under different names:

      DocumentSourceGroup will report spilled bytes as numBytesSpilledEstimate

      DocumentSourceGraphLookup will report it as spilledBytes.

      DocumentSourceSort won't even report this metric

      In SERVER-99564 we will ensure that all spilling stages track internally all relevant metrics consistently.

      In this ticket we should make the change to explain output to be consistent as well.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: