v.25.7Improvement

Added metrics MarkCacheEvictedBytes, MarkCacheEvictedMarks, MarkCacheEvictedFiles

Added metrics MarkCacheEvictedBytes, MarkCacheEvictedMarks, MarkCacheEvictedFiles for tracking evictions from the mark cache. (issue #60989). #80799 (Shivji Kumar Jha).
Added new metrics MarkCacheEvictedBytes, MarkCacheEvictedMarks, and MarkCacheEvictedFiles to monitor evictions from the mark cache in ClickHouse.

Why it matters

These metrics provide detailed insight into the behavior of the mark cache by tracking the amount of data, number of marks, and number of files evicted. This helps users better understand cache performance and troubleshoot issues related to mark cache evictions.

How to use it

Users can monitor these metrics through the usual ClickHouse metrics interfaces, such as querying system tables or via integrated monitoring solutions. No explicit configuration is needed to enable these metrics; they start reporting automatically once the respective cache eviction activities occur.