-
Notifications
You must be signed in to change notification settings - Fork 1.8k
JavaScript: Avoid a few bad join orders #3109
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
That evaluation looks pretty good to me. Unless it causes a regression on smaller snapshots I'd be in favor of merging it even if it doesn't fix gecko. |
I can reproduce the problem on
That's just a whisker under a billion tuples in the second pipeline step, and it wasn't done yet. I don't think the version of |
OK, I can add a few smaller ones into the mix. |
Adding a |
I encountered the same bad join orders for |
I encountered the exact same thing here #3093. I think we should add the fix here, and then I'll do a rebase. |
I have added the
Actually, it turns out I had previously evaluated this PR (minus the
Not exactly comprehensive, of course, but perhaps sufficient as an indication that it doesn't completely ruin small projects? |
Edit: Ignore me. Forgot to refresh before posting. |
I tried to see what impact this PR would have on my current performance PR. In my investigations of join-orders I had had troubles with the I tried to run a small evaluation of this PR against master to see if it was some kind of "performance-conflict" between the two PRs. I still think this PR should be merged. |
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.
The sooner we land this the better.
To recap from today's meeting: There are a few other branches making changes in this area and we decided that this should land first, and the branches should re-evaluate with this as the baseline.
These only seem to matter on very large snapshots (for the flow-summary projects where I encountered them I'm working with a roughly gecko-sized one).
Consequently, the evaluation on big-apps is not particularly compelling. I had hopes for
gecko-dev
, but that still timed out onmaster
; I suspect memory pressure, so I'm trying one last rerun with 16G of heap.