获取帮助

模块命令行说明:

  1. gs_dbmind component slow_query_diagnosis --help
  1. usage: [-h] -c DIRECTORY [--query SLOW_QUERY]
  2. [--start-time TIMESTAMP_IN_MICROSECONDS]
  3. [--end-time TIMESTAMP_IN_MICROSECONDS] [--retention-days DAYS]
  4. {show,clean}
  5. Slow Query Diagnosis: Analyse the root cause of slow query
  6. positional arguments:
  7. {show,clean} choose a functionality to perform
  8. optional arguments:
  9. -h, --help show this help message and exit
  10. -c DIRECTORY, --conf DIRECTORY
  11. set the directory of configuration files
  12. --query SLOW_QUERY set a slow query you want to retrieve
  13. --start-time TIMESTAMP_IN_MICROSECONDS
  14. set the start time of a slow SQL diagnosis result to
  15. be retrieved
  16. --end-time TIMESTAMP_IN_MICROSECONDS
  17. set the end time of a slow SQL diagnosis result to be
  18. retrieved
  19. --retention-days DAYS
  20. clear historical diagnosis results and set the maximum
  21. number of days to retain data