Uh oh!
There was an error while loading. Please reload this page.
[improvement](partition rebalance) improve partition rebalance choose candidate speed - #36509
Merged
Merged
Conversation
doris-robot
commented
Jun 19, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
yujun777
commented
Jun 19, 2024
ContributorAuthor
run buildall |
Contributor
PR approved by anyone and no changes requested. |
doris-robot
commented
Jun 19, 2024
TPC-H: Total hot run time: 40085 ms |
doris-robot
commented
Jun 19, 2024
TPC-DS: Total hot run time: 173237 ms |
doris-robot
commented
Jun 19, 2024
ClickBench: Total hot run time: 30.25 s |
Contributor
PR approved by at least one committer and no changes requested. |
yujun777
commented
Jun 19, 2024
ContributorAuthor
run buildall |
yujun777
marked this pull request as draft
June 19, 2024 06:55
yujun777force-pushed
the
improve-partition-rebalance
branch
from
June 27, 2024 03:41
58591e6 to
3cd9670Compareyujun777
commented
Jun 27, 2024
ContributorAuthor
run buildall |
yujun777
marked this pull request as ready for review
June 27, 2024 03:47
yujun777
commented
Jun 27, 2024
ContributorAuthor
run buildall |
doris-robot
commented
Jun 27, 2024
TPC-H: Total hot run time: 39837 ms |
doris-robot
commented
Jun 27, 2024
TPC-DS: Total hot run time: 171620 ms |
doris-robot
commented
Jun 27, 2024
ClickBench: Total hot run time: 31.29 s |
yujun777
commented
Jun 27, 2024
ContributorAuthor
run feut |
Contributor
PR approved by at least one committer and no changes requested. |
yujun777 added a commit
to yujun777/doris
that referenced
this pull request
Jun 28, 2024
… candidate speed (apache#36509) When partition reblancer choose candidate tablets, it will call tabletListOfA.removeAll(tabletListOfB), but list.removeAll(list)'s runtime is O(n^2). Then if each BE contains 10w+ tablets, it's rather slow. And we found a online case the tablet scheduler thread is busy at it. So need improve this search.
dataroaring pushed a commit
that referenced
this pull request
Jun 28, 2024
… candidate speed (#36509) When partition reblancer choose candidate tablets, it will call tabletListOfA.removeAll(tabletListOfB), but list.removeAll(list)'s runtime is O(n^2). Then if each BE contains 10w+ tablets, it's rather slow. And we found a online case the tablet scheduler thread is busy at it. So need improve this search.
Closed
mongo360 pushed a commit
to mongo360/doris
that referenced
this pull request
Aug 16, 2024
… candidate speed apache#36509 (apache#36978) cherry pick from apache#36509
HappenLee pushed a commit
to HappenLee/incubator-doris
that referenced
this pull request
Apr 24, 2026
… candidate speed (apache#36509) When partition reblancer choose candidate tablets, it will call tabletListOfA.removeAll(tabletListOfB), but list.removeAll(list)'s runtime is O(n^2). Then if each BE contains 10w+ tablets, it's rather slow. And we found a online case the tablet scheduler thread is busy at it. So need improve this search.
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 freeto 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.
When partition reblancer choose candidate tablets, it will call tabletListOfA.removeAll(tabletListOfB), but list.removeAll(list)'s runtime is O(n^2). Then if each BE contains 10w+ tablets, it's rather slow. And we found a online case the tablet scheduler thread is busy at it.
So need improve this search.
Proposed changes
Issue Number: close #xxx