v.21.1New Features
Added query parameter for clickhouse-benchmark
Addedqueryparameter forclickhouse-benchmark. #17832 (Maksim Kita).
Why it matters
This feature allows users to directly specify the benchmark query via a parameter, simplifying the benchmarking process by making it easier and faster to run performance tests without needing separate scripts or files.How to use it
Use the--query parameter with clickhouse-benchmark to specify the query to benchmark. For example:clickhouse-benchmark --query="SELECT * FROM table WHERE condition"