-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
statistics: optimize stats delta dumping with batch processing #58791
base: master
Are you sure you want to change the base?
statistics: optimize stats delta dumping with batch processing #58791
Conversation
Signed-off-by: Rustin170506 <techregister@pm.me>
Signed-off-by: Rustin170506 <techregister@pm.me>
Signed-off-by: Rustin170506 <techregister@pm.me>
Signed-off-by: Rustin170506 <techregister@pm.me>
Signed-off-by: Rustin170506 <techregister@pm.me>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #58791 +/- ##
================================================
+ Coverage 73.0741% 73.8635% +0.7894%
================================================
Files 1676 1707 +31
Lines 463762 475271 +11509
================================================
+ Hits 338890 351052 +12162
+ Misses 104006 102581 -1425
- Partials 20866 21638 +772
Flags with carried forward coverage won't be shown. Click here to find out more.
|
… check for batchUpdates Signed-off-by: Rustin170506 <techregister@pm.me>
/retest |
1 similar comment
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: winoros 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 |
[LGTM Timeline notifier]Timeline:
|
…r slow operations Signed-off-by: Rustin170506 <techregister@pm.me>
…ng operations Signed-off-by: Rustin170506 <techregister@pm.me>
… and improve performance logging Signed-off-by: Rustin170506 <techregister@pm.me>
/retest |
…erformance Signed-off-by: Rustin170506 <techregister@pm.me>
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.
🔢 Self-check (PR reviewed by myself and ready for feedback.)
What problem does this PR solve?
Issue Number: close #57869
close #58331
Problem Summary:
What changed and how does it work?
In this PR I changed
DumpStatsDeltaToKV
to dump the stats in batch instead of one by one. This will significantly improve the performance of the dump process. From my tests, the duration dropped from 40 minutes to 20 seconds under 100m table workload.See more: #57869 (comment)
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.