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: add settings to enable usage of histograms and multi-column stats #7617

Closed
jseldess opened this issue Jun 24, 2020 · 0 comments · Fixed by #7940
Closed

opt: add settings to enable usage of histograms and multi-column stats #7617

jseldess opened this issue Jun 24, 2020 · 0 comments · Fixed by #7940
Assignees
Labels
C-product-change P-1 High priority; must be done this release
Milestone

Comments

@jseldess
Copy link
Contributor

PR: cockroachdb/cockroach#48105

From release notes:

Added two new session variables and corresponding cluster settings to control whether the optimizer uses histograms and multi-column statistics for cardinality estimation. The session variables are optimizer_use_histograms and optimizer_use_multicol_stats, with corresponding cluster settings sql.defaults.optimizer_use_histograms.enabled and sql.defaults.optimizer_use_multicol_stats.enabled. Both settings are enabled by default. [#48105][#48105] {% comment %}doc{% endcomment %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-product-change P-1 High priority; must be done this release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants