Performance and tuning techniques

Hi Experts,
  Good moring, please help me to send what are performance and tuning techniques in abap programming.
how to improve the performance of abap program please give reply asap.
Regards
Venkat

Did you notice that your previous 6-odd questions were deleted by the moderators for breaking the rules of this forum? If you do not read the rules and abide by it, you will surely lose your account here in SCN.
pk

Similar Messages

  • FAQ's, intros and memorable discussions in the Performance and Tuning Forum

    Welcome to the SDN ABAP Performance and Tuning Forum!
    In addition to release dependent information avalaible by:
    - pressing the F1 key on an ABAP statement,
    - or searching for them in transaction ABAPDOCU,
    - using the [SDN ABAP Development Forum Search|https://www.sdn.sap.com/irj/sdn/directforumsearch?threadid=&q=&objid=c42&daterange=all&numresults=15&rankby=10001],
    - the information accessible via the [SDN ABAP Main Wiki|https://wiki.sdn.sap.com/wiki/display/ABAP],
    - the [SAP Service Marketplace|http://service.sap.com] and see [SAP Note 192194|https://service.sap.com/sap/support/notes/192194] for search tips,
    - the 3 part [How to write guru ABAP code series|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2dac69e-0e01-0010-e2b6-81c1e8e5ce50] ... (use the search to easily find the other 2 documents...)
    ... this "sticky post" lists some threads from the ABAP forums as:
    - An introduction for new members / visitors on topics discussed in threads,
    - An introduction to how the forums are used and the quality expected,
    - A collection of some threads which provided usefull answers to questions which are frequently asked, and,
    - A collection of some memorable threads if you feel like reading some ABAP related material.
    The listed threads will be enhanced from time to time. Please feel welcome to post to [this thread|Suggestions thread for ABAP FAQ sticky; to suggest any additional inclusions.
    Note: When asking a question in the forum, please also provide sufficient information such that the question can be answered usefully, do not repeat interview-type questions, and once closed please indicate which solution was usefull - to help others who search for it.

    ABAP Performance and Tuning
    Read Performance   => Gurus take over the discussion from Guests caught cheating the points-system.
    SELECT INTO TABLE => Initial questions often result in interesting follow-up discussions.
    Inner Joins vs For all Entries. => Including infos about system parameters for performance optimization.
    Inner Join Vs Database view Vs for all entries => Usefull literature recommended by performance guru YukonKid.
    Inner Joins vs For All Entries - performance query => Performance legends unplugged... read the blogs as well.
    The ABAP Runtime Trace (SE30) - Quick and Easy => New tricks in old tools. See other blogs by the same author as well.
    Skip scan used instead of (better?) range scan => Insider information on how index access works.
    DELETE WHERE sample case that i would like to share with you => Experts discussing the deletion of data from internal tables.
    Impact of Order of fields in Secondary  index => Also discussing order of fields in WHERE-clause
    "SELECT SINGLE" vs. "SELECT UP TO 1 ROWS" => Better for performance or semantics?
    into corresponding fields of table VERSUS into table => detailed discussion incl. runtime measurements
    Indexes making program run slower... => Everything you ever wanted to know about Oracle indexes.
    New! Mass reading standard texts (STXH, STXL) => avoiding single calls to READ_TEXT for time-critical processes
    New! Next Generation ABAP Runtime Analysis (SAT) => detailed introduction to the successor of SE30
    New! Points to note when using FOR ALL ENTRIES => detailed blog on the pitfall(s) a developer might face when using FAE
    New! Performance: What is the best way to check if a record exist on a table ? => Hermann's tips on checking existence of a record in a table
    Message was edited by: Oxana Noa Zubarev

  • How similar is the performance and tuning 1z1-064 (12c) to the 1z0-054 (11g)?

    I had taken the Oracle 11g performance and Tuning class from Oracle.
    I am just wondering how close the 1z1-064 will be to the 1z0-054.
    I am also studying for the 1z1-064 exam.
    Are there any books out yet, or just the otn material.
    Thanks Roger

    Hopefully John Watson will pipe in on this.  I know he has taken both exams.  He recently noted on the OraFAQ forum that he had taken both the 1Z0-063 and 1Z0-064 beta exams.  His comments about them there were:
    "I would say that looking at the exams as a whole, there is a huge improvement over the 10g and 11g equivalents. The new exams cover a lot more material in a lot greater detail, and are a lot harder. These 12c exams are a Good Thing for the profession. They should filter out a lot of exam-cram only DBAs"
    It's not clear to me how much of that comment was directed at 063 and how much at 064. The topic list for 063 is much larger than that for 053.  However, the topic list for 064 is actually a bit smaller than that of 054.

  • Best General practice for performance and tuning.

    Hi ,
    Can some body let me know the General Best practice for performance and tuning for Oracle Application 11i and 10g.
    that can be implemented and suggest in a new environment.
    Regards,

    Hi,
    Please see the following documents/threads.
    Note: 744143.1 - Tuning performance on eBusiness suite
    Note: 864226.1 - How Can I Diagnose Poor E-Business Suite Performance?
    Note: 362851.1 - Guidelines to setup the JVM in Apps Ebusiness Suite 11i and R12
    Note: 216205.1 - Database Initialization Parameters for Oracle Applications Release 11i
    EBS, performence issue
    Re: EBS, performence issue
    Oracle Apps Tuning
    Re: Oracle Apps Tuning
    Regards,
    Hussein

  • Trying to get hold of my own course pdf for performance and tuning 11g, would oracle have list of classes i have taken?

    Tyring to find my own course pdf for oracle performance and tuning 11g that I took thru Oracle.
    I am studying for 1z0-064 currently using 10g perf tuning book.
    Would Oracle have list of Oracle classes that i have taken.
    If they do, is there any way to get hold of the pdf from the class that I took?
    I realize that this is a stretch.
    Roger

    Roger,
    This is a question that you'd need to contact Oracle University Support about - Oracle University Contact Information. They should be able to help you.
    Regards,
    Brandye Barrington
    Oracle Certification Program

  • Can anybody recommend useful performance and tuning books.   I plan to take the 12c perf tune beta on March 21st

    Can anybody recommend any useful performance and tuning books.
    I should probably limit my search to 11g or higher.
    I am starting to prep for the 12c perf and tuning beta I have scheduled on March 21st.
    Thanks Roger

    Hi,
    I will review your review.
    I do see this Oracle 12c book at Amazon written over a year ago.
    Its not a certificaiton book.
    I also did take the course at Oracle for 11g performance and tuning.
    Amazon book:
    Oracle Database 12c Performance Tuning Recipes: A Problem solving approach.
    Thanks Roger

  • Check List for Performance and tuning

    Hello Experts,
    can anyone send me a document for BW performance and tuning
    1. step by step guide for solving the performance issues
    or
    2. check list for performance

    Our book on BW performance tuning has a detailed explanation and recommendations regarding step by step process of how to do the performance tuning as you have desired.
    Pl. refer to the following link to know about the book.
    http://www.amazon.com/SAP-Performance-Tuning-Shreekant-Shiralkar/dp/0977725146/ref=sr_1_1?ie=UTF8&s=books&qid=1196767811&sr=1-1.
    You will notice that the book has screen shots and detailed theory on aspects like indexes like B Tree Index or Bitmap Index to help you identify and improve perfromance of your BW system.
    Thanking you in advance for sharing your feedback on the book and its "reference" value for your work.
    Shreekant

  • Performance and Tuning

    I'm somewhat new to oracle. I have an oracle install that is Standard Edition 11g on windows 2003. They did not and won't purchase the performance tuning pack or support for the database. What is available to me to look at the performance statistics for the database? What tools can i use to gather baseline stats? I appreciate any help.
    Thanks.

    sshafiulla wrote:
    AWR is an Oracle built-in tool that collects performance related statistics and derives performance metrics from them to track a potential problem.
    (snip)
    Shafiulla SyedJust for clarification. The original poster stated that he is running the Standard Edition of Oracle 11g. AWR cannot (legally) be used with the Standard Edition of Oracle. Using AWR (legally) requires the Enterprise Edition of Oracle and the purchase of the additional cost Database Diagnostics Pack and possibly the Tuning Pack.
    The responses provided by Centinul and Mark are very helpful.
    One approach is to monitor the Time Model data, CPU usage, and Wait Events - there is an example at the following link that will do that for you using a web interface (be sure to take a look at the follow-up post that provides the source code):
    http://hoopercharles.wordpress.com/2010/01/13/working-with-oracle-time-model-data/
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Performance and tuning in discoverer3.1 and 3.1

    I'm looking for technics to improve the performance of queries for discoverer 3.1 user,admin edition.I'found in web something about the registry settings.But this only works for user edition.Don't work if we running reports from the viewer.Is there some techincs and tips to improve performance of queries from admin edition?
    Thanks in advantage Panagiotis

    Same setting are available in pref.txt file of your oracle/discoverer directory. Make changes and apply. It should work.
    Paul

  • Studying for Oracle 11g Performance and Tuning exam - 1Z0-054

    Hello all,
    I want to attend to this exam and I'm looking for interesting and usefull studying path. Sure manuals on tahiti are needed.
    Neither sefltestsoftware not Testking has released a proficiency test for this exam. I was only able to find a test from Braindumps here (http://www.exam4test.net/1Z1-054) but not sure this is a serious material.
    Any hints about this material and / or any other suggestions?
    Thanks
    Stefano

    Hi Stefano
    Seems that our friends from Certguard aren't sure that this a legal provider, but the look and feel would say to avoid that site.
    Try the http://www.certguard.com/braindump-quiz.asp it matches very well to the site or?
    Besides that while looking on the domain i found that
    Domains being linked from exam4test.com
    * Traffic rank 252963. test-inside.com
    * Traffic rank 940584. exam4test.net
    and those sites aren't clean.
    Edited by: Hub on May 18, 2010 11:38 PM

  • [1Z0-054] Oracle 11g Performance and Tuning

    Hi all,
    does anyone has already taken this exam? I just want to know which study materials you've used and also if there's any online testing software.
    I've downloaded ucertify test for this exam but I'm not sure that is a great and affordable testing tools...
    Thanks
    Steve

    Some people have given more positive opinion on some more recent Ucertify practice tests than this on this forum.
    I would not completely write off Ucertify practice tests .... but if you buy them:
    They may not have same quality as SelfTestSoftware
    They may not represent value for money.
    They probably give full topic coverage.
    They could even have incorrect answers for all I know.
    However they may help you identify some weak areas.
    If you buy expecting a 5*Hotel you may be disappointed, if you buy expecting a room with a hammock and cockroaches you may be happy about it.
    (Please note I have not bought the tests .... it is only from feedback to this forum).

  • Unresolved Questions in Performance and Tuning

    In an attempt to close some threads neglected by the OP's this year and achieve SDN's goals with regards to points (see the Welcome thread about the UN food program and other donations made by SAP based on annual contributions) I and other moderators will be combing through selected threads from the current year and assigning points as moderator.
    It will be impossible to do a perfect and complete job of this, but we will do our best to be fair and concentrate on those who have contributed valuable inputs of information (and are just a few points shy of the 250 mark) but not been recognized appropriately.
    Also please close your own threads and do not dump them all to the top again unless there is a good reason to comment further (the comment field is not mandatory!)
    Rob

    The deed is done. Allowing this to drop.
    Rob

  • Performance and tunning

    Hi
      I m new to SAP ABAP. can somebody suggest me good learninng method for PERFORMANCE AND TUNING.
    Thanks and Regards
    Satish Sharma

    Moderator message - Welcome to SCN.
    Just search through this forum. You'll get plenty of ideas - thread locked.
    Also, Please read Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!! and Please Read before Posting in the Performance and Tuning Forum and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
    Rob

  • Idoc views updation, Workflow, Performance tuning techniques!

    Hello,
    Greetings for the Day!
    Currently my client is facing following issues and they seek an help/attention to these issues. Following is the current landscape of an client.
    Sector – Mining
    SAP NW MDM 7.1 SP 09
    SAP ECC EHP 5
    SAP PI 7.0
    List of Issues:
    Classification (CLFMAS idoc) and Quality (MATQM idoc) views tries to update before MATMAS idoc updates and creates the material in ECC table.
    At workflow level, how to assign incoming record approval request, put them in mask like functionality and approve them as bulk records.
    Performance tuning techniques.
    Issue description:
    Classification (CLFMAS idoc) and Quality (MATQM idoc) views tries to update before MATMAS idoc updates and creates the material in a table.
    Currently, client’s MATMAS idoc updates Basic data1 and Basic data2 along with other views and material gets updated in ECC table, but whenever record has classification and quality view to update via CLFMAS and MATQM idoc, these 2 idocs tries to search the material ECC table before respective MATMAS to update the table. As it does not have the basic data created for the material entire idoc fails. Kindly suggest the solution as in how we can align the process where classification and quality view will get update only after the basic data views gets updated to material master. Is there any way we can make views to be updated sequentially?
    At workflow level, how to assign incoming record approval request, put them in mask like functionality and approve them as bulk records.
    Currently, super users are configured within the system, they have 2 roles assigned to their ID’s, 1.custodian and 2.steward. In custodian role user assigns the MDM material number and check other relevant assignment to record creation request, user approves the material request and the request goes to steward role. As the 1 user has 2 roles, same user need not to checks everything again in steward role, hence user wants whatever request comes at steward user inbox, he shall be able to create one single group for those 20-30 records and on one single click entire materials shall be approved and disappear out of his workflow level. Is there any way by which it can be achieved.
    Performance tuning techniques.
    Currently, client MDM system response time is very very slow, after a single click of action it takes long time to reflect the action within MDM. Material database is almost around 2.5 lakh records, standard structure has been used, not a complex landscape structure. Both ECC and MDM server is on single hardware, only the logical separate DB. Kindly suggest performance techniques if any.
    Kindly suggest !
    Regards,
    Neil

    Hi Niel,
    Kindly try the below options
    -> Performance tuning techniques.
    SAP Recommendation is to put the application ,server and Database in different Boxes . I am not sure how you managed to install both MDM and ECC in the same box but that is a big NO NO .
    Make sure there is enough hardware support for a separate MDM box.
    -> Classification (CLFMAS idoc) and Quality (MATQM idoc) views tries to update before MATMAS idoc updates and creates the material in a table.
    MDM only sends out an XML file , so you definitely need a middle ware (PI) to do the conversion.
    You can use PI logic ( ccBPM) to sent the IDOC is the necessary sequence .
    Else you can maintain this logic in the Processing code of ECC system .
    PS : The PI option is more recommended.
    Regards,
    Vag VIgnesh Shenoy

  • Performance tuning techniques

    I am looking to compile a list of the major performance tuning techniques that can be implemented in an ABAP program. 
    Appreciate any feedback
    J

    HI,
    chk this.
    http://www.erpgenie.com/abap/performance.htm
    http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp
    http://www.sap-img.com/abap/performance-tuning-for-data-selection-statement.htm
    Performance tuning for Data Selection Statement 
    For all entries
    The for all entries creates a where clause, where all the entries in the driver table are combined with OR. If the number of 
    entries in the driver table is larger than rsdb/max_blocking_factor, several similar SQL statements are executed to limit the 
    length of the WHERE clause. 
    The plus
    Large amount of data 
    Mixing processing and reading of data 
    Fast internal reprocessing of data 
    Fast 
    The Minus
    Difficult to program/understand 
    Memory could be critical (use FREE or PACKAGE size) 
    Some steps that might make FOR ALL ENTRIES more efficient:
    Removing duplicates from the the driver table 
    Sorting the driver table 
    If possible, convert the data in the driver table to ranges so a BETWEEN statement is used instead of and OR statement:
    FOR ALL ENTRIES IN i_tab
      WHERE mykey >= i_tab-low and
            mykey <= i_tab-high.
    Nested selects
    The plus:
    Small amount of data 
    Mixing processing and reading of data 
    Easy to code - and understand 
    The minus:
    Large amount of data 
    when mixed processing isn’t needed 
    Performance killer no. 1
    Select using JOINS
    The plus
    Very large amount of data 
    Similar to Nested selects - when the accesses are planned by the programmer 
    In some cases the fastest 
    Not so memory critical 
    The minus
    Very difficult to program/understand 
    Mixing processing and reading of data not possible 
    Use the selection criteria
    SELECT * FROM SBOOK.                   
      CHECK: SBOOK-CARRID = 'LH' AND       
                      SBOOK-CONNID = '0400'.        
    ENDSELECT.                             
    SELECT * FROM SBOOK                     
      WHERE CARRID = 'LH' AND               
            CONNID = '0400'.                
    ENDSELECT.                              
    Use the aggregated functions
    C4A = '000'.              
    SELECT * FROM T100        
      WHERE SPRSL = 'D' AND   
            ARBGB = '00'.     
      CHECK: T100-MSGNR > C4A.
      C4A = T100-MSGNR.       
    ENDSELECT.                
    SELECT MAX( MSGNR ) FROM T100 INTO C4A 
    WHERE SPRSL = 'D' AND                
           ARBGB = '00'.                  
    Select with view
    SELECT * FROM DD01L                    
      WHERE DOMNAME LIKE 'CHAR%'           
            AND AS4LOCAL = 'A'.            
      SELECT SINGLE * FROM DD01T           
        WHERE   DOMNAME    = DD01L-DOMNAME 
            AND AS4LOCAL   = 'A'           
            AND AS4VERS    = DD01L-AS4VERS 
            AND DDLANGUAGE = SY-LANGU.     
    ENDSELECT.                             
    SELECT * FROM DD01V                    
    WHERE DOMNAME LIKE 'CHAR%'           
           AND DDLANGUAGE = SY-LANGU.     
    ENDSELECT.                             
    Select with index support
    SELECT * FROM T100            
    WHERE     ARBGB = '00'      
           AND MSGNR = '999'.    
    ENDSELECT.                    
    SELECT * FROM T002.             
      SELECT * FROM T100            
        WHERE     SPRSL = T002-SPRAS
              AND ARBGB = '00'      
              AND MSGNR = '999'.    
      ENDSELECT.                    
    ENDSELECT.                      
    Select … Into table
    REFRESH X006.                 
    SELECT * FROM T006 INTO X006. 
      APPEND X006.                
    ENDSELECT
    SELECT * FROM T006 INTO TABLE X006.
    Select with selection list
    SELECT * FROM DD01L              
      WHERE DOMNAME LIKE 'CHAR%'     
            AND AS4LOCAL = 'A'.      
    ENDSELECT
    SELECT DOMNAME FROM DD01L    
    INTO DD01L-DOMNAME         
    WHERE DOMNAME LIKE 'CHAR%' 
           AND AS4LOCAL = 'A'.  
    ENDSELECT
    Key access to multiple lines
    LOOP AT TAB.          
    CHECK TAB-K = KVAL. 
    ENDLOOP.              
    LOOP AT TAB WHERE K = KVAL.     
    ENDLOOP.                        
    Copying internal tables
    REFRESH TAB_DEST.              
    LOOP AT TAB_SRC INTO TAB_DEST. 
      APPEND TAB_DEST.             
    ENDLOOP.                       
    TAB_DEST[] = TAB_SRC[].
    Modifying a set of lines
    LOOP AT TAB.             
      IF TAB-FLAG IS INITIAL.
        TAB-FLAG = 'X'.      
      ENDIF.                 
      MODIFY TAB.            
    ENDLOOP.                 
    TAB-FLAG = 'X'.                  
    MODIFY TAB TRANSPORTING FLAG     
               WHERE FLAG IS INITIAL.
    Deleting a sequence of lines
    DO 101 TIMES.               
      DELETE TAB_DEST INDEX 450.
    ENDDO.                      
    DELETE TAB_DEST FROM 450 TO 550.
    Linear search vs. binary
    READ TABLE TAB WITH KEY K = 'X'.
    READ TABLE TAB WITH KEY K = 'X' BINARY SEARCH.
    Comparison of internal tables
    DESCRIBE TABLE: TAB1 LINES L1,      
                    TAB2 LINES L2.      
    IF L1 <> L2.                        
      TAB_DIFFERENT = 'X'.              
    ELSE.                               
      TAB_DIFFERENT = SPACE.            
      LOOP AT TAB1.                     
        READ TABLE TAB2 INDEX SY-TABIX. 
        IF TAB1 <> TAB2.                
          TAB_DIFFERENT = 'X'. EXIT.    
        ENDIF.                          
      ENDLOOP.                          
    ENDIF.                              
    IF TAB_DIFFERENT = SPACE.           
    ENDIF.                              
    IF TAB1[] = TAB2[].  
    ENDIF.               
    Modify selected components
    LOOP AT TAB.           
    TAB-DATE = SY-DATUM. 
    MODIFY TAB.          
    ENDLOOP.               
    WA-DATE = SY-DATUM.                    
    LOOP AT TAB.                           
    MODIFY TAB FROM WA TRANSPORTING DATE.
    ENDLOOP.                               
    Appending two internal tables
    LOOP AT TAB_SRC.              
      APPEND TAB_SRC TO TAB_DEST. 
    ENDLOOP
    APPEND LINES OF TAB_SRC TO TAB_DEST.
    Deleting a set of lines
    LOOP AT TAB_DEST WHERE K = KVAL. 
      DELETE TAB_DEST.               
    ENDLOOP
    DELETE TAB_DEST WHERE K = KVAL.
    Tools available in SAP to pin-point a performance problem
    The runtime analysis (SE30)
    SQL Trace (ST05)
    Tips and Tricks tool
    The performance database
    Optimizing the load of the database
    Using table buffering
    Using buffered tables improves the performance considerably. Note that in some cases a stament can not be used with a buffered table, so when using these staments the buffer will be bypassed. These staments are:
    Select DISTINCT 
    ORDER BY / GROUP BY / HAVING clause 
    Any WHERE clasuse that contains a subquery or IS NULL expression 
    JOIN s 
    A SELECT... FOR UPDATE 
    If you wnat to explicitly bypass the bufer, use the BYPASS BUFFER addition to the SELECT clause.
    Use the ABAP SORT Clause Instead of ORDER BY
    The ORDER BY clause is executed on the database server while the ABAP SORT statement is executed on the application server. The datbase server will usually be the bottleneck, so sometimes it is better to move thje sort from the datsbase server to the application server.
    If you are not sorting by the primary key ( E.g. using the ORDER BY PRIMARY key statement) but are sorting by another key, it could be better to use the ABAP SORT stament to sort the data in an internal table. Note however that for very large result sets it might not be a feasible solution and you would want to let the datbase server sort it.
    Avoid ther SELECT DISTINCT Statement
    As with the ORDER BY clause it could be better to avoid using SELECT DISTINCT, if some of the fields are not part of an index. Instead use ABAP SORT + DELETE ADJACENT DUPLICATES on an internal table, to delete duplciate rows.
    Regds
    Anver
    if hlped pls mark points

Maybe you are looking for

  • How can I get a start-time modified song to play with the modification on my ipad2? The sync shows the modification.

    I shortened a song in my PC iTunes music library by using "get info" options and start time. The change shows up in my PC iTunes library for the song and after syncing, in my ipad2 music library when hooked up via USB. The song plays at original leng

  • Failed to parse SQL Query - External Tables [Apex 4.0.2]

    Greetings experts - Has anyone encountered errors when creating a report in Apex that sources from an external table within the database? I'm using the 4.0.2 version that is packaged with the 11g XE edition on 64bit CentOS. For example, I might run:

  • Recover contacts from iPhone in recovery mode

    I recently tried to update my phone from ios 5.1.1 to ios 7 on the phone itself. Tihe update seemed to be working but then it went into recovery mode. Whenever I connect it to iTunes it only gives me the option to restore. I haven't synced my contact

  • Raw stills in...converted?

    Just wondering. When I import my RAW stills, do they remain RAW or does FCPX convert them? What about if imported as optimised...or not. Does that make a difference? Trying to maximise the quality. geoff

  • Can't open Finder windows or Preferences

    I can't open Finder windows or Finder Preferences. When I click on the Finder icon in the dock, use File>New Finder Window, the Go menu, or Finder>Preferences, nothing happens. I even tried opening a folder from Spotlight and "Open in Finder" from a