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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Minor Change
    • Sprint:
      Query 2019-12-02, Query 2019-12-16
    • Case:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mihai.andrei Mihai Andrei
              Reporter:
              matt.kalan Matt Kalan
              Participants:
              Votes:
              25 Vote for this issue
              Watchers:
              27 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: