Version Comparison: Performance Improvement using Indexes and ABAP Hints

Comparing: Revision 3 » Revision 4


 
 
Color Key: Addition Deletion Change
Revision 3   By Ranjeeta Nair at 1 year, 3 months ago Revision 4   By Ranjeeta Nair at 1 year, 2 weeks ago

Optimized performance of background jobs are a prerequisite in live production environments. No matter how optimized the ABAP code is, over a period of time due to accumulation of large amounts of data in tables, programs can go into a long run.   In such instances, index definitions needs to be checked. If the query is such that it cannot use the primary key, creation of a secondary index can be considered.   There are instances when the SAP Cost Based Optimizer (CBO) over-rides the secondary index and continues to do a sequential read on the table. At such times, coding an ABAP hint that would force the CBO to use the secondary index can be used.

View Document

Optimized performance of background jobs are a prerequisite in live production environments. No matter how optimized the ABAP code is, over a period of time due to accumulation of large amounts of data in tables, programs can go into a long run.   In such instances, index definitions needs to be checked. If the query is such that it cannot use the primary key, creation of a secondary index can be considered.   There are instances when the SAP Cost Based Optimizer (CBO) over-rides the secondary index and continues to do a sequential read on the table. At such times, coding an ABAP hint that would force the CBO to use the secondary index can be used.

View Document