-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
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 Team
Description
Currently, we only support collecting partial statistics at extremes when a column is specified (eg. CREATE STATISTICS my_stat ON a FROM t USING EXTREMES). We should add support for partial stats collections without specifying a column (eg. CREATE STATISTICS my_stat FROM t USING EXTREMES).
This should collect partial stats on all appropriate columns automatically, similar to full stats collections without specified columns. We currently support partial statistics at extremes collections on single column prefixes of forward indexes.
Jira issue: CRDB-40629
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 Team
Type
Projects
Status
Done