Improves the accuracy of memory usage estimation for cached marks in ClickHouse to optimize total cache memory consumption.
Why it matters
The feature addresses inefficiencies in how the memory usage of cached marks is approximated, which can lead to excessive memory allocation. By better estimating the memory used, ClickHouse can reduce overall memory consumption of the mark cache, leading to more efficient resource utilization and potentially improved query performance.How to use it
The improved memory usage approximation is integrated internally within ClickHouse and does not require manual user intervention. Users benefit from reduced memory usage of the mark cache automatically after updating to the version containing this feature.