Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-799

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

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 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 Unassigned
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: