You can easily determine which indexes are being used for query optimization.
Before V5R3, it was difficult to determine unnecessary indexes. Using the Last Used Date was not dependable, as it was only updated when the logical file was opened using a native database application (for example, in an RPG application). Furthermore, it was difficult to find all the indexes over a physical file. Indexes are created as part of a keyed physical file, a keyed logical file, a join logical file, an SQL index, a primary key or unique constraint, or a referential constraint. However, you can now easily find all indexes and retrieve statistics on index usage as a result of new V5R3 iSeries™ Navigator and i5/OS™ functionality. To assist you in tuning your performance, this function now produces statistics on index usage as well as index usage in a query.
To access this through the iSeries Navigator, navigate to: Show Indexes
. Right-click your table and selectIn addition to all existing attributes of an index, four new fields have been added to the iSeries Navigator. Those four new fields are:
The fields start and stop counting based on your situation, or the actions you are currently performing on your system. The following list describes what might affect one or both of your counters: