These settings are available in system.merge_tree_settings and are autogenerated from ClickHouse source.
primary_key_compress_block_size
Type
NonZeroUInt64
Default
65536
Primary compress block size, the actual size of the block to compress.
primary_key_compression_codec
Type
String
Default
ZSTD(3)
Compression encoding used by primary, primary key is small enough and cached, so the default compression is ZSTD(3).
primary_key_lazy_load
Type
Bool
Default
1
Load primary key in memory on first use instead of on table initialization. This can save memory in the presence of a large number of tables.
primary_key_ratio_of_unique_prefix_values_to_skip_suffix_columns
Type
Float
Default
0.9
If the value of a column of the primary key in data part changes at least in this ratio of times, skip loading next columns in memory. This allows to save memory usage by not loading useless columns of the primary key.