获取帮助
模块命令行说明:
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}
6. Slow Query Diagnosis: Analyse the root cause of slow query
8. positional arguments:
9. {show,clean} choose a functionality to perform
11. optional arguments:
12. -h, --help show this help message and exit
13. -c DIRECTORY, --conf DIRECTORY
14. set the directory of configuration files
15. --query SLOW_QUERY set a slow query you want to retrieve
16. --start-time TIMESTAMP_IN_MICROSECONDS
17. set the start time of a slow SQL diagnosis result to
18. be retrieved
19. --end-time TIMESTAMP_IN_MICROSECONDS
20. set the end time of a slow SQL diagnosis result to be
21. retrieved
22. --retention-days DAYS
23. clear historical diagnosis results and set the maximum
24. number of days to retain data
