v.18.10Improvement
Added max_partition_size_to_drop Config Option
Added the max_partition_size_to_drop config option. #2782Why it matters
This feature allows users to control and limit the maximum size of a partition that can be dropped in a single operation, preventing accidental or unintended large data drops and improving data safety management.How to use it
Users can enable this feature by setting themax_partition_size_to_drop option in the ClickHouse configuration file to specify the maximum partition size allowed to be dropped. Partitions exceeding this size cannot be dropped unless the setting is adjusted or removed.