Docs Menu

View Query Performance

On this page

  • Visual Tree
  • Raw JSON
  • Limitations

The Explain Plan tab displays the execution plan for a query.

To view the execution plan for a query filter, click on the collection on the left hand pane, then click Explain Plan.

Query plan

You can view the explain stages in a tree format. Each stage of the pipeline appears as a node on the tree. This makes sharded cluster outputs easier to understand and visualize.

Explain tree

You can also view the explain details in raw JSON format:

Query plan JSON

To learn more about execution plans, see the MongoDB documentation.

Give Feedback
MongoDB logo
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.