Repository navigation
Conversation
azat
reviewed
Jun 3, 2025
Member
al13n321
reviewed
Jun 3, 2025
al13n321
left a comment
Contributor
There was a problem hiding this comment.
Seems like a good idea to me.
Shouldn't it be in AsynchronousMetrics.cpp though?
…hen user space page cache is used
jaymebrd
force-pushed
the
feat/add-metric-resident-memory-without-page-cache
branch
from
June 4, 2025 06:29
4d633e3 to
2648300
Compare
Contributor
azat
approved these changes
Jun 4, 2025
azat
enabled auto-merge
June 4, 2025 17:04
This was referenced Jun 4, 2025
robot-clickhouse
added a commit
that referenced
this pull request
Jun 4, 2025
This was referenced Jun 4, 2025
robot-clickhouse
added a commit
that referenced
this pull request
Jun 4, 2025
This was referenced Jun 4, 2025
robot-clickhouse
added a commit
that referenced
this pull request
Jun 4, 2025
nikitamikhaylov
added a commit
that referenced
this pull request
Jun 4, 2025
Backport #81233 to 25.4: add MemoryResidentWithoutPageCache
nikitamikhaylov
added a commit
that referenced
this pull request
Jun 4, 2025
Backport #81233 to 25.5: add MemoryResidentWithoutPageCache
alexey-milovidov
added a commit
that referenced
this pull request
Jun 5, 2025
Backport #81233 to 25.3: add MemoryResidentWithoutPageCache
Merged
1 task
alexey-milovidov
pushed a commit
that referenced
this pull request
Apr 10, 2026
…emoryUsed description Add a new `CGroupMemoryUsedWithoutPageCache` async metric that subtracts the ClickHouse userspace page cache from `CGroupMemoryUsed`, mirroring what `MemoryResidentWithoutPageCache` does for RSS (added in #81233). Also clarify the `CGroupMemoryUsed` description: it previously said "excluding page cache" without specifying which page cache. It now explicitly states that the kernel page cache (OS-level file cache) is excluded because `memory.stat` does not account for the `file` field, while the ClickHouse userspace page cache is NOT excluded - that is what the new metric is for. Closes https://github.com/ClickHouse/support-escalation/issues/7289 Co-authored-by: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
MemoryResidentWithoutPageCache 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
Documentation entry for user-facing changes