More Cost Based Plan Selection, Joins




CS157b

Chris Pollett

Mar 18, 2020

Outline

Cost-Based Plan Selection

Obtaining Estimates for Size Parameters

In-Class Exercise

Incremental Computation of Statistics

Heuristics for Reducing the Cost of Logical Query Plans

Approaches to Enumerating Physical Plans

More on Enumerating Physical Plans

Join Order - Significance of Left and Right Join Arguments

Join Trees

Left-Deep Join Trees

Some Advantages of Left Deep Join Trees