-
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.
- depends on
-
SERVER-21784 Track 'nReturned' and 'executionTimeMillis' execution stats for each aggregation pipeline stage and expose via explain
- Closed