atlas api performanceAdvisor
On this page
Public Preview: please provide feedback at: Returns suggested indexes and slow query data for a database deployment.
Also enables or disables MongoDB Cloud-managed slow operation thresholds. To view field values in a sample query, you must have the Project Data Access Read Only role or higher. Otherwise, MongoDB Cloud returns redacted data rather than the field values.
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for performanceAdvisor |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings. |
Related Commands
atlas api performanceAdvisor disableSlowOperationThresholding - Public Preview: please provide feedback at: Disables the slow operation threshold that MongoDB Cloud calculated for the specified project.
atlas api performanceAdvisor enableSlowOperationThresholding - Public Preview: please provide feedback at: Enables MongoDB Cloud to use its slow operation threshold for the specified project.
atlas api performanceAdvisor getManagedSlowMs - Public Preview: please provide feedback at: Get whether the Managed Slow MS feature is enabled.
atlas api performanceAdvisor getServerlessAutoIndexing - Public Preview: please provide feedback at: Get whether the Serverless Auto Indexing feature is enabled.
atlas api performanceAdvisor listClusterSuggestedIndexes - Public Preview: please provide feedback at: Returns the indexes that the Performance Advisor suggests.
atlas api performanceAdvisor listDropIndexes - Public Preview: please provide feedback at: Returns the indexes that the Performance Advisor suggests to drop.
atlas api performanceAdvisor listSchemaAdvice - Public Preview: please provide feedback at: Returns the schema suggestions that the Performance Advisor detects.
atlas api performanceAdvisor listSlowQueries - Public Preview: please provide feedback at: Returns log lines for slow queries that the Performance Advisor and Query Profiler identified.
atlas api performanceAdvisor listSlowQueryNamespaces - Public Preview: please provide feedback at: Returns up to 20 namespaces for collections experiencing slow queries on the specified host.
atlas api performanceAdvisor listSuggestedIndexes - Public Preview: please provide feedback at: Returns the indexes that the Performance Advisor suggests.
atlas api performanceAdvisor setServerlessAutoIndexing - Public Preview: please provide feedback at: Set whether the Serverless Auto Indexing feature is enabled.