Docs Menu

Query Analysis

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.

To learn more about slow queries and possible performance improvements, see Performance Advisor or Query Profiler.

To view field values in a sample query, 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

Method
Endpoint
Description
GET
Retrieves the namespaces for collections experiencing slow queries for a specified host.
GET
Get log lines for slow queries that the Performance Advisor and Query Profiler identified.
GET
Get suggested indexes that the Performance Advisor identified.
POST
Enable the Atlas managed slow operation threshold for your project.
DELETE
Disable the Atlas managed slow operation threshold for your project.
Give Feedback
MongoDB logo
© 2021 MongoDB, Inc.

About

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