Expand description
DPccp (Dynamic Programming with connected complement pairs) join ordering.
This module implements the DPccp algorithm for finding optimal join orderings. The algorithm works by:
- Building a join graph from the query
- Enumerating all connected subgraphs
- Finding optimal plans for each subgraph using dynamic programming
Reference: Moerkotte, G., & Neumann, T. (2006). Analysis of Two Existing and One New Dynamic Programming Algorithm for the Generation of Optimal Bushy Join Trees without Cross Products.
Structsยง
- BitSet
- A bitset for efficient subset representation.
- DPccp
- DPccp join ordering optimizer.
- Join
Edge - An edge in the join graph representing a join condition.
- Join
Graph - The join graph representing all relations and join conditions in a query.
- Join
Graph Builder - Extracts a join graph from a query pattern.
- Join
Node - A node in the join graph.
- Join
Plan - Represents a (partial) join plan.
- Subset
Iterator - Iterator over all subsets of a bitset.