v.24.6Experimental Feature
Add Settings for Custom Key Range in Parallel Replicas
Add settingsparallel_replicas_custom_key_range_lowerandparallel_replicas_custom_key_range_upperto control how parallel replicas with dynamic shards parallelizes queries when using a range filter. #64604 (josh-hildred).
Why it matters
These settings allow users to fine-tune how queries are parallelized across replicas that handle dynamic shard ranges. This improves query performance and resource utilization by customizing the key ranges that determine parallel query execution in distributed setups with range filters.How to use it
Configure the settingsparallel_replicas_custom_key_range_lower and parallel_replicas_custom_key_range_upper in the ClickHouse server or client settings to specify custom key ranges for parallel execution of queries with range filters on parallel replicas.