Added asynchronous metrics for tracking the total primary key bytes and total allocated primary key bytes in memory within ClickHouse.
Why it matters
This feature provides users with detailed insights into the memory consumption of primary keys by measuring both the total bytes and allocated bytes asynchronously. It helps in monitoring and optimizing memory usage related to primary keys, improving performance diagnostics and resource management.How to use it
Once the update is applied, the new asynchronous metrics for primary key memory usage are available automatically. Users can query these metrics via system monitoring tools or metric dashboards without additional configuration.