-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[improvement](cloud) Accelerate cloud rebalance by batch editlog #37787
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
6348ac9
to
14b7d99
Compare
run buildall |
TPC-H: Total hot run time: 40092 ms
|
TPC-DS: Total hot run time: 172500 ms
|
ClickBench: Total hot run time: 30.63 s
|
fe/fe-core/src/main/java/org/apache/doris/cloud/persist/UpdateCloudReplicaInfo.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/journal/JournalBatch.java
Outdated
Show resolved
Hide resolved
run buildall |
TPC-H: Total hot run time: 39996 ms
|
TPC-DS: Total hot run time: 173956 ms
|
ClickBench: Total hot run time: 31.14 s
|
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
PR approved by anyone and no changes requested. |
PR approved by at least one committer and no changes requested. |
) 1. use `JournalBatch` to batch editlogs 2. same partition, different tablets use one editlog env: in docker cloud mode, 3fe 3be. 3be expansion to 4be, trigger cloud rebalance table, 1860 partitions, 48 buckets, every rebalance loop min balance 12 and close pre cache result: ``` before improvement 2024-07-16 16:51:01,371 INFO (cloud tablet rebalancer|77) [CloudTabletRebalancer.runAfterCatalogReady():228] finished to rebalancer. cost: 58471 ms after imprevement 2024-07-16 17:10:20,699 INFO (cloud tablet rebalancer|77) [CloudTabletRebalancer.runAfterCatalogReady():235] finished to rebalancer. cost: 28687 ms ```
Proposed changes
Issue Number: close #xxx
JournalBatch
to batch editlogsenv:
in docker cloud mode, 3fe 3be.
3be expansion to 4be, trigger cloud rebalance
table, 1860 partitions, 48 buckets, every rebalance loop min balance 12 and close pre cache
result: