Access Paths, Index Scan, Aggregates
CSE 4/562 – Database Systems
February 26, 2018
General Query Optimizers
- Apply blind heuristics (e.g., push down selections)
- Enumerate all possible execution plans by varying (or for a reasonable subset)
- Join/Union Evaluation Order (commutativity, associativity, distributivity)
- Algorithms for Joins, Aggregates, Sort, Distinct, and others
- Data Access Paths
- Estimate the cost of each execution plan
- Pick the execution plan with the lowest cost