You are on page 1of 4

Steps to find out Index Storage Quality for SAP tables:

Step 1. - Run T-code /nDB02OLD

Step 2. - Click on Detailed Analysis tab and type in the table name

Step 3 . - Click on the table name and then click on tables <-> Indexes tab to show all index.

Step 4. - Select one index and click on Detailed Analysis tab

Step 5 . - Select sub-menu option Storage Quality on Analyze Index menu tab

Step 6 . - Storage Quality is shown as a % value

If storage quality is substantially low (<50%) and the table has a lot of records, it indicates a fragmented Index. Consider rebuilding index online through SQL command .

Example : The following Indexes need to be rebuilt for report V_V2 performance problem .
sqlplus /nolog connect / as sysdba; #---- Table VBUK ------# alter index "SAPR3"."VBUK~0" rebuild online parallel 4 ; alter index "SAPR3"."VBUK~HP2" rebuild online parallel 4; alter index "SAPR3"."VBUK~HP1" rebuild online parallel 4; alter index "SAPR3"."VBUK~SPE" rebuild online parallel 4;

You might also like