-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storages: Track memory for PageDirectory #9134
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/hold |
/retest |
|
||
namespace DB::PS | ||
{ | ||
struct PageStorageMemorySummary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Names here are little verbose.
-
The name
PageStorageMemorySummary
has a slightly duplicated with the namespacePS
. -
The prefix
mem_sum_
ofmem_sum_uni_page_ids
andmem_sum_versioned_entry_or_delete
are duplicated with the struct namePageStorageMemorySummary
. I suggest changing these names to:mem_sum_uni_page_ids
=>uni_page_id_bytes
.mem_sum_versioned_entry_or_delete
=>versioned_entry_or_delete_bytes
.num_versioned_entry_or_delete
=>versioned_entry_or_delete_count
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Co-authored-by: JaySon <tshent@qq.com>
Co-authored-by: JaySon <tshent@qq.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also update the grafana panel JSON?
Rest LGTM
[LGTM Timeline notifier]Timeline:
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JaySon-Huang, JinheLin, Lloyd-Pottiger The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/unhold |
updated |
/test |
@CalvinNeo: The
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What problem does this PR solve?
Issue Number: close #8835
Problem Summary:
What is changed and how it works?
Add metrics for the memory allocated for UniversalPageId and EntryOrDelete
Check List
Tests
Side effects
Documentation
Release note