system.query_optimization.plan_table module¶
Plan table implementations for dynamic-programming join-order enumeration.
- class system.query_optimization.plan_table.StandardPlanTable(join_graph: JoinGraph, cost_function: CostFunction, cardinality_table: CardinalityTable)[source]¶
Bases:
PlanTableA standard plan table used for enumeration. It stores for each problem the best costs and plan.
- class system.query_optimization.plan_table.SizeBasedPlanTable(join_graph: JoinGraph, cost_function: CostFunction, cardinality_table: CardinalityTable)[source]¶
Bases:
PlanTableA plan table used for enumeration. It stores for each problem the best costs and plan. Unlike the StandardPlanTable, it orders problems based on their size to allow an efficient enumeration over them.