Documentation
¶
Overview ¶
Bench for ClickHouse client-side compression (issue #909).
Alternates inserts with Compression off / LZ4 / ZSTD against the same CH instance and reports wall-clock, throughput, and exact wire bytes pulled from system.query_log via tagged query_ids.
Env (same names as the app):
CLICKHOUSE_ADDR required, host:port CLICKHOUSE_USERNAME default "default" CLICKHOUSE_PASSWORD default "" CLICKHOUSE_DATABASE default "default" CLICKHOUSE_TLS_ENABLED "true" to enable TLS
Flags:
--batches runs per mode (default 5) --rows rows per batch (default 10000) --modes comma-separated subset of off,lz4,zstd (default all) --keep keep the temp table on exit
Click to show internal directories.
Click to hide internal directories.