Command Reference
Table 1 Common parameters
Parameter | Description | Value Range |
---|
--mode, -m | Specifies the running mode of the tuning program. | train, tune |
--config-file, -f | Specifies the configuration file of the tuning program. This parameter is optional. | - |
--db-name | Specifies the database to be tuned. | - |
--db-user | Specifies the username of the database to be tuned. | - |
--port | Specifies the database listening port. | - |
--host | Specifies host IP address of the database instance. | - |
--host-user | Specifies the username of the database administrator during database installation. | - |
--host-ssh-port | Specifies the SSH port number of the host where the database instance is located. This parameter is optional. | - |
--scenario | Specifies the tuning mode, which corresponds to three tuning lists. You can modify the lists. | ap, htap, tp |
--benchmark | Specifies the name of the benchmark script file. | - |
--model-path | Specifies the path for storing or loading tuning (enhanced learning) models. | - |
--version, -v | Returns the current tool version. | - |
openGauss 2025-06-30 22:42:51