+ All Categories
Home > Documents > SAP Performance Tuning.ppt

SAP Performance Tuning.ppt

Date post: 01-Jun-2018
Category:
Upload: satish-kumar
View: 282 times
Download: 2 times
Share this document with a friend

of 38

Transcript
  • 8/9/2019 SAP Performance Tuning.ppt

    1/38

    SAP Performance & Tuning

    Bonus material for 201 ABAP Interview Questions

    http://www.201interviewquestions.com/books/abap.htm

    Material code : BM02

    Author : P.Renjith umar

    !enie Press

    http://www.201interviewquestions.com/books/abap.htmhttp://www.201interviewquestions.com/books/abap.htm
  • 8/9/2019 SAP Performance Tuning.ppt

    2/38

    The Architecture level to improve performance

    "he R#$ %&stem has a three'la&er client#server architecture(

    )ith a Presentation la&er( an A**lication la&erand a +ata,ase la&er.

    "he *resentation la&er and the a**lication la&er are scala,le.

    "his means that if there is a hardware ,ottlenec-( &ou can etend the s&stem ,& addin/

    more front ends and a**lication servers.

    "he data,ase la&er( as the central data re*ositor&( is not scala,le.

    Architecture

  • 8/9/2019 SAP Performance Tuning.ppt

    3/38

    ne /oal is to reduce the run time of *ro/rams on the a**lication server( there,& reducin/ the

    P load.

    Another /oal is to reduce the data,ase load. Reducin/ the data,ase load is *articularl& im*ortant

    since the data,ase software is not scala,le.

    If the re3uired data is in the R#$ ,ufferson the a**lication server( accessin/ them re3uires

    a**roimatel& 0.1 millisecondsfor each data record.

    If the data recordsare read from the data,ase ,uffer( around 1 millisecondis re3uired.

    )hen the data is read from the dis-( this re3uires a**roimatel& 10 millisecondsfor each data

    record.

    ABAP performance analysis areas of focus.

  • 8/9/2019 SAP Performance Tuning.ppt

    4/38

    An R#$ wor- *rocess allocates around 5 MBof memor&.

    "he R#$ ta,le ,uffers allocate a**roimatel&120 MB450 MB for sin/le record ,uffers( 60

    MB for /eneric ta,le ,uffers7.

    "he data ,uffers of the data,ase use around 500 MBof memor&. "he data,ase on the dis-s

    can reach a si8e of several tera,&tes.

    "he data transfer ,etween front end and a**lication server occurs in ,loc-s of2 KB

    "he transfer ,etween a**lication server and data,ase server occurs in ,loc-s of u* to!2

    KB.

    Memory Allocation in SAP

  • 8/9/2019 SAP Performance Tuning.ppt

    5/38

    "or# process

    )P )P )P )P

    Roll area

    )or- Process

    To $B server

    +is*atcher

    +is*atcher Queue

    %rom presentation server

    A**lication server

  • 8/9/2019 SAP Performance Tuning.ppt

    6/38

    esponse time'

    "ime from the recei*t of a user re3uest to the sendin/ of a res*onse 4 measured on the a**lication

    server9 does not include networ- time ,etween the *resentation server and the a**lication server7.

    $ispatcher (ait time'"ime s*ent ,& the user re3uest in the dis*atcher 3ueue.

    oll)in'"ime re3uired to roll the user contet in to the R#$ wor- *rocess.

    *oa+ time'"ime re3uired for loadin/ and /eneratin/ R#$ Re*ositor& or ABAP +ictionar& o,jects.

    Processing time' res*onse time ' dis*atcher wait time ' roll'in ' roll'out ' load time ' data,ase

    time en3ueue time ' roll wait time

    ,n-ueue time'

    "ime from sendin/ an en3ueue re3uest to the R#$ en3ueue server to the recei*t of the results

    .eneral $efinitions

  • 8/9/2019 SAP Performance Tuning.ppt

    7/38

    $ata/ase time'"ime from sendin/ an %Q; statement to the recei*t of the results 4measured on the

    a**lication server9 includes networ- time ,etween the a**lication server and the data,ase server7.

    oll (ait time'"ime in which the user contet is rolled out of the wor- *rocess *endin/ res*onse

    to an R

  • 8/9/2019 SAP Performance Tuning.ppt

    8/38

    "or# *oa+ Monitor

    %"0$ '= Performance +ata ,ase 4)or- ;oad Monitor 7

    %elect %erver ( "ime .

    If +B res*onse = >00 ms then there is fundamental *ro,lem with R$ # +B.

    nitial hec#3s to /e +one to measure Performance

  • 8/9/2019 SAP Performance Tuning.ppt

    9/38

    ST 0!

  • 8/9/2019 SAP Performance Tuning.ppt

    10/38

    +B 01

  • 8/9/2019 SAP Performance Tuning.ppt

    11/38

    %M ?0

  • 8/9/2019 SAP Performance Tuning.ppt

    12/38

    SM504 %na* %hot anal&sis 7

    "o identif& *erformance critical o,jects .

    "o identif& lon/ runnin/ o,jects

    @ow to identif& lon/ runnin/ *rocess

    Refresh the screen continuousl& ( If a wor- *rocess is there

    for a lon/ time then it is lon/ runnin/ *rocess

    Im*ortant fields to -now a,out the action to ,e done : Action 4 Ta/le

    Snap Shot Analysis

  • 8/9/2019 SAP Performance Tuning.ppt

    13/38

    hec- R$ ,ased )P overview from 4 SM507

  • 8/9/2019 SAP Performance Tuning.ppt

    14/38

    Select Proper internal ta/le types

    %tandard "a,les :

    sed /enerall& . an ,e sorted

    %orted "a,les

    %orted automaticall& ,ased on -e&

    @ashed "a,les

    sed when I record is to ,e retreived . !ood in *erformance . )or- ,ased on hash

    e&

    nitial eporting consi+eration

  • 8/9/2019 SAP Performance Tuning.ppt

    15/38

    Se! )6ABAP $e/ugger )6 Settings )6Memory $isplay 7n$e/ugger %in+ing Memory

  • 8/9/2019 SAP Performance Tuning.ppt

    16/38

    S,!0 8untime Analysis9

    "he runtime anal&sis is an additional develo*ment wor-,ench tool that is 3uite useful for

    anal&8in/ *erformance of an ABAP # 5 Pro/ram or transaction. )ith this tool( the s&stem can

    dis*la& information a,out:

    ecuted instruction

    Accessed eecution time.

    "a,les and "&*es of access.

    hronolo/ical eecution flow

    ST05 8S:* Trace9

    he %Q; trace is a tool( which allows dis*la&in/ and anal&8in/ the contents for the data,ase

    calls( which are made ,& the re*orts and transactions written in ABAP#5. It monitors *ro/rams

    and transactions on the data,ase level. )ith the hel* of this facilit& for ever& o*en %Q;

    instructions( &ou can dis*la&( a,out which %Q; m,edded 4+;AR( PC(

  • 8/9/2019 SAP Performance Tuning.ppt

    17/38

    ST 05 )6S:* Trace )6 Activate Trace

    .o /ac# to S, !

    Then un The program from S,! #?E@C#))ES2#!"4; creates more coding but is moreeffcient.

    o( to improve Performance

  • 8/9/2019 SAP Performance Tuning.ppt

    38/38

    S>1 App. Servers #verview

    STAT !isplay Statistical )ecords

    ST9 S+L Trace

    SE*9 )untime Analysis

    ST9* Analysis of 'or8load

    !$9% !atabase 2erformance B Tables and "nde,es.

    !$9 Analysis of Table w.r.t. "nde,ed /ields

    ST9- !atabase 2erformance Analysis B #racle ?iew

    S>00 4lobal 'or8 2rocess #verview #ver All App ServersDS>9 2rocess #verview

    Some useful Transactions relate+ to performance analysis


Recommended