v.25.6Improvement
Better introspection of in-memory caches
Better introspection of in-memory caches (expose information about caches insystem.metricsover incompletesystem.asynchronouse_metrics). Add in-memory caches size (in bytes) intodashboard.html.VectorSimilarityIndexCacheSize/IcebergMetadataFilesCacheSizehas been renamed toVectorSimilarityIndexCacheBytes/IcebergMetadataFilesCacheBytes. #81023 (Azat Khuzhin).
Why it matters
This feature improves observability and monitoring of in-memory caches in ClickHouse. By moving cache metrics from the limitedsystem.asynchronous_metrics to the more comprehensive system.metrics system and displaying cache sizes in the dashboard, users gain better insight into cache usage and memory consumption, enabling more effective performance tuning and troubleshooting.How to use it
Users can access detailed cache metrics directly via queries to thesystem.metrics table and view cache sizes visually in the ClickHouse dashboard.html. Note that some metric names have been renamed from VectorSimilarityIndexCacheSize and IcebergMetadataFilesCacheSize to VectorSimilarityIndexCacheBytes and IcebergMetadataFilesCacheBytes, so updated metric names should be used in monitoring queries.