Fig. 15.5(d): Combine (product, select) into joins
Fig. 15.5(e): Move projects down the tree, add project
...to drop fields not needed for result (and join/selects)
ALGORITHM 3: Dynamic Programming w/ cost models
1. Choose an ordering of join operation (e.g. left to right)
2. Given ordering, enumerate combination of access routines
...choose low-cost combination, 1 access routine per rel. op.
Used in commercial systems, Step 2 is cubic in #relations,
...Step 1. is exponential and optimizers scrimp here!
Copyright: S. Shekhar, C. S. Dept.,
University of Minnesota, Minneapolis, MN 55455. ,,.(home)
The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota.