Skip to content
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

Improve optimizer fast path to not even run optimize_mir_local #29501

Open
Tracked by #28720
ggevay opened this issue Sep 12, 2024 · 0 comments
Open
Tracked by #28720

Improve optimizer fast path to not even run optimize_mir_local #29501

ggevay opened this issue Sep 12, 2024 · 0 comments
Labels
A-CLUSTER Topics related to the CLUSTER layer A-optimization Area: query optimization and transformation

Comments

@ggevay
Copy link
Contributor

ggevay commented Sep 12, 2024

#28715 introduced an optimizer fast path, which avoids running a large part of the optimizer pipeline if a query looks like it will be a fast path peek. However, we still run optimize_mir_local, which I think we could also avoid (with a somewhat larger refactoring than #28715)

Currently, optimization time is only a small portion of fast path peek time, but if this becomes significant again after optimizations in other parts of the system, then we should revisit this.

@ggevay ggevay added A-optimization Area: query optimization and transformation A-CLUSTER Topics related to the CLUSTER layer labels Sep 12, 2024
This was referenced Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CLUSTER Topics related to the CLUSTER layer A-optimization Area: query optimization and transformation
Projects
None yet
Development

No branches or pull requests

1 participant