The Database Objects user menu of the DBA Cockpit contains numerous options for analyzing indexes.
Open the DBA Cockpit (transaction code DBACOCKPIT) and choose .
Enter the names of the schema, the tables and the index.
When you specify the names, you can enter * as a wildcard for any character string (T0* for all table names that start with T0, for example).
If you begin the name of a database object with an ", the subsequent letters are not changed into all caps, but instead are used for the query as you have entered them.
Decide whether you want to filter the output:
Only Display Bad Indexes
Only Display Inaccessible Indexes
Only Display Unused Indexes
For information about the different filter options, see the online help for the SAP system.
To display the list of indexes you want, select Adjust to Output Criteria.
For SAP NetWeaver 7.1, you can access this display through the Indexes user menu.
You can choose between the following analysis options:
You can display the Details for more information about tables and indexes.
If you select a table, information is displayed to you (this display of information is described in Tables/Views/Synonyms).
When you select an index, the CREATE INDEX statement that was used to generate the index is displayed.
Allow/Prevent Index Access:
You can specify whether or not an index is used to access the data.
Reset Usage Counter:
The database system records index usage in a counter. You can reset this usage counter.
You can restore defective indexes. Restoring an index may take a long time, depending on the size of the tables.
You cannot access the tables related to an index while the index is being restored. It is therefore advisable to restore indexes at times when there is a reduced load on the system. You should restore indexes for larger tables in the background.