Running queries on indexes not used by any plan or package
Use the performance queries function to view information about and work with indexes that
are not used by any plan or package.
Procedure
On the DB2 Administration Menu (ADB2)
panel, specify option
3, and press Enter.
The DB2 Performance Queries
panel is
displayed.
Specify option 8, and press Enter.
The Indexes Not Used By Any Plan or Package
(ADB239) panel panel is displayed, as shown in the
following figure:
The following columns are on this panel:
Sel
Selects an index when you use the S line command.
Index Name
The name of the index.
Index Schema
The authorization ID of the owner of the index.
Table Name
The name of the table on which the index is defined.
Table Schema
The authorization ID of the owner of the table.
Optional:
Work with the indexes by using the primary commands and line commands.
Consider dropping indexes that are not used by any plan or package with static SQL if they are
not used in QMF or any other dynamic SQL statement.
The DROP line command enables you to quickly issue a DROP INDEX statement. Entering the DROP line
command is equivalent to entering an S line command and a DROP line command in succession.