The most important
aspect of an optimizer
is the quality of
the plans it generates.
The quality of a plan
can be measured
in terms
of the difference
between the actual cost
of executing the plan
produced by the optimizer
and the actual cost
of executing the best possible plan
that could be run on
the DBMS's Query Execution Engine.
Table 7.7 shows
the estimated cost
in minutes of elapsed time
for the plans
produced
by the Model D optimizer
for each of
the 17 TPC-D queries.
Table 7.7: Cost of Plans Produced by Optimizing TPC-D Queries
Because we were not able to
run an actual DBMS to
calibrate the cost model,
the estimated costs shown in the
tables below and
the cost savings
(or lack of cost savings)
resulting from use of particular
transformation or implementation rules
must be considered suspect.