Heuristic-based logical query plan optimization -
Example 1
Heuristic-based logical query plan optimization -
Example 1
Note:
you cannot push the
selection
σname=starName
further down....
Heuristic-based logical query plan optimization -
Example 1
Heuristic-based logical query plan optimization -
Example 1
Optimal logical query plan !
Heuristic-based logical query plan optimization -
Example 2
Heuristic-based logical query plan optimization -
Example 2
(1) Break up the
select condition and
move selection condition(s) down
as far as
possible:
Heuristic-based logical query plan optimization -
Example 2
(2) Replace
σ + × with
⋈:
Heuristic-based logical query plan optimization -
Example 2
(3) Remove the
unused attributes
by inserting
projection (π):
Comment on my lecture notes...
❮
❯