-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql/stats: add variables to disable partial statistics merging and usage #95233
Copy link
Copy link
Labels
A-sql-table-statsTable statistics (and their automatic refresh).Table statistics (and their automatic refresh).C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-queriesSQL Queries TeamSQL Queries Teambranch-release-23.1Used to mark GA and release blockers, technical advisories, and bugs for 23.1Used to mark GA and release blockers, technical advisories, and bugs for 23.1
Metadata
Metadata
Assignees
Labels
A-sql-table-statsTable statistics (and their automatic refresh).Table statistics (and their automatic refresh).C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-queriesSQL Queries TeamSQL Queries Teambranch-release-23.1Used to mark GA and release blockers, technical advisories, and bugs for 23.1Used to mark GA and release blockers, technical advisories, and bugs for 23.1
Type
Projects
Status
Done
Filing an issue for this TODO:
cockroach/pkg/sql/stats/stats_cache.go
Lines 811 to 812 in d7135c3
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