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

opt: set join reorder limit to 4 by default #34549

Merged
merged 1 commit into from
Feb 5, 2019

Conversation

justinj
Copy link
Contributor

@justinj justinj commented Feb 5, 2019

Release note (sql change): The cost-based optimizer will now reorder up
to 4 joins by default to attempt to find a better ordering of them. This
behaviour can be disabled per-session by setting the
experimental_reorder_joins_limit session variable to 0.

Release note (sql change): The cost-based optimizer will now reorder up
to 4 joins by default to attempt to find a better ordering of them. This
behaviour can be disabled per-session by setting the
`experimental_reorder_joins_limit` session variable to 0.
@justinj justinj requested a review from a team as a code owner February 5, 2019 00:04
@justinj justinj requested review from a team February 5, 2019 00:04
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@andy-kimball andy-kimball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @andy-kimball, @RaduBerinde, and @rytaft)

@andy-kimball
Copy link
Contributor

bors r+

craig bot pushed a commit that referenced this pull request Feb 5, 2019
34549: opt: set join reorder limit to 4 by default r=andy-kimball a=justinj

Release note (sql change): The cost-based optimizer will now reorder up
to 4 joins by default to attempt to find a better ordering of them. This
behaviour can be disabled per-session by setting the
`experimental_reorder_joins_limit` session variable to 0.

Co-authored-by: Justin Jaffray <justin@cockroachlabs.com>
@craig
Copy link
Contributor

craig bot commented Feb 5, 2019

Build succeeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants