Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-21784

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

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

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

              Created:
              Updated:
              Resolved: