Skip to main content

Module statement_planning

Module statement_planning 

Source
Expand description

Statement optimization and prepared-plan estimates over explicit catalog and retrieval inputs.

Modules§

executable
Analyze executable plans before optimizer inputs and constant evaluation.
prepared
Custom-versus-generic plan selection and type-preserving parameter specialization.
rule_inputs
Prune mutation inputs discarded by rewrite rules before constant evaluation.

Structs§

StatementStatisticsContext

Traits§

PlannerStatisticsCatalog
Loaded metadata needed to estimate relational access without depending on a storage provider.
RetrievalSourceCosting
Access estimates supplied by the retrieval planner selected by the composition boundary.
StatisticsTableState
Retain the loaded table generation across its dependent metadata reads.

Functions§

estimate_plan
optimize_plan