Tuesday, December 21, 2010


  1. Performance tuning methods
    1. Always check the driver internal tables is not empty, while using FOR ALL ENTRIES.
    2. Avoid for all entries in JOINS .
    3. Try to avoid joins and use FOR ALL ENTRIES.
    4. Try to restrict the joins to 1 level only ie only for 2 tables .
    5. Avoid using Select *.
    6. Avoid having multiple Selects from the same table in the same object.
    7. Try to minimize the number of variables to save memory.
    8. The sequence of fields in 'where clause' must be as per primary/secondary index ( if any).
    9. Avoid creation of index as far as possible.
    10. Avoid operators like <>, > , < & like % in where clause conditions.
    11. Avoid select/select single statements in loops.
    12. Try to use 'binary search' in READ internal table. Ensure table is sorted before using BINARY SEARCH.
    13. Avoid using aggregate functions (SUM, MAX etc) in selects ( GROUP BY , HAVING,).
    14. Avoid using ORDER BY in selects.
    15. Avoid Nested Selects .
    16. Avoid Nested Loops of Internal Tables.
    17. Try to use FIELD SYMBOLS.
    18. Try to avoid into Corresponding Fields of .
    19. Avoid using Select Distinct, Use DELETE ADJACENT.

0 comments:

Post a Comment

Your useful comments, suggestions are appreciated.Your comments are moderated.

Followers

Contact Form

Name

Email *

Message *

Web Dynpro ABAP Book

An SAP Consultant

Follow US


Want to Contribute ?

If you are interested in writing about the new stuff you learn everyday while working, please write to the.sap.consultants@gmail.com.

Click on Contribution for more details.