Command Reference
Table 1 gs_dbmind component slow_query_diagnosis parameters
| Parameter | Description | Value Range | 
|---|
| -h, --help | Help information | - | 
| action | Action parameter | show: displays results.clean: clears results.diagnosis: interactive diagnosis.
 | 
| -c, --conf | Configuration directory | - | 
| --query | Slow SQL text | * | 
| --start-time | Timestamp of the start time, in milliseconds. Alternatively, the date and time format is %Y-%m-%d %H:%M:%S. | Positive integer or date and time format | 
| --end-time | Timestamp of the start time, in milliseconds. Alternatively, the date and time format is %Y-%m-%d %H:%M:%S. | Positive integer or date and time format | 
| --retention-days | Number of days retaining results | Number of days retaining results | 
openGauss 2025-10-31 07:42:18