
408 OnDemand SQL Performance Analysis Simplified on DB2 for i5/OS in V5R4
12.1 Indexing strategy
The database has two types of permanent objects: tables and indexes. Tables and indexes
include information about the object’s structure, size, and attributes. In addition, tables and
indexes contain statistical information about the number of distinct values in a column and the
distribution of those values in the table. The DB2 for i5/OS optimizer uses this information to
determine how to best access the requested data for a given query request.
Since the iSeries optimizer uses cost-based optimization, the more information given about
the rows and ...