cockroachdb / cockroach

CockroachDB - the open source, cloud-native distributed SQL database.
https://www.cockroachlabs.com
Other
29.52k stars 3.7k forks source link

sql/stats: add variables to disable partial statistics merging and usage #95233

Open michae2 opened 1 year ago

michae2 commented 1 year ago

Filing an issue for this TODO: https://github.com/cockroachdb/cockroach/blob/d7135c364280b916ff1dd63b13c23a177c6e451c/pkg/sql/stats/stats_cache.go#L811-L812

Now that we've introduced merging of partial statistics, we should add one or more variables to disable it if necessary.

Jira issue: CRDB-23413

Epic: CRDB-19449

blathers-crl[bot] commented 1 year ago

Hi @michae2, please add branch-* labels to identify which branch(es) this release-blocker affects.

:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

DrewKimball commented 1 week ago

Reopening because it looks like we'd still produce merged statistics for existing partial stats.