v.25.10Improvement
Support --connection
Support--connectioninclickhouse-benchmarks. It is the same as supported byclickhouse-client, you can specify predefined connections in clientconfig.xml/config.yamlunderconnections_credentialspath, to avoid explicitly specifying user/password via command line arguments. Add support for--accept-invalid-certificateintoclickhouse-benchmark. #87370 (Azat Khuzhin).
Why it matters
This feature allows users to avoid specifying user credentials explicitly on the command line by utilizing predefined connection profiles fromconfig.xml or config.yaml under the connections_credentials path. Additionally, it provides the option to bypass TLS certificate validation in benchmarks, facilitating testing in environments with self-signed or invalid certificates.How to use it
Use the--connection flag with clickhouse-benchmark to specify a predefined connection name as configured in your client config.xml or config.yaml under connections_credentials. To accept invalid TLS certificates during benchmarking, use the --accept-invalid-certificate flag. For example:clickhouse-benchmark --connection my_connection --accept-invalid-certificate