v.25.6Improvement

MemoryResidentWithoutPageCache metric provides the amount of physical

MemoryResidentWithoutPageCache metric provides the amount of physical memory used by the server process, excluding userspace page cache, in bytes. This provides a more accurate view of actual memory usage when userspace page cache is utilized. When userspace page cache is disabled, this value equals MemoryResident. #81233 (Jayme Bird).
MemoryResidentWithoutPageCache metric provides the amount of physical memory used by the ClickHouse server process, excluding userspace page cache, measured in bytes.

Why it matters

This feature aims to give a more accurate representation of actual memory usage by the server when userspace page cache is enabled, helping users better understand and monitor their system's memory consumption. When userspace page cache is disabled, this metric equals the existing MemoryResident value.

How to use it

Users can monitor the MemoryResidentWithoutPageCache metric, which will reflect physical memory consumption excluding userspace page cache. No special configuration is required; the metric dynamically adjusts based on the status of userspace page cache.