[DRIVERS-799] Investigate changes in SERVER-21784: Track 'nReturned' and 'executionTimeMillis' execution stats for each aggregation pipeline stage and expose via explain Created: 02/Dec/19  Updated: 27/May/22  Resolved: 31/Mar/20

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-21784 Track 'nReturned' and 'executionTimeM... Closed
Server Compat: 4.3

 Description   
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.



 Comments   
Comment by Esha Bhargava [ 31/Mar/20 ]

No Drivers changes needed

Generated at Thu Feb 08 08:22:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.