-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](nereids) Mistaken stats when analyzing table incrementally and partition number less than 512 #23507
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
Conversation
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
e9add13 to
a8c4fc2
Compare
|
run buildall |
a8c4fc2 to
4154182
Compare
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
4154182 to
4d55874
Compare
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
fe/fe-core/src/main/java/org/apache/doris/statistics/OlapAnalysisTask.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/statistics/OlapAnalysisTask.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/statistics/OlapAnalysisTask.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/statistics/BaseAnalysisTask.java
Outdated
Show resolved
Hide resolved
| if (!StatisticsUtil.statsTblAvailable()) { | ||
| return; | ||
| } | ||
| analyzePeriodically(); |
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.
perroid analyze should in a serperate thread
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.
I quite agree with this, but this is a bug-fix pr other than refacor
4d55874 to
123aa9a
Compare
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
….0 (#25421) This PR is composed of belowing commits which has been merged to Doirs master: * #24769 * #24672 * #24599 * #24521 * #24405 * #24237 * #24135 * #24074 * #24026 * #23992 * #23978 * #23622 * #23507 * #23354 * #23103 * #22963 * #22896 * #22775 * #22773 After this PR, when user upgrade Doris from 2.0.2 to 2.0.3, the origin info in AnalysisManager will be ignored, and the new module AnalysisManagerV2 will be saved(with more info).
Proposed changes
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...