Unify spilling statistics in explain output

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Minor Change
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
            Foteini Alvanaki
            Reporter:
            Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: