Answer Posted / amith
Performance tuning is a technique used to fine tune your
ABAP programs when they have complex select statements and
huge set of data to be accessed from database.
Performacne of a scelect statement or a program can be
tested using tools like SE 30- Runtime analysis and SQL
Trace ST05.
Other than this there are set of thumb rules that can be
followed:
1) Keep the data selection small.
 Avoid unnecessary data across the network
 Always use the where clause
 Avoid selecting useless data we filter later.
 Use the index of the relevant database tables to
make the where clause more efficient
 Avoid using complex where clauses
 If possible avoid using the NOT in conjunction with
the where clause.
2) Transport as little data as possible
• transport only fields that are really used
• use the aggregate functions in the select clause
for calculations
• Consider using the distinct statement if there is
possibility of duplicate entries
3) Use fewer data base access
• Transfer all of the data at once frm data base to
internal tables.
• When possible avoid accessing the same data again
and again
• Avoid using nested loops instead of that use an
internal table and use the select for all entires statement.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Are you familiar with all steps for setting up a workflow?
What has to be done to the packed fields before submitting to a BDC session.
What is an internal table?
please give the remaining answers.
What is open sql vs native sql ?
How many types of views are there? : abap data dictionary
Can multiple abap systems connect to abap database?
how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.
Explain badi in abap.
What are the different message types available in the abap/4 ?
What are the steps in a bdc session? : abap bdc
When was the sap abap being created?
Program lines for the radio button selection and unabling some input variables in section screen
What do you mean by cluster tables in sap abap? Also explain what do you mean by table cluster? : abap data dictionary
Explain difference between primary key and unique key?