-
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
[opt](nereids) refine left semi/anti shortcut cost #37060
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: 40092 ms
|
TPC-DS: Total hot run time: 174066 ms
|
ClickBench: Total hot run time: 30.15 s
|
run buidall |
run buildall |
TPC-H: Total hot run time: 40473 ms
|
TPC-DS: Total hot run time: 173772 ms
|
ClickBench: Total hot run time: 30.59 s
|
run buildall |
TPC-H: Total hot run time: 39918 ms
|
TPC-DS: Total hot run time: 172465 ms
|
ClickBench: Total hot run time: 30.55 s
|
run p0 |
19e1511
to
8648516
Compare
run buildall |
TPC-H: Total hot run time: 39923 ms
|
TPC-DS: Total hot run time: 169117 ms
|
ClickBench: Total hot run time: 30.76 s
|
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
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
8648516
to
622dc81
Compare
run buildall |
TPC-H: Total hot run time: 39834 ms
|
TPC-DS: Total hot run time: 169884 ms
|
ClickBench: Total hot run time: 30.38 s
|
PR approved by at least one committer and no changes requested. |
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
Current left semi/anti join's cost doesn't consider be's short-cut opt, this pr will refine this part of computing and distinguish the left and right join costs. --------- Co-authored-by: zhongjian.xzj <zhongjian.xzj@zhongjianxzjdeMacBook-Pro.local>
Refine left semi/anti cost computing under short-cut opt, for the case whose semi/anti join has the small left side and big right side, which original solution can't support. This pr reduce the left style cost by reduce the right side cost and improve the possibility of choosing left style joins. Pass the performance test on tpch/tpcds/usercase. previous work: #37060
Refine left semi/anti cost computing under short-cut opt, for the case whose semi/anti join has the small left side and big right side, which original solution can't support. This pr reduce the left style cost by reduce the right side cost and improve the possibility of choosing left style joins. Pass the performance test on tpch/tpcds/usercase. previous work: #37060
Proposed changes
Current left semi/anti join's cost doesn't consider be's short-cut opt, this pr will refine this part of computing and distinguish the left and right join costs.