atlas-get-performance-advisor
Get MongoDB Atlas performance advice: suggested indexes, index drops, schema suggestions, and recent slow query logs to optimize database performance.
Instructions
Get MongoDB Atlas performance advisor recommendations and suggestions, which includes the operations: suggested indexes, drop index suggestions, schema suggestions, and a sample of the most recent (max 50) slow query logs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Date to get slow query logs since. Must be a string in ISO 8601 format. Only relevant for the slowQueryLogs operation. | |
| projectId | Yes | Atlas project ID to get performance advisor recommendations. The project ID is a hexadecimal identifier of 24 characters. If the user has only specified the name, use the `atlas-list-projects` tool to retrieve the user's projects with their ids. | |
| namespaces | No | Namespaces to get slow query logs. Only relevant for the slowQueryLogs operation. | |
| operations | No | Operations to get performance advisor recommendations | |
| clusterName | Yes | Atlas cluster name to get performance advisor recommendations |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | ||
| clusterName | Yes | ||
| slowQueryLogs | No | ||
| suggestedIndexes | No | ||
| schemaSuggestions | No | ||
| dropIndexSuggestions | No |