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

    XMLWordPrintableJSON

Details

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

    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

        Activity

          People

            mihai.andrei@mongodb.com Mihai Andrei
            matt.kalan@mongodb.com Matt Kalan
            Votes:
            25 Vote for this issue
            Watchers:
            27 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: