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

"executionStats" is not generated for aggregate queries but documentation says otherwise

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup, 3.5.5
    • mongodb-3.0
    • manual
    • 3.0.6

    Description

      The documentation for db.collection.explain() states that
      Returns information on the query plan for the following operations: aggregate(); count(); find(); group(); remove(); and update() methods.

      However, the "executionStats" is not produced for aggregate. I understand that explain output "aggregate" only includes the "queryPlanner" output.

      It may not be produced for all the commands in the above list of methods and all variants of the parameter values: "queryPlanner", "executionStats", and "allPlansExecution". Someone should verify.

      Attachments

        Activity

          People

            ravind.kumar Ravind Kumar (Inactive)
            steven.hand Steven Hand
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 12 weeks, 6 days ago