Você está na página 1de 4

Analyzing Missing Indexes

Overview

Chapter 81: Analyzing Missing Indexes


Contents
Overview ................................................................
................................................................................................
................................................................
................................................................
................................................
................81–1
81–1
Checking for Missing Indexes ................................................................
................................................................................................
................................................................
..................................................
..................81–1
81–1

Overview
You can verify whether or not objects such as tables or indexes defined in the ABAP/4 Dictionaryare also
defined in the database system. Indexes will only be missing if you ignore an error message (such as Table
created or Index not created) when creating a table or if an index has been deleted. Indexes are sometimes
accidentally deleted during an incorrect reorganization.
When indexes are missing, access times may increase. Also, duplicate records could be created making
access unsafe.

Checking for Missing Indexes


1. To begin checking for missing
indexes, go to the SAP R/3 CCMS → →
Performance Monitoring window.
Then follow the path Tools →
1
Administration → Computer Center
→ Management System → Control →
Performance Menu.
Alternative:

2. From the Performance Monitoring


window, follow the path Database →
2
Tables/Indexes.

© 1996 SAP Technology, Inc. 81–1


Analyzing Missing Indexes
Checking for Missing Indexes

3. Click the Missing Indexes button.

4. In this example, the directories


listed under Indexes missing in the
database indicate that there are no
missing indexes. If you find missing
indexes, be sure to re-create them in
order to achieve optimal
performance.

If you discover missing indexes, you


should find out whether they are
primary or secondary indexes.
To do so, use the consistency check Missing Indexes.
• Primary indexes (ending in 0) ensure that line keys (row keys) are unique. Missing primary indexes
are therefore critical. If a primary index is missing, you should consult SAP for help with its
restoration. There is no simple procedure for restoring the index if a large number of duplicate keys
were created in a table.
• Secondary indexes (not ending in 0) are used for special scans and are only relevant for their
performance. You may restore a secondary index for SAP tables using the Database Utilityof the
ABAP/4 Dictionary(transaction /n SE14). You can likewise access this utility from the individual index
analysis functions.

81–2 © 1996 SAP Technology, Inc.


Analyzing Missing Indexes
Checking for Missing Indexes

For further details refer to…


R/3 System Administration Made Easy

Analyzing the Database’s Tables and Indexes (Ch. 80)

R/3 Basis Knowledge Products

System Monitoring CD Reference → Monitoring Tools → Database Monitors → Introduction


to the R/3 Database Monitor for Oracle → Detailed Analysis (Oracle)

R/3 System Online Help

Basis Components → System Administration → CCMS → CCMS Monitors → Database Monitor →


SAP/Oracle Database Monitor → Detailed Analysis (Oracle) → Table without Indexes (Oracle)

Basis Courses

Workload Analysis (BC315)

© 1996 SAP Technology, Inc. 81–3

Você também pode gostar