v.21.11Improvements
Apply memory profiling parameters during mutate/merge operations
Applymax_untracked_memory/memory_profiler_step/memory_profiler_sample_probabilityduring mutate/merge to profile memory usage during merges. #29681 (Azat Khuzhin).
Why it matters
This feature helps users understand and analyze memory consumption patterns during data mutations and merges, enabling better memory management, troubleshooting, and optimization of heavy operations in ClickHouse.How to use it
Users can enable memory profiling by configuring the settingsmax_untracked_memory, memory_profiler_step, and memory_profiler_sample_probability in their server configuration or session. These parameters control the threshold of untracked memory, the profiling granularity, and the sampling probability, respectively.