v.21.1New Features
Add min_compress_block_size and max_compress_block_size to MergeTreeSettings
Add settingsmin_compress_block_sizeandmax_compress_block_sizeto MergeTreeSettings, which have higher priority than the global settings and take effect when they are set. close 13890. #17867 (flynn).
Why it matters
These settings allow finer control over the compression block size specifically for MergeTree tables, enabling users to optimize compression behavior on a per-table basis rather than relying solely on global settings.How to use it
Setmin_compress_block_size and/or max_compress_block_size in the MergeTreeSettings section of your table configuration to specify custom compression block size limits that will take precedence over global configuration.