mongo_explain
Retrieve execution plan and index scan statistics for MongoDB find queries to analyze performance and optimize indexes.
Instructions
Get execution plan and index scan statistics for a MongoDB find query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | JSON string filter query. | |
| database | No | ||
| verbosity | No | Explain verbosity: queryPlanner | executionStats | allPlansExecution. | queryPlanner |
| collection | Yes | ||
| connectionId | No | Id of the mongodb connection to use. Optional when only one mongodb connection is configured. |