One more optimization step to consider
There is one more
optimization step that
we must consider...
One more optimization step to consider
Specifically:
we can
re-order the
join operations
!!!
One more optimization step to consider
Sample join ordering 1:
One more optimization step to consider
Sample join ordering 2:
One more optimization step to consider
Sample join ordering 3:
And so on...
There are 2 different tree forms and
each tree form has
3! choices...
For
a total of
2×3! (= 12) possible
join orderings
Different join ordering can produce
different output set (size)
Notable observation:
Different intermediate result sets
can have in
different # tuples and therefore
different cost measure !!!
What's next ?
❮
❯