
Chapter 6. Custom Database Monitor Analysis 227
6.4.12 SQE advised statistics analysis
With the introduction of SQE to OS/400 V5R2, the collection of statistics was removed from
the optimizer and is now handled by a separate component called the
Statistics Manager.
The Statistics Manager has two major functions:
Create and maintain column statistics
Answer questions that the optimizer asks when finding the best way to implement a given
query
These answers can be derived from table header information, existing indexes, or
single-column statistics. Single-column statistics provide estimates of column cardinality,
most frequent values, and value ...