Procedure documentationIndexes Locate this document in the navigation structure

 

The Problem Analysis user menu contains, among other things, many different options for analyzing indexes.

Procedure

  1. Open the Database Assistant (transaction DB50) or the liveCache Assistant (transaction LC10). Choose   Problem Analysis   Indexes  .

    or

    Open the DBA Cockpit (transaction code DBACOCKPIT) and select   Space   Indexes  .

  2. Enter the names of the schema, the tables and the index.

    When you specify the names, you can enter * as a wildcard (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.

  3. 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.

  4. To display the list of indexes you want, select Adjust to Output Criteria.

Result

You can choose between the following analysis options:

  • More Information:

    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.

  • Restore Index:

    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.

More Information

Database Management in CCMS, Index Analysis, DB Filling/Tables and Indexes