Track 'nReturned' and 'executionTimeMillis' execution stats for each aggregation pipeline stage and expose via explain

XMLWordPrintableJSON

    • Query Execution
    • Minor Change
    • Query 2019-12-02, Query 2019-12-16
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              Mihai Andrei
              Reporter:
              Matt Kalan
              Votes:
              25 Vote for this issue
              Watchers:
              27 Start watching this issue

                Created:
                Updated:
                Resolved: