Investigate changes in SERVER-21784: Track 'nReturned' and 'executionTimeMillis' execution stats for each aggregation pipeline stage and expose via explain

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Component/s: None
    • None

      Downstream Change Summary

      When running aggregate explain with verbosities "executionStats" and "allPlansExecution", the output will include "nReturned" and "executionTimeMillisEstimate" for each aggregation stage.

      Description of Linked Ticket

      For the same reason explain exists for .find(), it would be helpful to know how long an aggregation pipeline takes to run and within each stage. In many ways it is even more important with .aggregate() because of potentially multiple pipeline expressions for the same result.

              Assignee:
              Unassigned
              Reporter:
              Backlog - Core Eng Program Management Team
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: