-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
38812: opt: add cluster setting to enable histograms r=rytaft a=rytaft This commit adds the cluster setting `sql.stats.histogram_collection.enabled` to enable or disable histogram collection. When enabled, histograms are collected by default for all index columns (specifically the first column in each index) during automatic statistics collection. If a single column statistic is explicitly requested using manual invocation of `CREATE STATISTICS`, a histogram will be collected, regardless of whether or not the column is part of an index. When `sql.stats.histogram_collection.enabled` is disabled, histograms are never collected, either as part of automatic statistics collection or manual invocation of `CREATE STATISTICS`. `sql.stats.histogram_collection.enabled` is currently disabled by default. Release note (sql change): Added cluster setting sql.stats.histogram_collection.enabled to enable collection of histograms during statistics collection. Co-authored-by: Rebecca Taft <[email protected]>
- Loading branch information
Showing
9 changed files
with
15,465 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.