v.23.1Improvement
Add simultaneous_parts_removal_limit setting to CleanupThread
Add a setting simultaneous_parts_removal_limit to allow limiting the number of parts being processed by one iteration of CleanupThread. #44461 (Dmitry Novik).Why it matters
This feature allows controlling the workload of the CleanupThread by restricting how many parts it can process simultaneously. It helps prevent resource overload and optimize cleanup operations in environments with many parts, improving stability and performance.How to use it
To use this feature, set thesimultaneous_parts_removal_limit parameter in the server configuration or query settings to the desired maximum number of parts that CleanupThread should remove in one iteration.