
86 OnDemand SQL Performance Analysis Simplified on DB2 for i5/OS in V5R4
the query in a few minutes. The query is then run when the optimum implementation is
achieved.
One of the most important debug messages to look for is advice about the creation of
indexes, since the objective of creating indexes is to improve the performance of your
queries. The query optimizer analyzes the record selection in the query and determines,
based on the default estimate, whether the creation of an index can improve performance. If a
permanent index is beneficial, it returns the key fields necessary to create the suggested
index. You can find Index Advisor inf ...