Navigation

Performance Advisor

Use the following resources to retrieve existing and suggested indexes for a deployment, as well as the namespaces on which slow queries were run and the queries that were slow. For more information about slow queries and possible performance improvements, see the Performance Advisor monitoring page.

To view field values in a sample query in the Performance Advisor, you must be a user with at least one of the following project roles:

Users without one of these roles see redacted data rather than the field values.

https://cloud.mongodb.com/api/atlas/v1.0

MethodEndpointDescription
GET/api/atlas/v1.0/groups/{GROUP-ID}/processes/{PROCESS-ID}/performanceAdvisor/namespacesRetrieves the namespaces for collections experiencing slow queries for a specified host.
GET/api/atlas/v1.0/groups/{GROUP-ID}/processes/{PROCESS-ID}/performanceAdvisor/slowQueryLogsGet log lines for slow queries as determined by the Performance Advisor.
GET/groups/{GROUP-ID}/processes/{PROCESS-ID}/performanceAdvisor/suggestedIndexesGet suggested indexes as determined by the Performance Advisor.
POST/groups/{GROUP-ID}/managedSlowMs/enableEnable the Atlas managed slow operation threshold for your project.
DELETE/groups/{GROUP-ID}/managedSlowMs/disableDisable the Atlas managed slow operation threshold for your project.
Give Feedback