Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13259

Investigate changes in SERVER-21784: Track 'nReturned' and 'executionTimeMillis' execution stats for each aggregation pipeline stage and expose via explain

    XMLWordPrintableJSON

Details

    Description

      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.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            kanchana.sekhar@mongodb.com Kanchana Sekhar
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 34 weeks, 1 day ago