Docs Menu
Docs Home
/ /
MongoDB CLI
/ /

mongocli ops-manager performanceAdvisor

On this page

  • Options
  • Inherited Options
  • Related Commands

Learn more about slow queries and get suggestions to improve database performance.

Name
Type
Required
Description
-h, --help
false
help for performanceAdvisor
Name
Type
Required
Description
-P, --profile
string
false
Name of the profile to use from your configuration file. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file.
  • mongocli ops-manager performanceAdvisor namespaces - Retrieve namespaces for collections experiencing slow queries

  • mongocli ops-manager performanceAdvisor slowQueryLogs - Get log lines for slow queries for a specified host

  • mongocli ops-manager performanceAdvisor suggestedIndexes - Get suggested indexes for collections experiencing slow queries

Back

create