v.24.3Improvement
Add Async Metrics for Virtual Memory Mappings VMMaxMapCount and VMNumMaps
Add async metrics for virtual memory mappings:VMMaxMapCount&VMNumMaps. Closes #60662. #61354 (Tuan Pham Anh).
Why it matters
These metrics provide enhanced visibility into the virtual memory mappings of the ClickHouse server. By trackingVMMaxMapCount and VMNumMaps, users can better understand and manage system resource usage, helping to identify potential memory mapping issues and optimize performance.How to use it
The new metricsVMMaxMapCount and VMNumMaps are available asynchronously within the ClickHouse metrics system. Users can query these metrics using existing monitoring tools integrated with ClickHouse's metrics endpoint or system tables without additional configuration.