next up previous
Next: Equivalence of Expressions Up: Query Processing Previous: Query Processing

Query Interpretation

  1. Why do we need to optimize?
  2. Do we really optimize?

  3. Two main approaches:
    1. Rewriting the query in a more effective manner.
    2. Estimating the cost of various execution strategies for the query.
    Usually both strategies are combined.

  4. So, first the system must translate the query into its internal form. Then optimization begins:
  5. Final choice of a strategy is based primarily on the number of disk accesses required.

next up previous
Next: Equivalence of Expressions Up: Query Processing Previous: Query Processing

Osmar Zaiane
Sun Jul 26 17:45:14 PDT 1998