v.22.3Improvement

More Precise Memory Tracking for INSERT with AggregateFunction

More precise memory tracking during INSERT into Buffer with AggregateFunction. #35072 (Azat Khuzhin).
Improved memory tracking accuracy during INSERT operations into Buffer tables that use AggregateFunction.

Why it matters

This feature addresses the issue of imprecise memory usage accounting when inserting data into Buffer tables with aggregate functions. More precise memory tracking helps prevent unexpected memory exhaustion and improves resource management, leading to increased stability and predictability of ClickHouse workloads.

How to use it

Users benefit from this feature automatically when performing INSERT operations into Buffer tables containing AggregateFunction columns. No additional configuration is required.