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

release-19.1: stats,opt: finalize automatic stats cluster settings and join reorder limit setting #36085

Merged
merged 2 commits into from
Mar 24, 2019

Conversation

rytaft
Copy link
Collaborator

@rytaft rytaft commented Mar 24, 2019

Backport 2/2 commits from #35754.

/cc @cockroachdb/release


This PR removes "experimental" from the two existing cluster
settings for automatic stats. It also adds two new cluster settings,
sql.stats.automatic_collection.fraction_stale_rows and
sql.stats.automatic_collection.min_stale_rows, which control
the target number of rows in a table that should be stale before
statistics on that table are refreshed.

This PR also removes "experimental" from the experimental_reorder_joins_limit
session setting. It also adds validation to ensure users cannot set it to
a negative value.

Closes #35544
Fixes #35348

rytaft added 2 commits March 23, 2019 21:11
This commit removes "experimental" from the two existing cluster
settings for automatic stats. It also adds two new cluster settings,
sql.stats.automatic_collection.fraction_stale_rows and
sql.stats.automatic_collection.min_stale_rows, which control
the target number of rows in a table that should be stale before
statistics on that table are refreshed.

Closes cockroachdb#35544

Release note (sql change): Changed the two existing automatic
statistics cluster settings to remove "experimental" from the name.
Added two new cluster settings to control the target number of stale
rows per table that will trigger a statistics refresh.
This commit removes "experimental" from the experimental_reorder_joins_limit
session setting. It also adds validation to ensure users cannot set it to
a negative value.

Fixes cockroachdb#35348

Release note (sql change): Changed the experimental_reorder_joins_limit
session setting to remove "experimental" from the name.
@rytaft rytaft requested review from justinj, RaduBerinde and a team March 24, 2019 01:12
@rytaft rytaft requested a review from a team as a code owner March 24, 2019 01:12
@rytaft rytaft requested review from a team March 24, 2019 01:12
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@RaduBerinde
Copy link
Member

LGTM

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