v.21.11Improvements
Add compress_logs setting for ClickHouse Keeper to enable ZSTD log compression
Addcompress_logssettings for clickhouse-keeper which allow to compress clickhouse-keeper logs (for replicated state machine) inZSTD. Implements: #26977. #29223 (alesapin).
Why it matters
This feature reduces the storage size of clickhouse-keeper logs, which are used in the replicated state machine, by compressing them with the efficientZSTD algorithm. This helps to save disk space and improve log management.How to use it
Enable compression by settingcompress_logs to true in the clickhouse-keeper configuration. Logs will then be compressed automatically using ZSTD.