-
Notifications
You must be signed in to change notification settings - Fork 65
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
Join Ordering using UES #939
Comments
Thanks for starting the work on join ordering, @DerSchmidt! That's very improtant for efficient relational query processing in DAPHNE. Regarding adding statistical information: DAPHNE is already able to represent a few interesting data characteristics for matrices and frames. The two new characteristics you mention can be added in a similar way. Here are some hints on what needs to be done (no claim of completeness):
|
What does this really do? And what is the intended behavior? This is my understanding of So this means:
And now a step forward on this issue, if we continue like this:
So if you can make sense of this Specialization feature for me, it would be really appreciated! |
Hi @DerSchmidt! First, note that the parameters ( The documentation of In particular, when Internally, All you need to do is to treat the two new data properties (max value frequency per column and number of distict values per column; both essentially arrays) in a similar way as the other parameters. The most similar one is probably Hope that helps. |
The SQL Parser currently outputs an unoptimized query plan using the DAPHNE-IR. One of the flaws is the join order, which is based on the order the joins are present in the given query.
We suggest using UES (Published in "Simplicity Done Right for Join Ordering"[CIDR 2021]) which is a simple join reordering that delivers good results.
For this, we would need to
The text was updated successfully, but these errors were encountered: