Reviews: Steps of the query optimization process
(1) Query re-writing:
(We studied a heuristic
in this
webpage)
Reviews: Steps of the query optimization process
(2) Find the best
join ordering:
(We studied a heuristic
in this
webpage)
Join ordering and join tree
Each join ordering
corresponds
uniquely with
a join tree
Join ordering and join tree
- Example 1
Join ordering and join tree
- Example 2
So: finding the
best join ordering is
equivalent to
finding the best join tree
❮
❯