
22 OnDemand SQL Performance Analysis Simplified on DB2 for i5/OS in V5R4
Table 2-2 SEQ Integration Timeline
2.2.4 Statistics Manager
In releases before V5R2, the retrieval of statistics was a function of the CQE Optimizer. When
the optimizer needed to know information about a table, it looked at the table description to
retrieve the row count and table size. If an index was available, the optimizer might then
extract further information about the data in the table. Figure 2-7 illustrates how CQE relies on
indexes for statistics.
V5R2 V5R2* V5R3 V5R4
Single Table
XXXX
Grouping
XXXX
Distinct
XXXX
Ordering
XXXX
Joins
XXX
OR & IN Predicates
XXX
SMP
XX
STAR_JOIN INI ...