v.21.2Improvements
Add --reconnect option to clickhouse-benchmark for testing purposes
Add--reconnectoption toclickhouse-benchmark. When this option is specified, it will reconnect before every request. This is needed for testing. #19872 (alexey-milovidov).
Why it matters
This feature addresses the need for benchmarking with a fresh connection for every request, enabling more accurate testing scenarios that simulate repeated connection setups.How to use it
Runclickhouse-benchmark with the --reconnect option to force the tool to reconnect before each request, for example:clickhouse-benchmark --reconnect