Skip to content

sql/opt: add variables to disable statistics forecasting #86350

@michae2

Description

@michae2

Follow up from #79872: now that statistics forecasts are enabled for all tables, we need a session variable that can disable usage of forecasts in the optimizer.

Jira issue: CRDB-18707

Metadata

Metadata

Assignees

Labels

A-sql-optimizerSQL logical planning and optimizations.A-sql-table-statsTable statistics (and their automatic refresh).C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-queriesSQL Queries Team

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions