-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[opt](nereids)clear min/max column stats if table is partially analyzed #33685
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
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
TPC-H: Total hot run time: 38619 ms |
TPC-DS: Total hot run time: 185922 ms |
ClickBench: Total hot run time: 29.95 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
run buildall |
TPC-H: Total hot run time: 38812 ms |
TPC-DS: Total hot run time: 183063 ms |
ClickBench: Total hot run time: 30.34 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
Jibing-Li
left a comment
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 at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
morrySnow
left a comment
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.
could we add some test?
fe/fe-core/src/main/java/org/apache/doris/nereids/stats/StatsCalculator.java
Outdated
Show resolved
Hide resolved
|
run buildall |
TPC-H: Total hot run time: 38219 ms |
TPC-DS: Total hot run time: 184199 ms |
ClickBench: Total hot run time: 30.27 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
PR approved by at least one committer and no changes requested. |
…valid or not (apache#34263) This is a following pr of apache#33685 After apache#33703 merged, need to check update rows in column level instead of table level.
…ed (apache#33685) (cherry picked from commit 3d14f66)
…zed (#35533) cherry picked from master PR #33685 commit 3d14f66 if user queries newly loaded data (the new data are not analyzed), optimizer may generate inefficient plan because the newly loaded data is out of column stats min-max range. In this pr, we will ignore min-max if there are newly loaded data.
…zed (apache#35533) cherry picked from master PR apache#33685 commit 3d14f66 if user queries newly loaded data (the new data are not analyzed), optimizer may generate inefficient plan because the newly loaded data is out of column stats min-max range. In this pr, we will ignore min-max if there are newly loaded data.
Proposed changes
if user queries newly loaded data (the new data are not analyzed), optimizer may generate inefficient plan because the newly loaded data is out of column stats min-max range.
In this pr, we will ignore min-max if there are newly loaded data.
Issue Number: close #xxx
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...