cockroachdb / cockroachdb/cockroach

sql: add sql_stats_histogram_collection_enabled storage parameter

Open
#139,620 2 comments 0 reactions 0 assignees View on GitHub
A-sql-table-stats C-enhancement O-support P-3 T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

We added storage parameters `sql_stats_histogram_buckets_count` and `sql_stats_histogram_samples_count` which correspond with cluster settings `sql.stats.histogram_buckets.count` and `sql.stats.histogram_samples.count`. But we have no storage parameter that corresponds with cluster setting `sql.stats.histogram_collection.enabled`. Occasionally it's useful to turn off histogram collection altogether, and it would be nice to do this for a table rather than for the entire cluster.

Jira issue: CRDB-46736

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.