Ksfd: async disk IO

Could anyone shed more light on the parameters a) count b) intr and c) timeout on this 10.1.0.5 wait event?
This is from information in the v$event_name table.
HKT

Thanks Alan. That was a very helpful link. More detailed information for ksdf:async disk IO was listed in note 170357.1.
P1 = count
P2 = intr / aioflags
P3 = timeout
Note: In 9.0 all parameters are shown as 0 if "intr" is false (0).
count Number of IO requests being waited for. This is the number of IO requests we are waiting to complete. (or 0 in 9.0 if intr == 0)
intr / aioflags
9.0Interruptable
9.2 AIO Flags
In 9.0 this is non-zero if the process is also postable while waiting for the IOs to complete.
In 9.2 this is a set of flags thus:
0x00 Wait for all IO types non interruptable
0x01 wait is interruptible
0x02 Ignore IOs submitted via the OSD interface
0x04 Ignore ODM IOs
0x08 Ignore OSM IOs
0x20 Wait for new i/o completions
timeout Timeout in centi-seconds
Timeout in centi-seconds. (or 0 in 9.0 if intr = 0)
Thanks again,
Harold

Similar Messages

  • Async disk IO

    I am on 11.1.0.7 on AIX.
    My Database as well as OS is set for Aysnc IO.
    My App server where my ETL tool (Informatica) is being installed is also set for Aysnc IO.
    But while doing an load (INSERT) from Informatica to the database table, I see a lot of waits for "ksfd: async disk IO".
    Background of this load is that the team first truncate the table and load the data on to this table using informatica. It's a load of just 200,000 rows but taking around 20 mins.
    Question -
    1. What does this wait "ksfd: async disk IO" really mean?
    2. Is it a sign of bad sign from performance perspective?
    3. If yes, then how to make sure that I don't get these waits?
    Thanks!

    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1257800375707

  • Async disk IO in TOP 5 timed event

    Hi all,
    I took a statspack report and i found that in the Top 5 timed event we are getting async disk io
    Tablespace IO Stats for DB: ac  Instance: ac11  Snaps: 101 -102
    ->ordered by IOs (Reads + Writes) desc
    Tablespace
                     Av      Av     Av                    Av        Buffer Av Buf
             Reads Reads/s Rd(ms) Blks/Rd       Writes Writes/s      Waits Wt(ms)
    data
           252,567      87    4.9     2.2       17,615        6        393   18.4
    dataNRO
            97,326      34    3.1     3.7          255        0          0    0.0
    dataWRO
            18,237       6    3.6     3.5          595        0          0    0.0
    dataCRO
            10,157       4    4.8     1.8           63        0         22    3.2
    UNDOTBS1
                 3       0   10.0     1.0        4,733        2          1    0.0
    dataERO
             2,906       1    4.2     4.7          237        0          0    0.0
    MFXPIMA
               895       0    6.3     1.0          300        0          0    0.0
    INDX
               852       0   15.7     1.0          250        0          0    0.0
    SYSTEM
               228       0   11.3     1.8           72        0          0    0.0
    dataHO
                 1       0   50.0     1.0            1        0          0    0.0
    dataOTH
                 1       0    0.0     1.0            1        0          0    0.0
    CWMLITE
                 1       0    0.0     1.0            1        0          0    0.0
    DRSYS
                 1       0    0.0     1.0            1        0          0    0.0
    ODM
                 1       0    0.0     1.0            1        0          0    0.0
    RACCONFIG
                 1       0  100.0     1.0            1        0          0    0.0
    TEMPSCHEMA
                 1       0   90.0     1.0            1        0          0    0.0
    TOOLS
                 1       0    0.0     1.0            1        0          0    0.0
    UNDOTBS2
                 1       0   80.0     1.0            1        0          0    0.0
    UNDOTBS3
                 1       0   10.0     1.0            1        0          0    0.0
    USERS
                 1       0    0.0     1.0            1        0          0    0.0
    XDB
                 1       0    0.0     1.0            1        0          0    0.0
    File IO Stats for DB: ac  Instance: ac11  Snaps: 101 -102
    ->ordered by Tablespace, File
    Tablespace               Filename
                     Av      Av     Av                    Av        Buffer Av Buf
             Reads Reads/s Rd(ms) Blks/Rd       Writes Writes/s      Waits Wt(ms)
    data                   /dev/vx/rdsk/racdg/orcl_raw_data01
           252,567      87    4.9     2.2       17,615        6        393   18.4
    dataCRO                /dev/vx/rdsk/racdg/orcl_raw_caddatacro
            10,157       4    4.8     1.8           63        0         22    3.2
    dataERO                /dev/vx/rdsk/racdg/orcl_raw_dataero
             2,906       1    4.2     4.7          237        0          0
    dataHO                 /dev/vx/rdsk/racdg/orcl_raw_dataho
                 1       0   50.0     1.0            1        0          0
    dataNRO                /dev/vx/rdsk/racdg/orcl_raw_datanro
            97,326      34    3.1     3.7          255        0          0
    dataOTH                /dev/vx/rdsk/racdg/orcl_raw_dataoth
                 1       0    0.0     1.0            1        0          0
    dataWRO                /dev/vx/rdsk/racdg/orcl_raw_datawro
            18,237       6    3.6     3.5          595        0          0
    CWMLITE                  /dev/vx/rdsk/racdg/orcl_raw_cwmlite
                 1       0    0.0     1.0            1        0          0
    DRSYS                    /dev/vx/rdsk/racdg/orcl_raw_drsys
                 1       0    0.0     1.0            1        0          0
    INDX                     /dev/vx/rdsk/racdg/orcl_raw_indx01
               852       0   15.7     1.0          250        0          0
    MFXPIMA                  /dev/vx/rdsk/racdg/orcl_raw_mfxpima
               895       0    6.3     1.0          300        0          0
    ODM                      /dev/vx/rdsk/racdg/orcl_raw_odm
                 1       0    0.0     1.0            1        0          0
    RACCONFIG                /dev/vx/rdsk/racdg/orcl_raw_racconfig
                 1       0  100.0     1.0            1        0          0
    SYSTEM                   /dev/vx/rdsk/racdg/orcl_raw_system01
               228       0   11.3     1.8           72        0          0
    TEMPSCHEMA               /dev/vx/rdsk/racdg/orcl_raW_tempschema
                 1       0   90.0     1.0            1        0          0
    TOOLS                    /dev/vx/rdsk/racdg/orcl_raw_tools
                 1       0    0.0     1.0            1        0          0
    UNDOTBS1                 /dev/vx/rdsk/racdg/orcl_raw_undotbs1
                 3       0   10.0     1.0        4,733        2          1    0.0
    UNDOTBS2                 /dev/vx/rdsk/racdg/orcl_raw_undotbs2
    File IO Stats for DB: ac  Instance: ac11  Snaps: 101 -102
    ->ordered by Tablespace, File
    Tablespace               Filename
                     Av      Av     Av                    Av        Buffer Av Buf
             Reads Reads/s Rd(ms) Blks/Rd       Writes Writes/s      Waits Wt(ms)
                 1       0   80.0     1.0            1        0          0
    UNDOTBS3                 /dev/vx/rdsk/racdg/orcl_raw_example
                 1       0   10.0     1.0            1        0          0
    USERS                    /dev/vx/rdsk/racdg/orcl_raw_users
                 1       0    0.0     1.0            1        0          0
    XDB                      /dev/vx/rdsk/racdg/orcl_raw_xdb
                 1       0    0.0     1.0            1        0          0
              -------------------------------------------------------------Can anybody suggest me what we are facing this proble and what is the soln for the same although we are using SAN and our DB is ORacle 9.2.0.6 on sun box

    We are having a 2 cpu on the system
    STATSPACK report for
    DB Name         DB Id    Instance     Inst Num Release     Cluster Host
    ac          1372079993 ac11              1 9.2.0.6.0   YES     ac1
                  Snap Id     Snap Time      Sessions Curs/Sess Comment
    Begin Snap:       101 01-Apr-09 13:10:01    1,112     130.8
      End Snap:       102 01-Apr-09 13:58:14    1,112     132.3
       Elapsed:               48.22 (mins)
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
                   Buffer Cache:     4,288M      Std Block Size:          8K
               Shared Pool Size:       608M          Log Buffer:        977K
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                      Redo size:             28,267.55              2,373.20
                  Logical reads:              5,172.08                434.22
                  Block changes:                195.00                 16.37
                 Physical reads:                351.31                 29.49
                Physical writes:                  8.34                  0.70
                     User calls:                109.01                  9.15
                         Parses:                 13.71                  1.15
                    Hard parses:                  0.29                  0.02
                          Sorts:                  4.53                  0.38
                         Logons:                  0.06                  0.01
                       Executes:                142.12                 11.93
                   Transactions:                 11.91
      % Blocks changed per Read:    3.77    Recursive Call %:     72.11
    Rollback per transaction %:    0.64       Rows per Sort:    104.78
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:  100.00       Redo NoWait %:    100.00
                Buffer  Hit   %:   93.21    In-memory Sort %:    100.00
                Library Hit   %:   99.62        Soft Parse %:     97.87
             Execute to Parse %:   90.35         Latch Hit %:     99.94
    Parse CPU to Parse Elapsd %:   52.84     % Non-Parse CPU:     99.69
    Shared Pool Statistics        Begin   End
                 Memory Usage %:   90.10   90.77
        % SQL with executions>1:   71.19   72.64
      % Memory for SQL w/exec>1:   72.21   73.13
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~                                                     % Total
    Event                                               Waits    Time (s) Ela Time
    CPU time                                                        4,356    55.57
    async disk IO                                     233,930         986    12.58
    db file sequential read                           185,633         984    12.55
    global cache cr request                           487,188         524     6.68
    db file scattered read                            180,026         428     5.46
              -------------------------------------------------------------

  • How unhealthy is this RAC?

    Here's is the contents of v$system_event..
    Is this
    EVENT     TOTAL_WAITS     TIME_WAITED     AVERAGE_WAIT
    enq: TX - index contention     40564851     214701526      5.29
    enq: TX - row lock contention     188846     12454614     65.95
    enq: SQ - contention     141971     70568     0.5
    cause for concern?
    EVENT     TOTAL_WAITS     TIME_WAITED     AVERAGE_WAIT
    SQL*Net message to client     6015051449     607254     0
    SQL*Net message from client     6015048542     178177969892     29.62
    gcs remote message     2948555287     2633481757     0.89
    CGS wait for IPC msg     1517805027     634397     0
    db file sequential read     1500615188     816364485     0.54
    ges remote message     1247679701     1407300224     1.13
    gc cr multi block request     778432813     9913464     0.01
    gc current block 2-way     747852637     38030616     0.05
    db file scattered read     709428365     460939295     0.65
    rdbms ipc message     708473316     37650068633     53.14
    gc buffer busy acquire     671285134     1033621285     1.54
    PX Deq: reap credit     667784615     484449     0
    gcs log flush sync     592376026     171712257     0.29
    gc cr block 2-way     530861847     19607062     0.04
    library cache pin     437937120     15126237     0.03
    log file sync     379523272     797193932     2.1
    DIAG idle wait     359607166     2822108755     7.85
    log file parallel write     351225436     259263769     0.74
    LNS ASYNC end of log     350170653     1398410516     3.99
    LNS wait on SENDREQ     321652621     3209301     0.01
    PX qref latch     297396661     94308     0
    read by other session     289140108     148440270     0.51
    buffer deadlock     163505781     983055     0.01
    gc current block busy     119223825     467716658     3.92
    PX Deq: Table Q Normal     117332841     23574867     0.2
    ksxr poll remote instances     110480324     90333     0
    buffer busy waits     106938153     19933900     0.19
    direct path read     93429599     108427028     1.16
    SQL*Net more data from client     86471785     23026529     0.27
    gc current grant busy     84978157     28215346     0.33
    control file sequential read     82646297     23694583     0.29
    PX Deq Credit: send blkd     78641669     9569299     0.12
    latch: cache buffers chains     74218671     690277     0.01
    gc current grant 2-way     72557796     1920419     0.03
    library cache: mutex X     71106697     75993     0
    DFS lock handle     70722498     2716407     0.04
    gc cr grant 2-way     64558237     1633004     0.03
    PX Deq: Execution Msg     61706261     314222076     5.09
    gc cr block busy     61469863     119850802     1.95
    library cache lock     52428649     3773354     0.07
    PX Deq: Slave Session Stats     48040224     1886805     0.04
    db file parallel read     46415188     118467902     2.55
    IPC send completion sync     46250594     965101     0.02
    enq: TX - index contention     40564851     214701526     5.29
    PX Deq: Execute Reply     39689685     17243721     0.43
    gc buffer busy release     36976909     242714774     6.56
    SQL*Net more data to client     36627952     44167     0
    PX Deq: Msg Fragment     30501244     343397     0.01
    rdbms ipc reply     29725302     1352370     0.05
    RMAN backup & recovery I/O     28824547     37722662     1.31
    reliable message     27892263     3082134     0.11
    PX Idle Wait     27356097     4651277341     170.03
    ASM file metadata operation     25098749     8850323     0.35
    gc object scan     22705857     7485     0
    db file parallel write     19896252     52152606     2.62
    latch: ges resource hash list     19336183     427451     0.02
    enq: PS - contention     19143961     707455     0.04
    PX Deq: Parse Reply     19093356     895799     0.05
    gc cr disk read     17816846     448909     0.03
    ASM background timer     16101806     1383957874     85.95
    PX Deq: Slave Join Frag     16044789     233149     0.01
    wait for unread message on broadcast channel     15056320     1413552546     93.88
    cursor: mutex X     13435193     24140     0
    KJC: Wait for msg sends to complete     13268497     11397     0
    PX Deq: Signal ACK RSG     13214824     101941     0.01
    KSV master wait     13206286     4235645     0.32
    direct path read temp     12617694     5487608     0.43
    PX Deq Credit: need buffer     11675868     879967     0.08
    row cache lock     11536185     398216     0.03
    PX Deq Credit: Session Stats     9480862     78910     0.01
    SQL*Net message to dblink     9312894     1538     0
    SQL*Net message from dblink     9312894     6279631     0.67
    control file parallel write     7760982     11854435     1.53
    pmon timer     7558889     1412576090     186.88
    PX Deq: Join ACK     7548816     498931     0.07
    gc current multi block request     6035173     155898     0.03
    PING     5706961     1413230267     247.63
    enq: XR - database force logging     4662671     198813     0.04
    class slave wait     4561877     7097429006     1555.81
    Streams AQ: waiting for messages in the queue     4495828     1543411682     343.3
    SQL*Net more data from dblink     3696582     444575     0.12
    LGWR wait for redo copy     3655353     17840     0
    log file sequential read     3387305     6610414     1.95
    Log archive I/O     2990486     276772     0.09
    SQL*Net break/reset to client     2971976     2385935     0.8
    direct path write temp     2839390     2522114     0.89
    Space Manager: slave idle wait     2827526     1412987186     499.73
    latch: shared pool     2808517     298150     0.11
    latch: gc element     2421717     24688     0.01
    SGA: MMAN sleep for component shrink     2336447     2458094     1.05
    latch: enqueue hash chains     2279645     15435     0.01
    latch free     2089418     78732     0.04
    gc current split     2044784     1864009     0.91
    PX Deq: Signal ACK EXT     1976164     19263     0.01
    enq: FB - contention     1473469     61036     0.04
    cursor: pin S wait on X     1313129     1464789     1.12
    SQL*Net more data to dblink     1232891     986     0
    Streams AQ: RAC qmn coordinator idle wait     1211300     788     0
    enq: HW - contention     1175390     2077008     1.77
    latch: session allocation     1167768     21883     0.02
    Streams AQ: qmn coordinator idle wait     1144699     1412546634     1233.99
    Streams AQ: qmn slave idle wait     1031585     2227183681     2158.99
    lock deadlock retry     962937     4698     0
    enq: CF - contention     956154     609647     0.64
    latch: cache buffers lru chain     902764     37552     0.04
    latch: object queue header operation     817911     27717     0.03
    global enqueue expand wait     768633     654105     0.85
    Data file init write     756191     329758     0.44
    latch: gcs resource hash     647021     4147     0.01
    local write wait     603007     286191     0.47
    latch: row cache objects     599358     6453     0.01
    ges lmd/lmses to freeze in rcfg - mrcvr     481759     156345     0.32
    shared server idle wait     471190     1413238589     2999.3
    enq: RF - DG Broker Current File ID     469833     23209     0.05
    smon timer     432383     1411851085     3265.28
    SGA: allocation forcing component growth     363333     379008     1.04
    gc current retry     341104     1121252     3.29
    enq: RF - synch: DG Broker metadata     319143     588290     1.84
    enq: PG - contention     313659     14830     0.05
    enq: TT - contention     260134     11207172     43.08
    enq: KO - fast object checkpoint     236745     820808     3.47
    dispatcher timer     236637     1413242481     5972.2
    direct path write     231382     191008     0.83
    cursor: pin S     229011     394     0
    Streams AQ: waiting for time management or cleanup tasks     199981     1413148548     7066.41
    enq: TX - row lock contention     188846     12454614     65.95
    enq: TX - allocate ITL entry     153703     54252     0.35
    enq: SQ - contention     141971     70568     0.5
    ksdxexeother     141885     56     0
    latch: redo allocation     138912     1858     0.01
    recovery area: computing applied logs     126415     45925     0.36
    gc current block congested     126318     21768     0.17
    resmgr:cpu quantum     123074     151384     1.23
    jobq slave wait     120678     35574221     294.79
    Datapump dump file I/O     90431     9127     0.1
    ges inquiry response     89402     4041     0.05
    os thread startup     83809     222586     2.66
    cr request retry     80062     71896     0.9
    PX Deq: Table Q Sample     79665     133402     1.67
    gc cr block congested     79026     14792     0.19
    gc cr failure     77521     25019     0.32
    enq: WF - contention     73983     825388     11.16
    enq: TQ - TM contention     72871     3319     0.05
    lock escalate retry     65714     1574     0.02
    buffer exterminate     59775     64919     1.09
    fbar timer     47136     1413183353     29980.98
    log file switch completion     46911     452097     9.64
    recovery area: computing obsolete files     45699     8547     0.19
    enq: US - contention     40401     8805     0.22
    enq: TM - contention     39149     5435032     138.83
    library cache load lock     36311     382575     10.54
    kjbdrmcvtq lmon drm quiesce: ping completion     31668     47443     1.5
    enq: TD - KTF dump entries     31468     1424     0.05
    enq: RO - fast object reuse     28422     31772     1.12
    parallel recovery slave wait for change     27558     3163     0.11
    name-service call wait     23694     181533     7.66
    control file single write     22375     1624     0.07
    kksfbc child completion     21239     106926     5.03
    PX Deq: Table Q qref     19325     245     0.01
    enq: TX - contention     18805     113253     6.02
    latch: messages     17203     181     0.01
    enq: RS - prevent file delete     16913     1013     0.06
    enq: RS - prevent aging list update     15682     642     0.04
    PX Deq: Table Q Get Keys     14322     42935     3
    gc current grant congested     14292     2192     0.15
    cursor: mutex S     13285     8     0
    log file single write     13164     5371     0.41
    latch: undo global data     12649     178     0.01
    kksfbc research     11894     12680     1.07
    parallel recovery slave idle wait     11193     5872     0.52
    wait list latch free     11026     11794     1.07
    enq: CT - state     11001     417     0.04
    latch: checkpoint queue latch     10526     132     0.01
    enq: PE - contention     10506     1139     0.11
    ARCH wait on SENDREQ     9957     216480     21.74
    gc cr grant congested     9465     1584     0.17
    wait for scn ack     9377     3155     0.34
    enq: TA - contention     8856     324     0.04
    log buffer space     8777     89323     10.18
    enq: TK - Auto Task Serialization     8542     343     0.04
    enq: DR - contention     7842     323     0.04
    process diagnostic dump     7707     2072     0.27
    JOX Jit Process Sleep     7612     11286431     1482.72
    enq: TC - contention     7357     340817     46.33
    ges global resource directory to be frozen     7140     12299     1.72
    enq: CO - master slave det     6850     312     0.05
    enq: JS - job run lock - synchronize     6704     397     0.06
    gcs drm freeze in enter server mode     6542     40742     6.23
    enq: TS - contention     5959     89332     14.99
    ARCH wait for archivelog lock     5600     36     0.01
    PX Nsq: PQ load info query     5377     104798     19.49
    db file single write     5373     3452     0.64
    gc remaster     5315     50625     9.52
    latch: parallel query alloc buffer     4939     1906     0.39
    enq: TO - contention     4799     143     0.03
    enq: AF - task serialization     4395     161     0.04
    enq: PI - contention     4251     163     0.04
    ges2 LMON to wake up LMD - mrcvr     4210     28     0.01
    enq: DL - contention     3889     239     0.06
    kjctssqmg: quick message send wait     3408     22     0.01
    LNS wait on DETACH     3275     741     0.23
    ksfd: async disk IO     3274     1     0
    LNS wait on ATTACH     3273     51940     15.87
    ARCH wait on DETACH     3231     714     0.22
    ARCH wait on ATTACH     3226     43238     13.4
    enq: BR - file shrink     2787     116     0.04
    write complete waits     2631     1070     0.41
    enq: MD - contention     2596     67     0.03
    enq: WL - contention     2198     266518     121.25
    single-task message     2098     25896     12.34
    enq: OD - Serializing DDLs     2054     66     0.03
    resmgr:internal state change     2001     14735     7.36
    ARCH wait on c/f tx acquire 2     1751     175230     100.07
    enq: WR - contention     1636     69     0.04
    latch: cache buffer handles     1610     29     0.02
    statement suspended, wait error to be cleared     1497     22626     15.11
    Streams AQ: qmn coordinator waiting for slave to start     1214     678966     559.28
    enq: PD - contention     1182     33     0.03
    JS kgl get object wait     1096     4922     4.49
    undo segment extension     1070     10065     9.41
    PL/SQL lock timer     949     8739819     9209.5
    enq: AE - lock     937     28     0.03
    LGWR-LNS wait on channel     832     913     1.1
    ges DFS hang analysis phase 2 acks     816     495     0.61
    latch: redo writing     729     9     0.01
    gc quiesce     665     564     0.85
    enq: JS - queue lock     482     2111     4.38
    PX Deq: Test for credit     442     13     0.03
    enq: SS - contention     386     274     0.71
    recovery area: computing dropped files     328     1400     4.27
    recovery area: computing backed up files     328     496     1.51
    ksdxexeotherwait     279     10592     37.97
    log switch/archive     250     137570     550.28
    gc domain validation     223     39964     179.21
    auto-sqltune: wait graph update     195     96514     494.95
    wait for a undo record     170     1214     7.14
    parallel recovery coord send blocked     168     4     0.02
    enq: JS - wdw op     168     3741     22.27
    enq: KT - contention     165     5     0.03
    switch logfile command     156     6290     40.32
    gcs resource directory to be unfrozen     149     12839     86.17
    Data Guard Broker Wait     139     10906     78.46
    enq: SK - contention     129     4     0.03
    enq: JS - job recov lock     128     4     0.03
    gc cr block lost     125     6772     54.17
    virtual circuit wait     122     3     0.03
    ges LMON to get to FTDONE      100     187     1.87
    enq: CU - contention     80     242     3.02
    enq: JQ - contention     78     7     0.09
    cursor: pin X     73     83     1.14
    parallel recovery coord wait for reply     70     510     7.29
    PX Deq: Txn Recovery Start     67     3436     51.29
    SQL*Net break/reset to dblink     60     0     0
    gc current block lost     57     2869     50.33
    ges LMD suspend for testing event     51     709     13.89
    inactive session     46     4550     98.91
    recovery read     45     5     0.11
    JS kill job wait     41     3548     86.53
    enq: AS - service activation     40     1     0.03
    enq: TL - contention     35     2     0.05
    enq: UL - contention     34     524     15.42
    gcs enter server mode     33     1559     47.24
    wait for stopper event to be increased     30     218     7.27
    enq: TQ - DDL contention     24     300     12.52
    enq: MR - contention     21     1     0.03
    ges reconfiguration to start     20     54     2.72
    ges enter server mode     20     502     25.08
    buffer latch     18     1337     74.26
    enq: SR - contention     18     1     0.05
    Streams: RAC waiting for inter instance ack     18     3748     208.21
    enq: PR - contention     17     46     2.72
    kupp process wait     16     166     10.39
    checkpoint completed     15     3678     245.19
    PX Deque wait     14     68     4.87
    enq: BF - allocation contention     14     1     0.08
    enq: XL - fault extent map     14     51     3.66
    enq: FU - contention     14     17     1.18
    enq: TH - metric threshold evaluation     13     114     8.78
    enq: MW - contention     12     0     0.04
    enq: DD - contention     10     0     0.04
    process terminate     8     41     5.08
    ges cgs registration     8     151     18.9
    buffer resize     7     0     0
    ktm: instance recovery     7     698     99.66
    LNS wait on LGWR     6     0     0
    ASM background starting     6     381     63.43
    gc cr block 3-way     5     0     0.08
    enq: PV - syncstart     5     9     1.74
    Global transaction acquire instance locks     4     4     1.09
    enq: RS - read alert level     4     0     0.04
    LGWR wait on LNS     3     0     0
    gc recovery     3     540     179.85
    Streams AQ: enqueue blocked on low memory     3     544     181.2
    DBWR range invalidation sync     3     17     5.83
    enq: DM - contention     3     0     0.03
    enq: RF - FSFO Observer Heartbeat     3     0     0.03
    enq: JS - q mem clnup lck     3     0     0
    DG Broker configuration file I/O     2     0     0
    enq: RC - Result Cache: Contention     2     493     246.6
    enq: KM - contention     2     0     0.03
    enq: RT - contention     2     0     0.04
    instance state change     2     0     0.12
    kkdlgon     2     10     5.11
    enq: TQ - INI contention     2     292     146.07
    enq: JS - contention     2     0     0
    ARCH wait for netserver start     1     400     400.02
    log file switch (checkpoint incomplete)     1     3     3.44
    JS coord start wait     1     50     50.09
    ges lmd and pmon to attach     1     1     1.26
    wait for tmc2 to complete     1     3     3.03
    control file heartbeat     1     400     400.02
    enq: SW - contention     1     0     0.04
    enq: PW - perwarm status in dbw0     1     0     0.09
    enq: FS - contention     1     0     0.04
    enq: XR - quiesce database     1     0     0.04
    enq: RS - write alert level     1     0     0.02
    enq: CN - race with init     1     0     0.03
    enq: FE - contention     1     4     3.77
    Wait for shrink lock2     1     10     10.03
    enq: IA - contention     1     0     0.02
    enq: RF - atomicity     1     0     0.05
    enq: RF - synchronization: aifo master     1     0     0.02
    enq: RF - RF - Database Automatic Disable     1     0     0.06
    enq: WP - contention     1     0     0.02
    enq: TB - SQL Tuning Base Cache Load     1     0     0.05
    enq: JS - evt notify     1     0     0.02Edited by: steffi on Mar 20, 2011 12:21 AM
    Edited by: steffi on Mar 20, 2011 8:18 AM
    Edited by: steffi on Mar 20, 2011 8:19 AM

    Text can be formatted by tagging the beginning and end of the block of text with the code ta
    \Formatted text goes here.
    \Example:
    This is formatted.When cutting and pasting text such as execution plans, excerpts from AWR reports, etc, it will maintain spacing and formatting, and make for much easier reading.
    As to the content, well, dumping the contents of v$system_event is pretty close to useless.
    As to the first three events you listed, 'enq: TX - index contention', 'enq: TX - row lock contention', 'enq: SQ - contention', well, all of those are easily tunable.
    First, for 'enq: SQ - contention', check your sequences. Do you have any NOCACHE sequences? Or sequences with small caches?
    As for 'enq: TX - row lock contention', well that's fairly self-explanatory. You have multiple sessions trying to lock the same row in the same table at the same time.
    Last, 'enq: TX - index contention', that's non-row level contention on an index. For example, if you have a unique index, insert a row w/ column value 1, but don't commit, then try to insert that same value from another session.
    But, before you do any of that, I think you need to clearly understand where the bottlenecks are. Try taking some AWR snapshots, about 5 minutes apart, when you're having performance problems. Look at the AWR report for that 5 minute period. In particular, look at your Top 5 timed events.
    Hope that helps,
    -Mark

  • ASYNC IO when using RMAN

    Hi,
    I'm seeing async disk io event while doing rman operation (backup, validate backupset) and the rman session is waiting long on this event.
    any suggestions / inputs on this.
    Thx,
    -KarthicK

    If SEQ# in V$SESSION or V$SESSION_WAIT was changing, then it was a new occurrence of a wait each time.
    You have to look at STATE and WAIT_TIME as well. If STATE is WAITING , then SECONDS_IN_WAIT is the current wait. If STATE is anything else, then WAIT_TIME is the the previous wait.
    Hemant K Chitale

  • Need suggestion on STATSPACK report

    Problem:
         Application running Very slow that too not consistent.
         i am unable to find out where the problem persists.
         I have given necessary details and attached Statspack report with this mail.
         Need help very urgently...
    Database Info.
         Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
         PL/SQL Release 9.2.0.1.0 - Production
         CORE 9.2.0.1.0 Production
         TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
         NLSRTL Version 9.2.0.1.0 - Production
    System Information:
         Item                    Value
         OS Name                    Microsoft Windows 2000 Advanced Server
         Version                    5.0.2195 Service Pack 3 Build 2195
         OS Manufacturer               Microsoft Corporation
         System Name               NHOUSE
         System Manufacturer          HP
         System Model               ProLiant DL380 G3
         System Type               X86-based PC
         Processor               x86 Family 15 Model 2 Stepping 7 GenuineIntel ~2384 Mhz
         Processor               x86 Family 15 Model 2 Stepping 7 GenuineIntel ~2384 Mhz
         Windows Directory          C:\WINNT
         System Directory          C:\WINNT\System32
         Total Physical Memory          1,572,372 KB
         Available Physical Memory     865,600 KB
         Total Virtual Memory          5,086,520 KB
         Available Virtual Memory     3,755,652 KB
         Page File Space               3,514,148 KB
         Page File               C:\pagefile.sys
    Other Info:
         Shared Server Mode
         No. of Instance Running : 1(ST011)
         No. of Application running for this instance : 1 (Softtrack)
         Database Type : OLTP (Order Entry System with report generations)
         No of users : 2(Object Schema and AccessSchema)
    File Placement :
         All FIles placed in single disk since lack of disks.
    StatsPack report:
    STATSPACK report for
    DB Name DB Id Instance Inst Num Release Cluster Host
    ST011 1063661848 st011 1 9.2.0.1.0 NO NHOUSE
    Snap Id Snap Time Sessions Curs/Sess Comment
    Begin Snap: 41 07-Aug-03 09:37:30 15 4.3
    End Snap: 62 08-Aug-03 04:00:04 15 3.8
    Elapsed: 1,102.57 (mins)
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
    Buffer Cache: 136M Std Block Size: 8K
    Shared Pool Size: 168M Log Buffer: 512K
    Load Profile
    ~~~~~~~~~~~~ Per Second Per Transaction
    Redo size: 445.51 1,374.71
    Logical reads: 870.05 2,684.69
    Block changes: 2.11 6.51
    Physical reads: 15.05 46.44
    Physical writes: 4.02 12.42
    User calls: 16.13 49.78
    Parses: 5.49 16.93
    Hard parses: 0.89 2.76
    Sorts: 1.36 4.21
    Logons: 0.00 0.01
    Executes: 5.84 18.02
    Transactions: 0.32
    % Blocks changed per Read: 0.24 Recursive Call %: 57.93
    Rollback per transaction %: 50.19 Rows per Sort: 148.29
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Buffer Nowait %: 100.00 Redo NoWait %: 100.00
    Buffer Hit %: 99.01 In-memory Sort %: 99.59
    Library Hit %: 93.31 Soft Parse %: 83.72
    Execute to Parse %: 6.04 Latch Hit %: 99.99
    Parse CPU to Parse Elapsd %: 97.75 % Non-Parse CPU: 86.83
    Shared Pool Statistics Begin End
    Memory Usage %: 18.19 92.77
    % SQL with executions>1: 47.57 41.10
    % Memory for SQL w/exec>1: 44.60 42.30
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~ % Total
    Event Waits Time (s) Ela Time
    CPU time 1,025 46.80
    control file parallel write 21,433 558 25.48
    SQL*Net more data to client 495,625 181 8.27
    log file parallel write 12,335 102 4.64
    log file sync 10,697 89 4.06
    Wait Events for DB: ST011 Instance: st011 Snaps: 41 -62
    -> s - second
    -> cs - centisecond - 100th of a second
    -> ms - millisecond - 1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc (idle events last)
    Avg
    Total Wait wait Waits
    Event Waits Timeouts Time (s) (ms) /txn
    control file parallel write 21,433 0 558 26 1.0
    SQL*Net more data to client 495,625 0 181 0 23.1
    log file parallel write 12,335 12,030 102 8 0.6
    log file sync 10,697 1 89 8 0.5
    db file scattered read 75,969 0 81 1 3.5
    direct path read 210,093 0 66 0 9.8
    db file parallel write 2,480 1,240 51 21 0.1
    db file sequential read 19,775 0 21 1 0.9
    control file sequential read 17,629 0 6 0 0.8
    direct path write 774 0 5 7 0.0
    enqueue 9 0 2 231 0.0
    SQL*Net break/reset to clien 2,552 0 1 1 0.1
    log file sequential read 30 0 1 21 0.0
    db file single write 32 0 0 11 0.0
    switch logfile command 2 0 0 144 0.0
    control file single write 5 0 0 29 0.0
    log file single write 2 0 0 12 0.0
    LGWR wait for redo copy 78 1 0 0 0.0
    latch free 7 0 0 0 0.0
    async disk IO 13 0 0 0 0.0
    buffer busy waits 9 0 0 0 0.0
    reliable message 3 0 0 0 0.0
    undo segment extension 9 9 0 0 0.0
    SQL*Net message from client 1,067,763 0 116,054 109 49.8
    virtual circuit status 1,005,679 1,028 68,949 69 46.9
    jobq slave wait 786 753 2,403 3057 0.0
    SQL*Net more data from clien 5,972 0 4 1 0.3
    SQL*Net message to client 1,067,776 0 3 0 49.8
    Background Wait Events for DB: ST011 Instance: st011 Snaps: 41 -62
    -> ordered by wait time desc, waits desc (idle events last)
    Avg
    Total Wait wait Waits
    Event Waits Timeouts Time (s) (ms) /txn
    control file parallel write 21,376 0 556 26 1.0
    log file parallel write 12,335 12,030 102 8 0.6
    db file parallel write 2,480 1,240 51 21 0.1
    control file sequential read 13,975 0 3 0 0.7
    db file scattered read 220 0 1 3 0.0
    log file sequential read 30 0 1 21 0.0
    db file sequential read 231 0 1 2 0.0
    direct path write 8 0 0 7 0.0
    log file single write 2 0 0 12 0.0
    direct path read 8 0 0 3 0.0
    LGWR wait for redo copy 78 1 0 0 0.0
    log file sync 1 0 0 11 0.0
    rdbms ipc reply 42 0 0 0 0.0
    async disk IO 13 0 0 0 0.0
    buffer busy waits 4 0 0 0 0.0
    rdbms ipc message 89,265 77,930 400,950 4492 4.2
    smon timer 225 210 67,257 ###### 0.0
    SQL ordered by Gets for DB: ST011 Instance: st011 Snaps: 41 -62
    -> End Buffer Gets Threshold: 10000
    -> Note that resources reported for PL/SQL includes the resources used by
    all SQL statements called within the PL/SQL code. As individual SQL
    statements are also reported, it is possible and valid for the summed
    total % to exceed 100
    CPU Elapsd
    Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
    3,329,463 78 42,685.4 5.8 33.84 40.89 2765271770
    select distinct s1.prospectna, s1.praddr1, s1.praddr2, s1.praddr
    3, s1.prcity, s1.prstate from (select distinct a.oanno as uoanno
    , decode(a.oanno,NUll,b.oandt,a.oandt) as uoandt, ltrim(rtrim(up
    per(prospectna))) prospectna, decode(praddr1,null,' ',ltrim(rtri
    m(upper(praddr1)))) as praddr1, decode(praddr2,null,' ',ltrim(rt
    2,150,915 78 27,575.8 3.7 34.70 231.25 1951422680
    select s1.* from (select distinct a.oanno as uoanno, decode(a.oa
    nno,Null,b.roanno,a.roanno) as uroanno, decode(a.oanno,NUll,b.oa
    ndt,a.oandt) as uoandt, decode(a.oanno,NUll,b.pono,a.pono) as up
    ono, decode(a.oanno,Null,b.podt,a.podt) as upodt, decode(a.oanno
    ,Null,upper(b.npsloffice),upper(a.npsloffice)) as npsl, decode(a
    967,504 387 2,500.0 1.7 3.25 3.32 1647834759
    select * from (select null table_catalog, ac.owner table_schema,
    ac.table_name table_name, acc.column_name column_name, null col
    umn_guid, null column_propid, acc.position ordinal, ac.constrain
    t_name pk_name from all_constraints ac, all_cons_columns acc whe
    re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
    869,555 24 36,231.5 1.5 11.56 54.15 569094110
    select workorderno, workorddt, a.oanno as uoanno, decode(b.oanno
    ,Null,a.oandt, b.oandt) as uoandt, decode(b.oanno,Null,a.roanno,
    b.roanno) as uroanno, decode(b.oanno,Null,a.pono,b.pono) as up
    ono,decode(b.oanno,null,a.podt,b.podt) as upodt, decode(b.oanno
    ,Null,upper(a.npsloffice),upper(b.npsloffice)) as npsl,decode(b.
    821,376 24 34,224.0 1.4 8.73 11.09 1011529824
    select distinct ltrim(rtrim(upper(prospectna))) prospectna, deco
    de(praddr1,null,' ',ltrim(rtrim(upper(praddr1)))) pr1, decode(pr
    addr2,null,' ',ltrim(rtrim(upper(praddr2)))) pr2, decode(pradd
    r3,null,' ',ltrim(rtrim(upper(praddr3)))) pr3, decode(prcity,nul
    l ,' ', ltrim(rtrim(upper(prcity)))) prcity, decode(prstate,nul
    774,701 30 25,823.4 1.3 10.50 26.76 2315633148
    select a.oanno as uoanno,a.roanno as uroanno,a.oandt as uoandt,
    a.pono as upono,a.podt as upodt,upper(a.npsloffice) as npsl,dec
    ode(d.delicity,null,'NOT AVAILABLE',UPPER(d.delicity)) as dely,
    ltrim(rtrim(upper(prospectna))) prospectna, decode(praddr1,null
    ,' ',ltrim(rtrim(upper(praddr1)))) as pr1, decode(praddr2,null,'
    761,959 30 25,398.6 1.3 7.63 8.27 1655857706
    select distinct ltrim(rtrim(upper(prospectna))) prospectna,ltrim
    (rtrim(upper(praddr1))) praddr1,ltrim(rtrim(upper(praddr2))) pra
    ddr2,ltrim(rtrim(upper(praddr3))) praddr3,ltrim(rtrim(upper(prci
    ty))) prcity,ltrim(rtrim(upper(prstate))) prstate from softdb.
    oandetails a, softdb.oanudetails b, softdb.enquiryform, softdb.
    650,627 21 30,982.2 1.1 6.92 7.12 4059808258
    SQL ordered by Gets for DB: ST011 Instance: st011 Snaps: 41 -62
    -> End Buffer Gets Threshold: 10000
    -> Note that resources reported for PL/SQL includes the resources used by
    all SQL statements called within the PL/SQL code. As individual SQL
    statements are also reported, it is possible and valid for the summed
    total % to exceed 100
    CPU Elapsd
    Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
    Module: SQL*Plus
    INSERT into stats$sqltext ( hash_value
    , text_subset , piece
    , sql_text , address , comman
    d_type , last_snap_id )
    select st1.hash_value , ss.text_subset
    397,508 159 2,500.1 0.7 1.64 1.57 1524142529
    select * from (select null table_catalog, ac.owner table_schema,
    ac.table_name table_name, acc.column_name column_name, null col
    umn_guid, null column_propid, acc.position ordinal, ac.constrain
    t_name pk_name from all_constraints ac, all_cons_columns acc whe
    re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
    289,960 144,980 2.0 0.5 10.75 9.52 2091761008
    select condition from cdef$ where rowid=:1
    287,552 9 31,950.2 0.5 0.00 13.58 2301846564
    DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate;
    broken BOOLEAN := FALSE; BEGIN statspack.snap; :mydate := next_d
    ate; IF broken THEN :b := 1; ELSE :b := 0; END IF; END;
    115,275 169 682.1 0.2 0.81 0.89 1682770808
    select * from (select null table_catalog, idx.table_owner table_
    schema, idx.table_name table_name, null index_catalog, idx.owner
    index_schema, idx.index_name index_name, null primary_key, deco
    de(idx.uniqueness, 'UNIQUE', 65535, 0) unique_, decode(idx.index
    type, 'CLUSTER', 65535, 0) clustered, null type, null fillfact
    95,008 38 2,500.2 0.2 0.39 0.36 3969207777
    select * from (select null table_catalog, ac.owner table_schema,
    ac.table_name table_name, acc.column_name column_name, null col
    umn_guid, null column_propid, acc.position ordinal, ac.constrain
    t_name pk_name from all_constraints ac, all_cons_columns acc whe
    re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
    85,527 1 85,527.0 0.1 3.14 4.49 2005338978
    BEGIN :RET_VAL := DBMS_METADATA.FETCH_CLOB(:HANDLE);
    END;
    85,314 1 85,314.0 0.1 3.13 4.30 3633453749
    SELECT VALUE(KU$) XMLSCHEMA_T FROM SYS.KU$_XMLSCHEMA_VIEW KU$ WH
    ERE KU$.OWNER_NAME='SOFTDB'
    55,861 1 55,861.0 0.1 0.66 1.51 2026512687
    select s1.* from (select a.oanno as uoanno, decode(a.oanno,NUll,
    SQL ordered by Reads for DB: ST011 Instance: st011 Snaps: 41 -62
    -> End Disk Reads Threshold: 1000
    CPU Elapsd
    Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
    37,620 78 482.3 3.8 34.70 231.25 1951422680
    select s1.* from (select distinct a.oanno as uoanno, decode(a.oa
    nno,Null,b.roanno,a.roanno) as uroanno, decode(a.oanno,NUll,b.oa
    ndt,a.oandt) as uoandt, decode(a.oanno,NUll,b.pono,a.pono) as up
    ono, decode(a.oanno,Null,b.podt,a.podt) as upodt, decode(a.oanno
    ,Null,upper(b.npsloffice),upper(a.npsloffice)) as npsl, decode(a
    10,262 21 488.7 1.0 7.86 20.17 1017492279
    Module: SQL*Plus
    INSERT into stats$sql_summary ( snap_id
    , dbid , instance_number , text_subset
    , sharable_mem , sorts , modu
    le , loaded_versions , fetches
    , executions , loads , invalidations
    10,249 22 465.9 1.0 7.70 20.12 2734029811
    Module: SQL*Plus
    INSERT into stats$sql_statistics ( snap_id
    , dbid , instance_number , total_
    sql , total_sql_mem , single_use_sql
    , single_use_sql_mem ) select :
    b3 , :b2 , :b1 , count(1)
    6,164 24 256.8 0.6 11.56 54.15 569094110
    select workorderno, workorddt, a.oanno as uoanno, decode(b.oanno
    ,Null,a.oandt, b.oandt) as uoandt, decode(b.oanno,Null,a.roanno,
    b.roanno) as uroanno, decode(b.oanno,Null,a.pono,b.pono) as up
    ono,decode(b.oanno,null,a.podt,b.podt) as upodt, decode(b.oanno
    ,Null,upper(a.npsloffice),upper(b.npsloffice)) as npsl,decode(b.
    3,625 30 120.8 0.4 10.50 26.76 2315633148
    select a.oanno as uoanno,a.roanno as uroanno,a.oandt as uoandt,
    a.pono as upono,a.podt as upodt,upper(a.npsloffice) as npsl,dec
    ode(d.delicity,null,'NOT AVAILABLE',UPPER(d.delicity)) as dely,
    ltrim(rtrim(upper(prospectna))) prospectna, decode(praddr1,null
    ,' ',ltrim(rtrim(upper(praddr1)))) as pr1, decode(praddr2,null,'
    3,582 7 511.7 0.4 0.17 1.10 2255532526
    delete from softdb.oanaddr where oanno not in (select oanno from
    softdb.oanitem where regndt='07-Aug-2003' and regnno='00CHEN00
    23120' and qtndt='07-Aug-2003' and qtnno='00CHEN0023120') and r
    egndt='07-Aug-2003' and regnno='00CHEN0023120' and qtndt='07-Au
    g-2003' and qtnno='00CHEN0023120'
    3,110 8 388.8 0.3 1.39 17.41 2559037884
    select a.itemdesc, a.mcslno, a.oanno, a.oandt, a.itemsrlno from
    softdb.keytab a, softdb.oanups b where a.oanno = b.oanno(+) and
    a.oandt = b.oandt(+) and a.itemsrlno = b.itemsrlno(+) and b.oann
    o is null union select a.itemdesc, a.mcslno, a.oanno, a.oandt, a
    .itemsrlno from softdb.keytab a, softdb.oanups b where a.oanno
    2,359 7 337.0 0.2 0.14 0.44 2169388924
    delete from softdb.commdeliaddr where regndt='07-Aug-2003' and r
    egnno='00CHEN0023120' and qtndt='07-Aug-2003' and qtnno='00CHEN0
    SQL ordered by Reads for DB: ST011 Instance: st011 Snaps: 41 -62
    -> End Disk Reads Threshold: 1000
    CPU Elapsd
    Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
    023120' and commid not in (select commid from softdb.commdeliite
    ms where regndt='07-Aug-2003' and regnno='00CHEN0023120' and qtn
    dt='07-Aug-2003' and qtnno='00CHEN0023120')
    1,963 7 280.4 0.2 0.27 2.61 3352066490
    delete from softdb.oanlevy where oanno not in (select oanno fro
    m softdb.oanitem where regndt='07-Aug-2003' and regnno='00CHEN0
    023120' and qtndt='07-Aug-2003' and qtnno='00CHEN0023120') and
    regndt='07-Aug-2003' and regnno='00CHEN0023120' and qtndt='07-A
    ug-2003' and qtnno='00CHEN0023120'
    1,547 2 773.5 0.2 0.08 0.31 2526194774
    delete from softdb.oanlevy where oanno not in (select oanno fro
    m softdb.oanitem where regndt='07-Aug-2003' and regnno='00MUMB0
    023121' and qtndt='07-Aug-2003' and qtnno='00MUMB0023121') and
    regndt='07-Aug-2003' and regnno='00MUMB0023121' and qtndt='07-A
    ug-2003' and qtnno='00MUMB0023121'
    1,404 2 702.0 0.1 0.11 0.23 3517028935
    select softdb.oanaddr.*, softdb.oanaddr.ROWID from softdb.oanadd
    r where delflg='N' and commid is null
    1,298 2 649.0 0.1 0.09 0.27 2203325864
    delete from softdb.oanaddr where oanno not in (select oanno from
    softdb.oanitem where regndt='07-Aug-2003' and regnno='00MUMB00
    23121' and qtndt='07-Aug-2003' and qtnno='00MUMB0023121') and r
    egndt='07-Aug-2003' and regnno='00MUMB0023121' and qtndt='07-Au
    g-2003' and qtnno='00MUMB0023121'
    1,261 6 210.2 0.1 0.05 0.15 576637004
    delete from softdb.ordterms where commid is not null and regndt=
    '07-Aug-2003' and regnno='00CHEN0023120' and qtndt='07-Aug-2003'
    and qtnno='00CHEN0023120' and commid not in (select commid from
    softdb.commdeliitems where regndt='07-Aug-2003' and regnno='00C
    HEN0023120' and qtndt='07-Aug-2003' and qtnno='00CHEN0023120')
    1,244 6 207.3 0.1 0.06 0.15 563121091
    select softdb.ordterms.*, softdb.ordterms.ROWID from softdb.or
    dterms where delflg='N' and regndt ='07-Aug-2003' and regnno='
    SQL ordered by Executions for DB: ST011 Instance: st011 Snaps: 41 -62
    -> End Executions Threshold: 100
    CPU per Elap per
    Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
    144,980 144,980 1.0 0.00 0.00 2091761008
    select condition from cdef$ where rowid=:1
    23,545 0 0.0 0.00 0.00 1981921526
    update object_usage set flags=flags+1 where obj#=:1 and bitand(f
    lags, 1)=0
    16,526 16,519 1.0 0.00 0.00 3016965513
    update sys.col_usage$ set equality_preds = equality_preds
    + decode(bitand(:flag,1),0,0,1), equijoin_preds = equijoi
    n_preds + decode(bitand(:flag,2),0,0,1), nonequijoin_preds
    = nonequijoin_preds + decode(bitand(:flag,4),0,0,1), range_pre
    ds = range_preds + decode(bitand(:flag,8),0,0,1),
    10,812 0 0.0 0.00 0.00 4031175624
    alter session set isolation_level = read committed
    8,449 13 0.0 0.00 0.00 2963598673
    select job, nvl2(last_date, 1, 0) from sys.job$ where (((:1 <= n
    ext_date) and (next_date < :2)) or ((last_date is null) and
    (next_date < :3))) and (field1 = :4 or (field1 = 0 and 'Y' = :5)
    ) and (this_date is null) order by next_date, job
    8,437 8,437 1.0 0.00 0.00 2964743345
    select count(*) from sys.job$ where (next_date > sysdate) and (n
    ext_date < (sysdate+5/86400))
    4,152 4,152 1.0 0.00 0.00 3879177167
    select :V00001 from dual
    2,703 45,951 17.0 0.00 0.00 1947239399
    Module: VPXDBA
    /* OracleOEM */ select value from v$parameter where name in ('d
    b_block_buffers','buffer_pool_keep','db_block_lru_latches','buff
    er_pool_recycle', 'log_buffer','cursor_space_for_time','open_cur
    sors','shared_pool_size', 'shared_pool_reserved_size','session_c
    ached_cursors','parallel_min_servers', 'parallel_max_servers','s
    2,533 628,184 248.0 0.00 0.00 71821313
    Module: VPXDBA
    /* OracleOEM */ select value from v$sysstat order by statistic#
    2,532 2,532 1.0 0.00 0.00 3077298272
    Module: VPXDBA
    /* OracleOEM */ select sum(decode(name,'free memory',bytes)), su
    m(bytes) from v$sgastat where pool='shared pool'
    2,504 2,504 1.0 0.00 0.00 1818901441
    Module: VPXDBA
    /* OracleOEM */ select sum(decode(status,'ACTIVE',1,0)),sum(deco
    de(status,'INACTIVE',1,0))from v$session
    2,492 62,998 25.3 0.01 0.01 2080871317
    Module: VPXDBA
    SQL ordered by Executions for DB: ST011 Instance: st011 Snaps: 41 -62
    -> End Executions Threshold: 100
    CPU per Elap per
    Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
    /* OracleOEM */ select event,time_waited,total_waits, total_tim
    eouts from v$system_event where event not in ('PX Idle Wait','p
    mon timer','smon timer','rdbms ipc message', 'parallel dequeue w
    ait', 'parallel query dequeue','virtual circuit', 'SQL*Net
    message from client','SQL*Net message to client', 'SQL*Ne
    2,389 37 0.0 0.00 0.00 4266807470
    Module: VPXDBA
    /* OracleOEM */ select event, count(*) from v$session_wait where
    wait_time = 0 and event not in ('PX Idle Wait','pmon timer','s
    mon timer','rdbms ipc message', 'parallel dequeue wait', 'parall
    el query dequeue','virtual circuit', 'SQL*Net message from clien
    t','SQL*Net message to client','SQL*Net more data to client', 'S
    2,196 2,196 1.0 0.00 0.00 1903595484
    Module: VPXDBA
    /* OracleOEM */ select sum(pins), sum(pinhits), sum(reloads) fro
    m v$librarycache
    2,196 24,493 11.2 0.00 0.00 2352784315
    Module: VPXDBA
    /* OracleOEM */ SELECT s.sid, s.serial#, s.fixed_table_sequence,
    s.status,NVL(s.username,bg.name), cpu.value tot_cpu, physio.va
    lue phys_reads,parse.value hard_parse, mem.value pga,logio.v
    alue log_reads FROM v$session s, v$bgprocess bg, (SELE
    CT sid,value FROM v$sesstat WHERE statistic# = :1) cpu, (SEL
    2,046 3,716 1.8 0.00 0.00 360204161
    SELECT BUCKET, ENDPTHASH, ENDPTVAL, UTL_RAW.CAST_TO_
    RAW(ENDPTVAL) ENDPTVAL_RAW FROM SYS.EXU8HSTU WHERE
    POBJID = :1 AND INTCOL = :2 ORDER BY BUCKET
    1,507 0 0.0 0.00 0.00 1930352736
    select softdb.oanitem.*, softdb.oanitem.ROWID from softdb.oanite
    m where delflg='N' and oandt='' and oanno=0 order by itemsrlno
    1,507 0 0.0 0.00 0.00 3801509667
    select softdb.oanudetails.*, softdb.oanudetails.ROWID from softd
    b.oanudetails where delflg='N' and oandt='' and oanno=0
    956 897 0.9 0.00 -0.00 2591785020
    select obj#,type#,ctime,mtime,stime,status,dataobj#,flags,oid$,
    spare1, spare2 from obj$ where owner#=:1 and name=:2 and namespa
    ce=:3 and(remoteowner=:4 or remoteowner is null and :4 is null)a
    nd(linkname=:5 or linkname is null and :5 is null)and(subname=:6
    or subname is null and :6 is null)
    939 1,479 1.6 0.00 0.00 1819073277
    select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_
    obj#, d_owner#, nvl(property,0),subname from dependency$,obj$ wh
    ere d_obj#=:1 and p_obj#=obj#(+) order by order#
    939 1,055 1.1 0.00 0.00 4049165760
    select order#,columns,types from access$ where d_obj#=:1
    SQL ordered by Executions for DB: ST011 Instance: st011 Snaps: 41 -62
    -> End Executions Threshold: 100
    CPU per Elap per
    Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
    807 45,999 57.0 0.00 0.00 2705315382
    select length(invcode), softdb.blocnmanager.ROWID from softdb.bl
    ocnmanager
    550 204 0.4 0.00 0.00 2197684639
    BEGIN SYS.DBMS_DESCRIBE.DESCRIBE_PROCEDURE(:object_name,:res1,:r
    es2,:overload,:position,:level,:argument,:datatype,:default,:in_
    out,:length,:precision,:scale,:radix,:spare); END;
    SQL ordered by Parse Calls for DB: ST011 Instance: st011 Snaps: 41 -62
    -> End Parse Calls Threshold: 1000
    % Total
    Parse Calls Executions Parses Hash Value
    144,980 144,980 39.95 2091761008
    select condition from cdef$ where rowid=:1
    23,545 23,545 6.49 1981921526
    update object_usage set flags=flags+1 where obj#=:1 and bitand(f
    lags, 1)=0
    10,812 10,812 2.98 4031175624
    alter session set isolation_level = read committed
    4,152 4,152 1.14 3879177167
    select :V00001 from dual
    2,379 4 0.66 1635934014
    insert into sys.col_usage$ values ( :objn, :coln, decode(bit
    and(:flag,1),0,0,1), decode(bitand(:flag,2),0,0,1), decode(b
    itand(:flag,4),0,0,1), decode(bitand(:flag,8),0,0,1), decode
    (bitand(:flag,16),0,0,1), decode(bitand(:flag,32),0,0,1), :t
    ime)
    2,336 16,526 0.64 3016965513
    update sys.col_usage$ set equality_preds = equality_preds
    + decode(bitand(:flag,1),0,0,1), equijoin_preds = equijoi
    n_preds + decode(bitand(:flag,2),0,0,1), nonequijoin_preds
    = nonequijoin_preds + decode(bitand(:flag,4),0,0,1), range_pre
    ds = range_preds + decode(bitand(:flag,8),0,0,1),
    1,655 0 0.46 3877138136
    SELECT softdb.logpslipitem.*, softdb.logpslipitem.ROWID FROM sof
    tdb.logpslipitem
    1,507 1,507 0.42 1930352736
    select softdb.oanitem.*, softdb.oanitem.ROWID from softdb.oanite
    m where delflg='N' and oandt='' and oanno=0 order by itemsrlno
    1,507 1,507 0.42 3801509667
    select softdb.oanudetails.*, softdb.oanudetails.ROWID from softd
    b.oanudetails where delflg='N' and oandt='' and oanno=0
    1,357 0 0.37 2921321908
    SELECT softdb.keytab.*, softdb.keytab.ROWID FROM softdb.keytab
    1,175 0 0.32 126022112
    SELECT softdb.logpslip.*, softdb.logpslip.ROWID FROM softdb.logp
    slip
    1,175 0 0.32 3554166107
    select * from softdb.logpslipitem
    1,175 0 0.32 3928397926
    select * from softdb.logpslip
    939 939 0.26 1819073277
    select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_
    SQL ordered by Parse Calls for DB: ST011 Instance: st011 Snaps: 41 -62
    -> End Parse Calls Threshold: 1000
    % Total
    Parse Calls Executions Parses Hash Value
    obj#, d_owner#, nvl(property,0),subname from dependency$,obj$ wh
    ere d_obj#=:1 and p_obj#=obj#(+) order by order#
    939 939 0.26 4049165760
    select order#,columns,types from access$ where d_obj#=:1
    807 807 0.22 2705315382
    select length(invcode), softdb.blocnmanager.ROWID from softdb.bl
    ocnmanager
    718 359 0.20 3882939652
    INSERT INTO "SOFTDB"."MULTIUSER" ("REGNNO","PROCESSNAME","USRNAM
    E","INSTLOCATION","MCNAME","IPADDR","REGNDT") VALUES (:V00001,:V
    00002,:V00003,:V00004,:V00005,:V00006,:V00007)
    650 325 0.18 3046100812
    UPDATE "SOFTDB"."GENCOMMID" SET "GNO"=:V00001,"GDT"=:V00002 WHER
    E "GNO"=:V00003 AND "GDT"=:V00004 AND "ROWID"=:V00005
    550 550 0.15 2197684639
    BEGIN SYS.DBMS_DESCRIBE.DESCRIBE_PROCEDURE(:object_name,:res1,:r
    es2,:overload,:position,:level,:argument,:datatype,:default,:in_
    out,:length,:precision,:scale,:radix,:spare); END;
    510 510 0.14 3187596784
    select rownum as srlno,softdb.keytab.itemdesc as item,1 as sets,
    qty from (select itemsrlno,itemdesc,1 as qty,oanno,oandt from s
    oftdb.oanups where delflg='N' and oandt='' and oanno=0 union se
    lect itemsrlno,itemdesc,deliqty/delisets as qty, oanno,oandt fr
    om softdb.oanbat where delflg='N' and oandt='' and oanno=0 and i
    443 443 0.12 1781254858
    DELETE multiuser where floor((((((sysdate-recentrytime)*24*60*60
    )/3600)*3600)/60)*60) >='180'
    443 443 0.12 3292238282
    Select softdb.multiuser.*, softdb.multiuser.ROWID from softdb.mu
    ltiuser
    422 422 0.12 1919856422
    select invcode, softdb.blocnmanager.ROWID from softdb.blocnmanag
    er
    390 195 0.11 2471695061
    UPDATE "SOFTDB"."CUST_MAST" SET "CUST_LST_NO"=:V00001,"CUST_CST_
    NO"=:V00002 WHERE "CUST_LST_NO" IS NULL AND "CUST_CST_NO" IS NUL
    L AND "ROWID"=:V00003
    387 387 0.11 620898497
    select * from (select null table_catalog, idx.table_owner table_
    schema, idx.table_name table_name, null index_catalog, idx.owner
    index_schema, idx.index_name index_name, null primary_key, deco
    de(idx.uniqueness, 'UNIQUE', 65535, 0) unique_, decode(idx.index
    type, 'CLUSTER', 65535, 0) clustered, null type, null fillfact
    SQL ordered by Parse Calls for DB: ST011 Instance: st011 Snaps: 41 -62
    -> End Parse Calls Threshold: 1000
    % Total
    Parse Calls Executions Parses Hash Value
    387 387 0.11 1647834759
    select * from (select null table_catalog, ac.owner table_schema,
    ac.table_name table_name, acc.column_name column_name, null col
    umn_guid, null column_propid, acc.position ordinal, ac.constrain
    t_name pk_name from all_constraints ac, all_cons_columns acc whe
    re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
    Instance Activity Stats for DB: ST011 Instance: st011 Snaps: 41 -62
    Statistic Total per Second per Trans
    CPU used by this session 102,453 1.6 4.8
    CPU used when call started 102,366 1.6 4.8
    CR blocks created 30 0.0 0.0
    DBWR buffers scanned 1,184 0.0 0.1
    DBWR checkpoint buffers written 7,748 0.1 0.4
    DBWR checkpoints 9 0.0 0.0
    DBWR free buffers found 1,184 0.0 0.1
    DBWR lru scans 1 0.0 0.0
    DBWR make free requests 1 0.0 0.0
    DBWR summed scan depth 1,184 0.0 0.1
    DBWR transaction table writes 295 0.0 0.0
    DBWR undo block writes 1,681 0.0 0.1
    SQL*Net roundtrips to/from client 1,979,199 29.9 92.3
    active txn count during cleanout 682 0.0 0.0
    background checkpoints completed 1 0.0 0.0
    background checkpoints started 1 0.0 0.0
    background timeouts 74,152 1.1 3.5
    buffer is not pinned count 45,599,192 689.3 2,126.9
    buffer is pinned count 55,241,935 835.1 2,576.7
    bytes received via SQL*Net from c 140,543,392 2,124.5 6,555.5
    bytes sent via SQL*Net to client 16,971,012,142 256,538.0 791,595.3
    calls to get snapshot scn: kcmgss 706,463 10.7 33.0
    calls to kcmgas 20,519 0.3 1.0
    calls to kcmgcs 591 0.0 0.0
    change write time 175 0.0 0.0
    cleanout - number of ktugct calls 866 0.0 0.0
    cleanouts and rollbacks - consist 16 0.0 0.0
    cleanouts only - consistent read 123 0.0 0.0
    cluster key scan block gets 266,789 4.0 12.4
    cluster key scans 104,922 1.6 4.9
    commit cleanout failures: callbac 5 0.0 0.0
    commit cleanouts 28,117 0.4 1.3
    commit cleanouts successfully com 28,112 0.4 1.3
    commit txn count during cleanout 458 0.0 0.0
    consistent changes 295 0.0 0.0
    consistent gets 57,426,682 868.1 2,678.6
    consistent gets - examination 2,489,520 37.6 116.1
    cursor authentications 27,054 0.4 1.3
    data blocks consistent reads - un 283 0.0 0.0
    db block changes 139,574 2.1 6.5
    db block gets 130,344 2.0 6.1
    deferred (CURRENT) block cleanout 17,394 0.3 0.8
    dirty buffers inspected 3 0.0 0.0
    enqueue conversions 583 0.0 0.0
    enqueue releases 112,816 1.7 5.3
    enqueue requests 112,817 1.7 5.3
    enqueue waits 9 0.0 0.0
    execute count 386,246 5.8 18.0
    free buffer inspected 3 0.0 0.0
    free buffer requested 578,165 8.7 27.0
    hot buffers moved to head of LRU 3,435 0.1 0.2
    immediate (CR) block cleanout app 139 0.0 0.0
    immediate (CURRENT) block cleanou 3,076 0.1 0.1
    index fast full scans (full) 602 0.0 0.0
    index fetch by key 1,311,085 19.8 61.2
    index scans kdiixs1 26,311,841 397.7 1,227.3
    Instance Activity Stats for DB: ST011 Instance: st011 Snaps: 41 -62
    Statistic Total per Second per Trans
    leaf node 90-10 splits 28 0.0 0.0
    leaf node splits 272 0.0 0.0
    logons cumulative 181 0.0 0.0
    messages received 12,637 0.2 0.6
    messages sent 12,637 0.2 0.6
    no buffer to keep pinned count 0 0.0 0.0
    no work - consistent read gets 28,721,411 434.2 1,339.7
    opened cursors cumulative 327,186 5.0 15.3
    parse count (failures) 6,872 0.1 0.3
    parse count (hard) 59,067 0.9 2.8
    parse count (total) 362,907 5.5 16.9
    parse time cpu 13,489 0.2 0.6
    parse time elapsed 13,800 0.2 0.6
    physical reads 995,675 15.1 46.4
    physical reads direct 426,595 6.5 19.9
    physical writes 266,178 4.0 12.4
    physical writes direct 258,427 3.9 12.1
    physical writes non checkpoint 261,972 4.0 12.2
    prefetched blocks 473,387 7.2 22.1
    process last non-idle time 124,048,980,297 1,875,154.6 5,786,136.5
    recovery blocks read 0 0.0 0.0
    recursive calls 1,469,320 22.2 68.5
    recursive cpu usage 5,757 0.1 0.3
    redo blocks written 66,895 1.0 3.1
    redo entries 73,459 1.1 3.4
    redo size 29,472,392 445.5 1,374.7
    redo synch time 8,922 0.1 0.4
    redo synch writes 10,687 0.2 0.5
    redo wastage 3,617,376 54.7 168.7
    redo write time 9,727 0.2 0.5
    redo writer latching time 3 0.0 0.0
    redo writes 12,337 0.2 0.6
    rollback changes - undo records a 22 0.0 0.0
    rollbacks only - consistent read 19 0.0 0.0
    rows fetched via callback 1,127,456 17.0 52.6
    session connect time 124,048,980,297 1,875,154.6 5,786,136.5
    session logical reads 57,557,026 870.1 2,684.7
    session pga memory 428,308 6.5 20.0
    session pga memory max 63,116 1.0 2.9
    session uga memory 4,296,889,276 64,952.8 200,424.0
    session uga memory max 123,298,368 1,863.8 5,751.1
    shared hash latch upgrades - no w 26,310,630 397.7 1,227.2
    sorts (disk) 367 0.0 0.0
    sorts (memory) 89,870 1.4 4.2
    sorts (rows) 13,381,553 202.3 624.2
    summed dirty queue length 3 0.0 0.0
    switch current to new buffer 6,910 0.1 0.3
    table fetch by rowid 32,481,075 491.0 1,515.1
    table fetch continued row 13,074 0.2 0.6
    table scan blocks gotten 8,213,616 124.2 383.1
    table scan rows gotten 303,670,060 4,590.4 14,164.4
    table scans (long tables) 2,799 0.0 0.1
    table scans (short tables) 76,890 1.2 3.6
    transaction rollbacks 11 0.0 0.0
    user calls 1,067,154 16.1 49.8
    user commits 10,678 0.2 0.5
    Instance Activity Stats for DB: ST011 Instance: st011 Snaps: 41 -62
    Statistic Total per Second per Trans
    user rollbacks 10,761 0.2 0.5
    workarea executions - onepass 803 0.0 0.0
    workarea executions - optimal 126,987 1.9 5.9
    write clones created in foregroun 2 0.0 0.0
    Tablespace IO Stats for DB: ST011 Instance: st011 Snaps: 41 -62
    ->ordered by IOs (Reads + Writes) desc
    Tablespace
    Av Av Av Av Buffer Av Buf
    Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
    TEMP
    397,017 6 0.8 1.1 199,016 3 0 0.0
    SOFTDB
    91,699 1 1.0 6.1 1,823 0 0 0.0
    USERS
    450 0 5.3 1.0 2,524 0 0 0.0
    SYSTEM
    2,438 0 2.9 1.3 239 0 0 0.0
    INDX
    1,095 0 4.4 1.5 1,153 0 0 0.0
    UNDOTBS1
    3 0 13.3 1.0 2,017 0 8 0.0
    XDB
    74 0 4.9 1.1 1 0 0 0.0
    DRSYS
    3 0 6.7 1.0 1 0 0 0.0
    TOOLS
    3 0 6.7 1.0 1 0 0 0.0
    File IO Stats for DB: ST011 Instance: st011 Snaps: 41 -62
    ->ordered by Tablespace, File
    Tablespace Filename
    Av Av Av Av Buffer Av Buf
    Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
    DRSYS E:\ORACLE\ORADATA\ST011\DRSYS01.DBF
    3 0 6.7 1.0 1 0 0
    INDX E:\ORACLE\ORADATA\ST011\INDX01.DBF
    1,095 0 4.4 1.5 1,153 0 0
    SOFTDB E:\ORACLE\ORADATA\ST011\SOFTDB01.DBF
    91,699 1 1.0 6.1 1,823 0 0
    SYSTEM E:\ORACLE\ORADATA\ST011\SYSTEM01.DBF
    2,438 0 2.9 1.3 239 0 0
    TEMP E:\ORACLE\ORADATA\ST011\TEMP01.DBF
    397,017 6 0.8 1.1 199,016 3 0
    TOOLS E:\ORACLE\ORADATA\ST011\TOOLS01.DBF
    3 0 6.7 1.0 1 0 0
    UNDOTBS1 E:\ORACLE\ORADATA\ST011\UNDOTBS01.DBF
    3 0 13.3 1.0 2,017 0 8 0.0
    USERS E:\ORACLE\ORADATA\ST011\USERS01.DBF
    450 0 5.3 1.0 2,524 0 0
    XDB E:\ORACLE\ORADATA\ST011\XDB01.DBF
    74 0 4.9 1.1 1 0 0
    Buffer Pool Statistics for DB: ST011 Instance: st011 Snaps: 41 -62
    -> Standard block size Pools D: default, K: keep, R: recycle
    -> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
    Free Write Buffer
    Number of Cache Buffer Physical Physical Buffer Complete Busy
    P Buffers Hit % Gets Reads Writes Waits Waits Waits
    D 17,017 99.5 110,003,087 569,129 7,751 0 0 8
    Instance Recovery Stats for DB: ST011 Instance: st011 Snaps: 41 -62
    -> B: Begin snapshot, E: End snapshot
    Targt Estd Log File Log Ckpt Log Ckpt
    MTTR MTTR Recovery Actual Target Size Timeout Interval
    (s) (s) Estd IOs Redo Blks Redo Blks Redo Blks Redo Blks Redo Blks
    B 34 14 193 771 341 184320 341
    E 34 14 141 727 20 184320 20
    Buffer Pool Advisory for DB: ST011 Instance: st011 End Snap: 62
    -> Only rows with estimated physical reads >0 are displayed
    -> ordered by Block Size, Buffers For Estimate
    Size for Size Buffers for Est Physical Estimated
    P Estimate (M) Factr Estimate Read Factor Physical Reads
    D 16 .1 2,002 152.10 87,449,432
    D 32 .2 4,004 87.09 50,071,540
    D 48 .4 6,006 55.08 31,668,480
    D 64 .5 8,008 36.93 21,232,658
    D 80 .6 10,010 16.08 9,246,410
    D 96 .7 12,012 6.32 3,635,060
    D 112 .8 14,014 2.48 1,423,893
    D 128 .9 16,016 1.09 627,130
    D 136 1.0 17,017 1.00 574,935
    D 144 1.1 18,018 0.96 552,001
    D 160 1.2 20,020 0.91 525,903
    D 176 1.3 22,022 0.90 518,390
    D 192 1.4 24,024 0.90 518,390
    D 208 1.5 26,026 0.90 518,390
    D 224 1.6 28,028 0.90 518,390
    D 240 1.8 30,030 0.90 518,390
    D 256 1.9 32,032 0.90 518,390
    D 272 2.0 34,034 0.90 518,390
    D 288 2.1 36,036 0.90 518,390
    D 304 2.2 38,038 0.90 518,390
    D 320 2.4 40,040 0.90 518,390
    Buffer wait Statistics for DB: ST011 Instance: st011 Snaps: 41 -62
    -> ordered by wait time desc, waits desc
    Tot Wait Avg
    Class Waits Time (s) Time (ms)
    undo header 9 0 0
    PGA Aggr Target Stats for DB: ST011 Instance: st011 Snaps: 41 -62
    -> B: Begin snap E: End snap (rows dentified with B or E contain data
    which is absolute i.e. not diffed over the interval)
    -> PGA cache hit % - percentage of W/A (WorkArea) data processed only in-memory
    -> Auto PGA Target - actual workarea memory target
    -> W/A PGA Used - amount of memory used for all Workareas (manual + auto)
    -> %PGA W/A Mem - percentage of PGA memory allocated to workareas
    -> %Auto W/A Mem - percentage of workarea memory controlled by Auto Mem Mgmt
    -> %Man W/A Mem - percentage of workarea memory under manual control
    PGA Cache Hit % W/A MB Processed Extra W/A MB Read/Written
    72.5 6,444 2,443
    %PGA %Auto %Man
    PGA Aggr Auto PGA PGA Mem W/A PGA W/A W/A W/A Global Mem
    Target(M) Target(M) Alloc(M) Used(M) Mem Mem Mem Bound(K)
    B 104 80 17.8 0.0 .0 .0 .0 5,324
    E 104 81 18.5 0.0 .0 .0 .0 5,324
    PGA Aggr Target Histogram for DB: ST011 Instance: st011 Snaps: 41 -62
    -> Optimal Executions are purely in-memory operations
    Low High
    Optimal Optimal Total Execs Optimal Execs 1-Pass Execs M-Pass Execs
    8K 16K 119,925 119,925 0 0
    16K 32K 1,796 1,796 0 0
    32K 64K 147 147 0 0
    64K 128K 1,167 1,167 0 0
    128K 256K 562 562 0 0
    256K 512K 647 615 32 0
    512K 1024K 2,770 2,412 358 0
    1M 2M 588 256 332 0
    2M 4M 70 10 60 0
    4M 8M 36 20 16 0
    16M 32M 4 0 4 0
    1G 2G 1 0 1 0
    PGA Memory Advisory for DB: ST011 Instance: st011 End Snap: 62
    -> When using Auto Memory Mgmt, minimally choose a pga_aggregate_target value
    where Estd PGA Overalloc Count is 0
    Estd Extra Estd PGA Estd PGA
    PGA Target Size W/A MB W/A MB Read/ Cache Overalloc
    Est (MB) Factr Processed Written to Disk Hit % Count
    13 0.1 1,552.2 362.1 81.0 27
    26 0.3 1,552.2 85.5 95.0 0
    52 0.5 1,552.2 74.5 95.0 0
    78 0.8 1,552.2 74.5 95.0 0
    104 1.0 1,552.2 55.1 97.0 0
    125 1.2 1,552.2 0.0 100.0 0
    146 1.4 1,552.2 0.0 100.0 0
    166 1.6 1,552.2 0.0 100.0 0
    187 1.8 1,552.2 0.0 100.0 0
    208 2.0 1,552.2 0.0 100.0 0
    312 3.0 1,552.2 0.0 100.0 0
    416 4.0 1,552.2 0.0 100.0 0
    624 6.0 1,552.2 0.0 100.0 0
    832 8.0 1,552.2 0.0 100.0 0
    Enqueue activity for DB: ST011 Instance: st011 Snaps: 41 -62
    -> Enqueue stats gathered prior to 9i should not be compared with 9i data
    -> ordered by Wait Time desc, Waits desc
    Avg Wt Wait
    Eq Requests Succ Gets Failed Gets Waits Time (ms) Time (s)
    TC 40 40 0 8 254.13 2
    PE 184 184 0 1 47.00 0
    Rollback Segment Stats for DB: ST011 Instance: st011 Snaps: 41 -62
    ->A high value for "Pct Waits" suggests more rollback segments may be required
    ->RBS stats may not be accurate between begin and end snaps when using Auto Undo
    managment, as RBS may be dynamically created and dropped as needed
    Trans Table Pct Undo Bytes
    RBS No Gets Waits Written Wraps Shrinks Extends
    0 246.0 0.00 0 0 0 0
    1 2,947.0 0.00 1,268,846 4 1 1
    2 3,520.0 0.00 1,003,166 18 3 6
    3 3,511.0 0.00 973,498 18 1 3
    4 2,662.0 0.00 1,010,600 4 0 1
    5 3,941.0 0.03 1,042,464 20 3 8
    6 3,474.0 0.00 1,106,576 21 1 6
    7 2,546.0 0.00 756,036 15 3 4
    8 3,943.0 0.00 1,112,166 22 3 11
    9 3,368.0 0.00 832,596 14 2 4
    10 3,039.0 0.20 971,780 20 3 14
    Rollback Segment Storage for DB: ST011 Instance: st011 Snaps: 41 -62
    ->Optimal Size should be larger than Avg Active
    RBS No Segment Size Avg Active Optimal Size Maximum Size
    0 385,024 0 385,024
    1 1,171,456 191,840 2,220,032
    2 385,024 78,348 516,096
    3 450,560 112,391 450,560
    4 2,220,032 101,425 2,220,032
    5 778,240 134,380 843,776
    6 647,168 78,286 647,168
    7 319,488 86,191 581,632
    8 516,096 90,060 778,240
    9 516,096 49,626 516,096
    10 450,560 132,513 647,168
    Undo Segment Summary for DB: ST011 Instance: st011 Snaps: 41 -62
    -> Undo segment block stats:
    -> uS - unexpired Stolen, uR - unexpired Released, uU - unexpired reUsed
    -> eS - expired Stolen, eR - expired Released, eU - expired reUsed
    Undo Undo Num Max Qry Max Tx Snapshot Out of uS/uR/uU/
    TS# Blocks Trans Len (s) Concurcy Too Old Space eS/eR/eU
    1 1,555 551,825 1,575 2 0 0 0/0/15/0/0/0
    Undo Segment Stats for DB: ST011 Instance: st011 Snaps: 41 -62
    -> ordered by Time desc
    Undo Num Max Qry Max Tx Snap Out of uS/uR/uU/
    End Time Blocks Trans Len (s) Concy Too Old Space eS/eR/eU
    08-Aug 03:53 0 0 0 0 0 0 0/0/0/0/0/0
    08-Aug 03:03 31 13,744 0 1 0 0 0/0/0/0/0/0
    08-Aug 02:53 0 0 0 0 0 0 0/0/0/0/0/0
    08-Aug 02:03 31 13,717 0 1 0 0 0/0/0/0/0/0
    08-Aug 01:53 0 0 0 0 0 0 0/0/0/0/0/0
    08-Aug 01:03 29 13,690 1 1 0 0 0/0/0/0/0/0
    08-Aug 00:53 0 0 0 0 0 0 0/0/0/0/0/0
    08-Aug 00:03 41 13,665 1 1 0 0 0/0/0/0/0/0
    07-Aug 23:53 0 0 0 0 0 0 0/0/0/0/0/0
    07-Aug 23:03 25 13,634 1 2 0 0 0/0/0/0/0/0
    07-Aug 22:53 0 0 0 0 0 0 0/0/0/0/0/0
    07-Aug 22:03 29 13,611 0 2 0 0 0/0/0/0/0/0
    07-Aug 21:53 0 0 0 0 0 0 0/0/0/0/0/0
    07-Aug 21:43 1 13,595 0 1 0 0 0/0/8/0/0/0
    07-Aug 21:33 1 13,591 0 1 0 0 0/0/0/0/0/0
    07-Aug 21:23 7 13,544 9 1 0 0 0/0/0/0/0/0
    07-Aug 21:13 1 13,448 12 1 0 0 0/0/0/0/0/0
    07-Aug 21:03 35 13,348 1 1 0 0 0/0/0/0/0/0
    07-Aug 20:53 7 13,212 9 1 0 0 0/0/0/0/0/0
    07-Aug 20:43 9 12,967 13 1 0 0 0/0/0/0/0/0
    07-Aug 20:33 4 12,785 3 1 0 0 0/0/0/0/0/0
    07-Aug 20:23 4 12,717 3 1 0 0 0/0/0/0/0/0
    07-Aug 20:13 7 12,607 9 1 0 0 0/0/0/0/0/0
    07-Aug 20:03 49 12,472 8 2 0 0 0/0/0/0/0/0
    07-Aug 19:53 0 0 0 0 0 0 0/0/0/0/0/0
    07-Aug 19:43 10 12,425 2 1 0 0 0/0/0/0/0/0
    07-Aug 19:33 14 12,263 30 1 0 0 0/0/0/0/0/0
    07-Aug 19:23 25 12,046 4 1 0 0 0/0/0/0/0/0
    07-Aug 19:13 52 11,686 2 1 0 0 0/0/0/0/0/0
    07-Aug 19:03 71 11,077 7 1 0 0 0/0/0/0/0/0
    07-Aug 18:53 41 10,558 4 1 0 0 0/0/0/0/0/0
    07-Aug 18:43 17 9,996 12 1 0 0 0/0/0/0/0/0
    07-Aug 18:33 6 9,744 30 1 0 0 0/0/0/0/0/0
    07-Aug 18:23 9 9,548 2 1 0 0 0/0/0/0/0/0
    Latch Activity for DB: ST011 Instance: st011 Snaps: 41 -62
    ->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
    willing-to-wait latch get requests
    ->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
    ->"Pct Misses" for both should be very close to 0.0
    Pct Avg Wait Pct
    Get Get Slps Time NoWait NoWait
    Latch Requests Miss /Miss (s) Requests Miss
    Consistent RBA 12,338 0.0 0 0
    FAL request queue 2 0.0 0 0
    FAL subheap alocation 0 0 2 0.0
    FIB s.o chain latch 72 0.0 0 0
    FOB s.o list latch 388 0.0 0 0
    JOX SGA heap latch 3,415 0.0 0 3,013 0.0
    NLS data objects 3 0.0 0 0
    QMT 1 0.0 0 0
    SQL memory manager latch 21 0.0 0 21,360 0.0
    SQL memory manager worka 1,455,705 0.0 0 0
    Token Manager 0 0 2 0.0
    active checkpoint queue 22,780 0.0 0 2 0.0
    alert log latch 4 0.0 0 2 0.0
    archive control 2,189 0.0 0 0
    archive process latch 1,299 0.2 0.0 0 0
    begin backup scn array 8 0.0 0 0
    cache buffer handles 339,925 0.0 0 0
    cache buffers chains 113,609,670 0.0 0.0 0 1,095,458 0.0
    cache buffers lru chain 2,057,063 0.0 0 13,776 0.0
    channel handle pool latc 194 0.0 0 0
    channel operations paren 43,420 0.0 0 0
    checkpoint queue latch 1,094,874 0.0 0.0 0 7,196 0.0
    child cursor hash table 543,267 0.0 0 0
    dml lock allocation 99,677 0.0 0 0
    dummy allocation 362 2.8 0.0 0 0
    enqueue hash chains 226,227 0.0 0 0
    enqueues 235,237 0.0 0.0 0 0
    event group latch 95 0.0 0 0
    file number translation 699,304 0.0 0.0 0 0
    hash table column usage 2,980 0.0 0 779,274 0.0
    hash table modification 5 0.0 0 2 0.0
    job workq parent latch 0 0 26 7.7
    job_queue_processes para 745 0.0 0 2 0.0
    kmcptab latch 1,788 0.0 0 0
    kmcpvec latch 0 0 1,788 0.0
    ksfv messages 0 0 4 0.0
    ktm global data 260 0.0 0 0
    lgwr LWN SCN 29,530 0.0 0 0
    library cache 7,579,771 0.0 0.0 0 112,898 0.1
    library cache load lock 5,302 0.0 0 0
    library cache pin 3,098,174 0.0 0.0 0 0
    library cache pin alloca 2,124,257 0.0 0.0 0 0
    list of block allocation 321 0.0 0 0
    loader state object free 1,186 0.0 0 0
    longop free list parent 9 0.0 0 9 0.0
    message pool operations 9 0.0 0 0
    messages 209,721 0.2 0.0 0 0
    mostly latch-free SCN 29,532 0.0 0.0 0 0
    multiblock read objects 181,050 0.0 0 2 0.0
    name-service namespace o 0 0 2 0.0
    Latch Activity for DB: ST011 Instance: st011 Snaps: 41 -62
    ->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
    willing-to-wait latch get requests
    ->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
    ->"Pct Misses" for both should be very close to 0.0
    Pct Avg Wait Pct
    Get Get Slps Time NoWait NoWait
    Latch Requests Miss /Miss (s) Requests Miss
    ncodef allocation latch 1,065 0.0 0 0
    object stats modificatio 357 0.0 0 2 0.0
    post/wait queue 24,713 0.0 0 10,698 0.0
    process allocation 95 0.0 0 95 0.0
    process group creation 189 0.0 0 0
    qm_init_sga 1 0.0 0 0
    redo allocation 115,339 0.0 0.0 0 0
    redo copy 0 0 73,511 0.1
    redo writing 92,285 0.0 0 0
    resumable state object 351 0.0 0 0
    row cache enqueue latch 3,995,948 0.0 0.0 0 0
    row cache objects 4,004,202 0.0 0 696 0.0
    sequence cache 430 0.0 0 0
    session allocation 292,885 0.0 0.0 0 0
    session idle bit 2,269,446 0.0 0.0 0 0
    session switching 1,065 0.0 0 0
    session timer 22,218 0.0 0 0
    shared java pool 860 0.0 0 0
    shared pool 4,913,350 0.0 0.0 0 0
    sim partition latch 0 0 110 0.0
    simulator hash latch 4,433,428 0.0 0 0
    simulator lru latch 43,829 0.0 0 33,464 0.0
    sort extent pool 6,608 0.0 0 0
    temp lob duration state 2 0.0 0 0
    trace latch 13 0.0 0 0
    transaction allocation 931,196 0.0 0 0
    transaction branch alloc 1,065 0.0 0 0
    undo global data 57,750 0.0 0.0 0 0
    user lock 551 0.0 0 0
    vecio buf des 0 0 2 0.0
    virtual circuit buffers 10,648,289 0.2 0.0 0 0
    virtual circuit queues 5,140,393 0.0 0.0 0 0
    virtual circuits 1,824,349 0.0 0.0 0 0
    Latch Sleep breakdown for DB: ST011 Instance: st011 Snaps: 41 -62
    -> ordered by misses desc
    Get Spin &
    Latch Name Requests Misses Sleeps Sleeps 1->4
    virtual circuit buffers 10,648,289 19,024 3 19021/3/0/0/
    0
    shared pool 4,913,350 181 3 178/3/0/0/0
    cache buffers chains 113,609,670 63 1 0/0/0/0/0
    Latch Miss Sources for DB: ST011 Instance: st011 Snaps: 41 -62
    -> only latches with sleeps are shown
    -> ordered by name, sleeps desc
    NoWait Waiter
    Latch Name Where Misses Sleeps Sleeps
    cache buffers chains kcbgtcr: kslbegin excl 0 1 0
    shared pool kghalo 0 3 3
    virtual circuits kmcfms 0 1 1
    virtual circuits kmcgms: if not shared serv 0 1 0
    virtual circuits kmcmbf 0 1 1
    Dictionary Cache Stats for DB: ST011 Instance: st011 Snaps: 41 -62
    ->"Pct Misses" should be very low (< 2% in most cases)
    ->"Cache Usage" is the number of cache entries being used
    ->"Pct SGA" is the ratio of usage to allocated size for that cache
    Get Pct Scan Pct Mod Final
    Cache Requests Miss Reqs Miss Reqs Usage
    dc_files 3,248 0.2 0 0 8
    dc_global_oids 12,826 1.0 0 0 135
    dc_histogram_defs 1,214,659 0.1 0 0 2,451
    dc_object_ids 325,383 0.2 0 0 793
    dc_objects 72,357 1.9 0 2 1,504
    dc_profiles 125 0.0 0 0 1
    dc_qmc_cache_entries 1 100.0 0 0 1
    dc_rollback_segments 4,967 0.0 0 0 12
    dc_segments 168,507 0.4 0 0 760
    dc_sequences 8 37.5 0 8 2
    dc_tablespace_quotas 5 40.0 0 5 2
    dc_tablespaces 56,795 0.0 0 0 9
    dc_user_grants 1,393 1.1 0 0 22
    dc_usernames 70,029 0.0 0 0 15
    dc_users 71,699 0.0 0 0 25
    Library Cache Activity for DB: ST011 Instance: st011 Snaps: 41 -62
    ->"Pct Misses" should be very low
    Get Pct Pin Pct Invali-
    Namespace Requests Miss Requests Miss Reloads dations
    BODY 225 16.4 226 18.6 3 0
    CLUSTER 1,272 0.3 1,008 0.8 0 0
    JAVA DATA 2 100.0 9 44.4 0 0
    SQL AREA 368,746 14.6 1,388,192 8.3 5,561 1
    TABLE/PROCEDURE 114,852 1.3 375,552 0.9 494 0
    TRIGGER 1,082 1.0 1,082 1.4 4 0
    Shared Pool Advisory for DB: ST011 Instance: st011 End Snap: 62
    -> Note there is often a 1:Many correlation between a single logical object
    in the Library Cache, and the physical number of memory objects associated
    with it. Therefore comparing the number of Lib Cache objects (e.g. in
    v$librarycache), with the number of Lib Cache Memory Objects is invalid
    Estd
    Shared Pool SP Estd Estd Estd Lib LC Time
    Size for Size Lib Cache Lib Cache Cache Time Saved Estd Lib Cache
    Estim (M) Factr Size (M) Mem Obj Saved (s) Factr Mem Obj Hits
    96 .6 96 20,704 1,595 1.0 896,845
    120 .7 119 25,821 1,596 1.0 898,184
    144 .9 142 30,844 1,596 1.0 899,133
    168 1.0 165 35,862 1,597 1.0 900,259
    192 1.1 188 41,079 1,598 1.0 901,912
    216 1.3 215 47,275 1,598 1.0 902,360
    240 1.4 238 52,517 1,598 1.0 903,089
    264 1.6 261 58,043 1,598 1.0 903,310
    288 1.7 284 63,632 1,598 1.0 903,711
    312 1.9 307 69,230 1,598 1.0 904,029
    336 2.0 338 76,368 1,598 1.0 904,158
    SGA Memory Summary for DB: ST011 Instance: st011 Snaps: 41 -62
    SGA regions Size in Bytes
    Database Buffers 142,606,336
    Fixed Size 454,356
    Redo Buffers 667,648
    Variable Size 486,539,264
    sum 630,267,604
    SGA breakdown difference for DB: ST011 Instance: st011 Snaps: 41 -62
    Pool Name Begin value End value % Diff
    java free memory 33,554,432 30,031,872 -10.50
    large free memory 24,861,188 24,957,400 0.39
    large session heap 304,636 208,424 -31.58
    shared 1M buffer 2,098,176 2,098,176 0.00
    shared FileOpenBlock 695,504 695,504 0.00
    shared KGK heap 3,756 3,756 0.00
    shared KGLS heap 1,652,428 2,590,108 56.75
    shared KQR M PO 861,220 2,452,776 184.80
    shared KQR S PO 77,148 239,708 210.71
    shared KQR S SO 1,792 5,632 214.29
    shared KSXR pending messages que 841,036 841,036 0.00
    shared KSXR receive buffers 1,033,000 1,033,000 0.00
    shared MTTR advisory 25,400 29,636 16.68
    shared PL/SQL DIANA 625,620 951,760 52.13
    shared PL/SQL MPCODE 358,152 902,912 152.10
    shared PLS non-lib hp 2,068 2,068 0.00
    shared dictionary cache 1,610,880 1,610,880 0.00
    shared errors 25,144 46,460 84.78
    shared event statistics per sess 1,718,360 1,718,360 0.00
    shared fixed allocation callback 220 220 0.00
    shared free memory 157,840,156 13,956,720 -91.16
    shared joxs heap init 4,220 4,220 0.00
    shared kgl simulator 694,520 9,560,380 #######
    shared library cache 4,829,312 39,226,604 712.26
    shared message pool freequeue 834,752 834,752 0.00
    shared miscellaneous 5,094,676 7,076,492 38.90
    shared parameters 5,220 32,976 531.72
    shared sessions 410,720 410,720 0.00
    shared sim memory hea 93,176 93,176 0.00
    shared sql area 9,864,252 100,764,460 921.51
    shared table definiti 2,040 5,920 190.20
    shared trigger defini 1,888 2,208 16.95
    shared trigger inform 1,108 1,324 19.49
    shared trigger source 160 1,168 630.00
    buffer_cache 142,606,336 142,606,336 0.00
    fixed_sga 454,356 454,356 0.00
    log_buffer 656,384 656,384 0.00
    init.ora Parameters for DB: ST011 Instance: st011 Snaps: 41 -62
    End value
    Parameter Name Begin value (if different)
    background_dump_dest E:\oracle\admin\ST011\bdump
    compatible 9.2.0.1.0
    control_files E:\oracle\oradata\ST011\control01
    core_dump_dest E:\oracle\admin\ST011\cdump
    db_block_size 8192
    db_cache_size 142606336
    db_domain
    db_file_multiblock_read_count 16 8
    db_name ST011
    dispatchers (PROTOCOL=TCP)
    fast_start_mttr_target 300
    hash_join_enabled TRUE
    instance_name ST011
    java_pool_size 33554432
    job_queue_processes 0 5
    large_pool_size 25165824
    log_archive_dest_1 LOCATION=E:\oracle\oradata\ST011\
    log_archive_format %t_%s.dbf
    log_archive_start TRUE
    open_cursors 300
    pga_aggregate_target 109051904
    processes 150
    query_rewrite_enabled FALSE
    remote_login_passwordfile EXCLUSIVE
    sga_max_size 630267604
    shared_pool_size 176160768
    sort_area_size 524288
    star_transformation_enabled FALSE
    timed_statistics TRUE
    undo_management AUTO
    undo_retention 10800
    undo_tablespace UNDOTBS1
    user_dump_dest E:\oracle\admin\ST011\udump
    End of Report

    Frederic's right... you're summing up too many statspacks ..
    Can't see anything specific apart from the fact that Statspack itself is showing up in the top statements.
    First : define 'Slow' . What is your goal for 'Ok' ?
    Start thinking about sql_trace, tkprof and 10046 traces

  • Regarding Statspack Report

    Hai
    We are using oracle 9i R1.
    I used to run statspack report every one hour.
    Go through the following report and let me know what is wrong in this report. Because our server getting very slow day by day.
    Mostly I changed.
    If you find anything wrong in the server parameter defined, please let me know to correct that.
    STATSPACK report for
    DB Name         DB Id    Instance     Inst Num Release     Cluster Host
    VPNEW         2611038567 vpnew               1 9.0.1.1.1   NO      VP_NEW
                Snap Id     Snap Time      Sessions Curs/Sess Comment
    Begin Snap:    1015 09-Jul-13 14:00:04       54       5.1
      End Snap:    1017 09-Jul-13 16:00:07       61       6.8
       Elapsed:              120.05 (mins)
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
                   Buffer Cache:       256M      Std Block Size:         4K
               Shared Pool Size:       272M          Log Buffer:       512K
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                      Redo size:            164,452.25             27,998.24
                  Logical reads:             82,680.73             14,076.52
                  Block changes:              1,137.91                193.73
                 Physical reads:              1,811.63                308.43
                Physical writes:                273.75                 46.61
                     User calls:              1,265.18                215.40
                         Parses:                 92.74                 15.79
                    Hard parses:                  3.59                  0.61
                          Sorts:                 65.27                 11.11
                         Logons:                  0.08                  0.01
                       Executes:                103.01                 17.54
                   Transactions:                  5.87
      % Blocks changed per Read:    1.38    Recursive Call %:    15.70
    Rollback per transaction %:   64.39       Rows per Sort:    18.06
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:   99.99       Redo NoWait %:  100.00
                Buffer  Hit   %:   97.81    In-memory Sort %:  100.00
                Library Hit   %:   97.24        Soft Parse %:   96.13
             Execute to Parse %:    9.97         Latch Hit %:   99.99
    Parse CPU to Parse Elapsd %:   43.49     % Non-Parse CPU:   99.98
    Shared Pool Statistics        Begin   End
                 Memory Usage %:   90.47   82.23
        % SQL with executions>1:   47.34   54.83
      % Memory for SQL w/exec>1:   38.21   35.60
    Top 5 Wait Events
    ~~~~~~~~~~~~~~~~~                                            Wait     % Total
    Event                                               Waits  Time (s)   Wt Time
    db file scattered read                          1,722,742       3,967   48.06
    db file sequential read                           641,575       2,397   29.05
    db file parallel write                              6,744         636    7.70
    buffer busy waits                                  68,542         361    4.37
    async disk IO                                      91,243         216    2.61
    Wait Events for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    -> s  - second
    -> cs - centisecond -     100th of a second
    -> ms - millisecond -    1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc (idle events last)
                                                                       Avg
                                                         Total Wait   wait    Waits
    Event                               Waits   Timeouts  Time (s)    (ms)     /txn
    db file scattered read          1,722,742          0      3,967      2     40.7
    db file sequential read           641,575          0      2,397      4     15.2
    db file parallel write              6,744      6,744        636     94      0.2
    buffer busy waits                  68,542          9        361      5      1.6
    async disk IO                      91,243          0        216      2      2.2
    SQL*Net message from dblink        13,432          0        215     16      0.3
    direct path write                 102,953          0        177      2      2.4
    log file parallel write            30,747     28,702        121      4      0.7
    log file sync                      10,359          9         74      7      0.2
    control file parallel write         2,489          0         30     12      0.1
    direct path read                    3,531          0         28      8      0.1
    SQL*Net more data from dblin       45,347          0         17      0      1.1
    control file sequential read          669          0          7     10      0.0
    latch free                            873        506          2      2      0.0
    direct path read (lob)                 41          0          1     35      0.0
    log file switch completion             14          0          1     99      0.0
    SQL*Net more data to client        98,580          0          1      0      2.3
    local write wait                       46          0          0     10      0.0
    SQL*Net more data to dblink         1,852          0          0      0      0.0
    log file single write                  22          0          0      6      0.0
    log file sequential read               11          0          0      8      0.0
    db file parallel read                   7          0          0      7      0.0
    single-task message                     2          0          0     15      0.0
    SQL*Net break/reset to clien           96          0          0      0      0.0
    SQL*Net message to dblink          13,432          0          0      0      0.3
    library cache pin                       3          0          0      0      0.0
    LGWR wait for redo copy                18          0          0      0      0.0
    library cache load lock                 1          0          0      0      0.0
    SQL*Net message from client     9,199,880          0    198,874     22    217.5
    virtual circuit status                240        240      7,602  31677      0.0
    jobq slave wait                       288        275        870   3021      0.0
    SQL*Net message to client       9,199,888          0          6      0    217.5
    SQL*Net more data from clien           58          0          0      1      0.0
    Background Wait Events for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    -> ordered by wait time desc, waits desc (idle events last)
                                                                       Avg
                                                         Total Wait   wait    Waits
    Event                               Waits   Timeouts  Time (s)    (ms)     /txn
    db file parallel write              6,744      6,744        636     94      0.2
    log file parallel write            30,749     28,704        121      4      0.7
    control file parallel write         2,435          0         30     12      0.1
    control file sequential read          198          0          3     17      0.0
    db file scattered read                386          0          2      5      0.0
    db file sequential read               176          0          1      4      0.0
    async disk IO                          34          0          0     13      0.0
    latch free                             54         54          0      5      0.0
    direct path write                      99          0          0      3      0.0
    buffer busy waits                       4          0          0     46      0.0
    direct path read                       99          0          0      2      0.0
    log file single write                  22          0          0      6      0.0
    log file sequential read               11          0          0      8      0.0
    rdbms ipc reply                         4          0          0     17      0.0
    LGWR wait for redo copy                18          0          0      0      0.0
    rdbms ipc message                  71,793     39,898     26,717    372      1.7
    pmon timer                          2,814      2,814      7,639   2715      0.1
    smon timer                             27         19      7,560 ######      0.0
    SQL ordered by Gets for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    -> End Buffer Gets Threshold:   10000
    -> Note that resources reported for PL/SQL includes the resources used by
       all SQL statements called within the PL/SQL code.  As individual SQL
       statements are also reported, it is possible and valid for the summed
       total % to exceed 100
                                                         CPU      Elapsd
      Buffer Gets    Executions  Gets per Exec  %Total Time (s)  Time (s) Hash Value
         33,925,100        9,024        3,759.4    5.7    27.02     27.20 1447967143
    SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO, DUPPRINTFLAG FROM TE
    MPORDERDETAIL WHERE HALLCODE=1 AND  PRINTFLAG='Y' AND ITEMCODE I
    N(SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(4) AND  ITEM
    CODE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=1 AN
    D PRINTFLAG='Y'))  AND COMPLETEFLAG='N' AND STCODE<>99
         33,924,281        9,025        3,758.9    5.7    26.97     26.95 1309894166
    SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO,DUPPRINTFLAG FROM TEM
    PORDERDETAIL WHERE HALLCODE=1 AND PRINTFLAG='Y' AND ITEMCODE IN(
    SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(2)  AND ITEMCO
    DE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=1 ))
    AND COMPLETEFLAG='N' AND STCODE<>99
         22,431,010          118      190,093.3    3.8    21.45     29.65 4290300977
    SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
    CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
    ) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
    (STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
    WHERE CCODE=5  AND BILLNO>23095 AND DT>TO_DATE('01-APR-2013','D
         17,110,508           90      190,116.8    2.9    16.31     18.13 2323191576
    SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
    CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
    ) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
    (STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
    WHERE CCODE=5  AND BILLNO>23102 AND DT>TO_DATE('01-APR-2013','D
         14,067,208           74      190,097.4    2.4    13.45     20.54 2902528758
    SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
    CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
    ) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
    (STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
    WHERE CCODE=8  AND BILLNO>40735 AND DT>TO_DATE('01-APR-2013','D
         11,243,815           93      120,901.2    1.9   660.27    663.46 2303099111
    SELECT RCODE, RNAME FROM RAWMATERIAL WHERE RCODE IN ( SELECT RCO
    DE FROM RAWSTOCKDATES WHERE  WEEKDAY=3) AND RCODE NOT IN (SELECT
    RCODE  FROM STOCKONDATES WHERE TO_CHAR(STKDATE)='09-JUL-13') AN
    D PRINTFLAG='Y' ORDER BY RNAME ASC
          9,840,558        2,405        4,091.7    1.7   294.66   3540.26 2266490527
    SELECT NVL(MAX(BACKUPDATE),SYSDATE) FROM TRACKBACKUP_LINKWITHSER
    VER
          9,314,803           49      190,098.0    1.6     8.92     14.44 1477811350
    SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
    CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
    ) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
    (STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
    SQL ordered by Gets for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    -> End Buffer Gets Threshold:   10000
    -> Note that resources reported for PL/SQL includes the resources used by
       all SQL statements called within the PL/SQL code.  As individual SQL
       statements are also reported, it is possible and valid for the summed
       total % to exceed 100
                                                         CPU      Elapsd
      Buffer Gets    Executions  Gets per Exec  %Total Time (s)  Time (s) Hash Value
    WHERE CCODE=7  AND BILLNO>52592 AND DT>TO_DATE('01-APR-2013','D
          9,125,204           48      190,108.4    1.5     4.27     12.89 1951526474
    SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
    CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
    ) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
    (STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
    WHERE CCODE=1  AND BILLNO>51127 AND DT>TO_DATE('01-APR-2013','D
          6,653,430           35      190,098.0    1.1     6.38      8.33 2980657600
    SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
    CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
    ) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
    (STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
    WHERE CCODE=3  AND BILLNO>53038 AND DT>TO_DATE('01-APR-2013','D
          5,513,426           29      190,118.1    0.9     5.30      5.85 2709561073
    SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
    CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
    ) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
    (STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
    WHERE CCODE=3  AND BILLNO>53050 AND DT>TO_DATE('01-APR-2013','D
          5,323,236           28      190,115.6    0.9     4.94      5.51 1289003277
    SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
    CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
    ) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
    (STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
    WHERE CCODE=7  AND BILLNO>52607 AND DT>TO_DATE('01-APR-2013','D
          5,322,812           28      190,100.4    0.9     5.02      5.72  928495952
    SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
    CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
    ) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
    (STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
    WHERE CCODE=3  AND BILLNO>53042 AND DT>TO_DATE('01-APR-2013','D
          4,943,192           26      190,122.8    0.8     4.67      5.19 2263910287
    SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
    CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
    ) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
    SQL ordered by Reads for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    -> End Disk Reads Threshold:    1000
                                                         CPU      Elapsd
    Physical Reads  Executions  Reads per Exec %Total Time (s)  Time (s) Hash Value
          8,401,181        2,405        3,493.2   64.4   294.66   3540.26 2266490527
    SELECT NVL(MAX(BACKUPDATE),SYSDATE) FROM TRACKBACKUP_LINKWITHSER
    VER
            150,474            9       16,719.3    1.2     0.02      0.11  420004354
    begin HSBSTORE.APPEND_RAWMATERIAL_TO_GLOBAL; end;
            150,265            9       16,696.1    1.2     2.97     33.74  631228335
    SELECT * FROM TRACK_RAWMATERIAL WHERE MODIFIED_TIME > :b1 AND AC
    TION='U'  ORDER BY RCODE
            126,600            6       21,100.0    1.0     1.05     12.98 2926197014
    SELECT PAYMENTDESCRIPTION PARTICULARS,SUM(PAIDAMOUNT) PAIDAMOUN
    T FROM SERVERSALES.PAIDMASTER A, SERVERSALES.PAIDDETAIL B,    SE
    RVERSALES.PAYMENTMASTER C WHERE A.PAYMENTID=B.PAYMENTID AND B.PA
    YCODE=C.PAYCODE AND A.CCODE=7 AND BCODE=131132 AND   PAYMENTDATE
    BETWEEN TO_DATE('09-JUL-13 00:00:00','DD-MON-YY HH24:MI:SS')
            104,975            1      104,975.0    0.8    11.59     35.97  602985589
    SELECT /*+NESTED_TABLE_GET_REFS+*/ "HSBSTORE"."TRACK_SYSADM".* F
    ROM "HSBSTORE"."TRACK_SYSADM"
             99,198            2       49,599.0    0.8     1.83      6.61 2045198349
    SELECT NVL(MAX(KOTNO),1) MAXKOTNO FROM ORDERDETAIL WHERE STCODE=
    37
             96,222           12        8,018.5    0.7     0.00      0.08 1123445213
    begin RETMAXCUSTID(:V00001,:V00002,:V00003,:V00004); end;
             88,052            4       22,013.0    0.7     0.77      9.02 4195209649
    SELECT SUM(PAIDAMOUNT) PAIDAMOUNT FROM SERVERSALES.PAIDMASTER A
    , SERVERSALES.PAIDDETAIL B,    SERVERSALES.PAYMENTMASTER C WHERE
    A.PAYMENTID=B.PAYMENTID AND B.PAYCODE=C.PAYCODE AND A.CCODE=7 A
    ND BCODE = 131132 AND   PAYMENTDATE BETWEEN TO_DATE('09-JUL-13 0
    0:00:00','DD-MON-YY HH24:MI:SS')   AND TO_DATE('09-JUL-13 23:59:
             79,044            4       19,761.0    0.6     0.77      9.25 1459194232
    SELECT SUM(PAIDAMOUNT) PAIDAMOUNT FROM SERVERSALES.PAIDMASTER A
    , SERVERSALES.PAIDDETAIL B,    SERVERSALES.PAYMENTMASTER C WHERE
    A.PAYMENTID=B.PAYMENTID AND B.PAYCODE=C.PAYCODE AND A.CCODE=7 A
    ND BCODE = 131132 AND   PAYMENTDATE BETWEEN TO_DATE('09-JUL-13 0
    0:00:00','DD-MON-YY HH24:MI:SS')   AND TO_DATE('09-JUL-13 23:59:
             72,142            4       18,035.5    0.6     0.88     12.63 2744348950
    SELECT SUM(PAIDAMOUNT) PAIDAMOUNT FROM SERVERSALES.PAIDMASTER A
    , SERVERSALES.PAIDDETAIL B,    SERVERSALES.PAYMENTMASTER C WHERE
    A.PAYMENTID=B.PAYMENTID AND B.PAYCODE=C.PAYCODE AND A.CCODE=7 A
    ND BCODE = 131132 AND   PAYMENTDATE BETWEEN TO_DATE('09-JUL-13 0
    0:00:00','DD-MON-YY HH24:MI:SS')   AND TO_DATE('09-JUL-13 23:59:
             70,194            4       17,548.5    0.5     0.89     12.47  768206854
    SELECT SUM(PAIDAMOUNT) PAIDAMOUNT FROM SERVERSALES.PAIDMASTER A
    , SERVERSALES.PAIDDETAIL B,    SERVERSALES.PAYMENTMASTER C WHERE
    A.PAYMENTID=B.PAYMENTID AND B.PAYCODE=C.PAYCODE AND A.CCODE=7 A
    SQL ordered by Reads for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    -> End Disk Reads Threshold:    1000
                                                         CPU      Elapsd
    Physical Reads  Executions  Reads per Exec %Total Time (s)  Time (s) Hash Value
    ND BCODE = 131132 AND   PAYMENTDATE BETWEEN TO_DATE('09-JUL-13 0
    0:00:00','DD-MON-YY HH24:MI:SS')   AND TO_DATE('09-JUL-13 23:59:
             55,628            7        7,946.9    0.4     2.09     41.25 3227129102
    SELECT NVL(MAX(CUSTID),-99) FROM ORDERMASTER WHERE STCODE  =:b1
    AND LENGTH(CUSTID)<=10
             54,748           28        1,955.3    0.4     2.39     70.19  511029918
    SELECT EMPLOYEE_CODE,DUTY,DUTYCODE,RESIGNED_ON FROM BRANCHHR.PER
    INFO WHERE EMPLOYEE_CODE IN   (SELECT EMPLOYEE_CODE FROM HDEMPMA
    STER WHERE RESIGNED_ON IS NULL)
             49,600            1       49,600.0    0.4     0.91      5.06 1047519405
    SELECT NVL(MAX(KOTNO),1) MAXKOTNO FROM ORDERDETAIL WHERE STCODE=
    12
             49,599            1       49,599.0    0.4     3.02      9.51 3958879593
    SELECT /*+NESTED_TABLE_GET_REFS+*/ "HANDPOS"."ORDERDETAIL".* FRO
    M "HANDPOS"."ORDERDETAIL"
             48,834            3       16,278.0    0.4     0.58      5.88 1917766718
    SELECT PAYMENTDESCRIPTION PARTICULARS,SUM(PAIDAMOUNT) PAIDAMOUN
    T FROM SERVERSALES.PAIDMASTER A, SERVERSALES.PAIDDETAIL B,    SE
    RVERSALES.PAYMENTMASTER C WHERE A.PAYMENTID=B.PAYMENTID AND B.PA
    YCODE=C.PAYCODE AND A.CCODE=8 AND BCODE=136559 AND   PAYMENTDATE
    BETWEEN TO_DATE('09-JUL-13 00:00:00','DD-MON-YY HH24:MI:SS')
             44,488            2       22,244.0    0.3     0.22      2.00 3747323840
    SELECT SUM(PAIDAMOUNT) PAIDAMOUNT FROM SERVERSALES.PAIDMASTER A
    , SERVERSALES.PAIDDETAIL B,    SERVERSALES.PAYMENTMASTER C WHERE
    A.PAYMENTID=B.PAYMENTID AND B.PAYCODE=C.PAYCODE AND A.CCODE=8 A
    ND BCODE = 136559 AND   PAYMENTDATE BETWEEN TO_DATE('09-JUL-13 0
    0:00:00','DD-MON-YY HH24:MI:SS')   AND TO_DATE('09-JUL-13 23:59:
             40,584            5        8,116.8    0.3     1.45     13.45 1312824138
    SELECT NVL(MAX(CUSTID),0)+1 FROM ORDERMASTER WHERE STCODE = :b1
    AND LENGTH(CUSTID)<=10
             36,876            2       18,438.0    0.3     0.33      1.72 3823361077
    SELECT A.BCODE,CCODE, COUNT(BILLNO) TOTCANCELBILL,   SUM(TOTALAM
    T+STAXAMT+SURCHARGE+CARSERVICECHARGE+SERVICECHARGE+SERVICETAX+EC
    ESS+HECESS+VATFORSVTAX) TOTCANCELAMT   FROM SERVERSALES.BILLMAST
    ER A WHERE CANCELFLAG='Y' AND   TO_CHAR(BACKUPDATE,'DD-MON-YY')=
    '09-JUL-13'  AND A.BCODE=136559  GROUP BY CCODE,A.BCODE ORDER BY
             36,876            2       18,438.0    0.3     0.30      1.75 3906601815
    SELECT A.BCODE, CCODE,MIN(BILLNO) STBILL,MAX(BILLNO) CLBILL,COUN
    T(BILLNO) TOTBILL,   SUM(TOTALAMT+STAXAMT+SURCHARGE+CARSERVICECH
    ARGE+SERVICECHARGE+SERVICETAX+ECESS+HECESS+VATFORSVTAX) AMT   FR
    SQL ordered by Executions for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    -> End Executions Threshold:     100
                                                    CPU per    Elap per
    Executions   Rows Processed   Rows per Exec    Exec (s)   Exec (s)  Hash Value
          34,419          34,419              1.0       0.00        0.00   12926889
    SELECT UPLOAD_ALERT_HOUR FROM SYSADM WHERE 1 = 1
          34,418          34,418              1.0       0.00        0.00  192561540
    SELECT SPONGE_UPLOAD_LOCK FROM SYSADM WHERE 1 = 1
          32,770          32,770              1.0       0.00        0.00 2091761008
    select condition from cdef$ where rowid=:1
          27,348          27,348              1.0       0.00        0.00 1808965695
    SELECT * FROM SYSADM
          14,781          14,817              1.0       0.00        0.00 2044415509
    select longname from javasnm$ where short = :1
          14,375               0              0.0       0.00        0.00 4031175624
    alter session set isolation_level = read committed
          12,921          12,921              1.0       0.00        0.00 2775403064
    begin DMLQUERY_TODATABASE(:V00001,:V00002,:V00003); end;
          12,838               0              0.0       0.00        0.00 1470906206
    ROLLBACK
          10,833          12,026              1.1       0.00        0.00 2085632044
    select intcol#,nvl(pos#,0),col# from ccol$ where con#=:1
           9,176               0              0.0       0.00        0.00  919183084
    SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL  W
    HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
    TEMCODE FROM IMASTER  WHERE KITCHENCODE IN(2) AND ITEMCODE  IN(S
    ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
    NCELPRINTFLAG='N'))
           9,176               0              0.0       0.00        0.00 1097989943
    SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL  W
    HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
    TEMCODE FROM IMASTER  WHERE KITCHENCODE IN(5) AND ITEMCODE  IN(S
    ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
    NCELPRINTFLAG='N'))
           9,176              13              0.0       0.00        0.00 1466519777
    SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO, DUPPRINTFLAG FROM TE
    MPORDERDETAIL WHERE HALLCODE=2 AND  PRINTFLAG='Y' AND ITEMCODE I
    N(SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(4) AND  ITEM
    CODE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 AN
    D PRINTFLAG='Y'))  AND COMPLETEFLAG='N' AND STCODE<>99
           9,176               1              0.0       0.00        0.00 2427401293
    SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL  W
    HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
    TEMCODE FROM IMASTER  WHERE KITCHENCODE IN(1) AND ITEMCODE  IN(S
    ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
    NCELPRINTFLAG='N'))
    SQL ordered by Executions for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    -> End Executions Threshold:     100
                                                    CPU per    Elap per
    Executions   Rows Processed   Rows per Exec    Exec (s)   Exec (s)  Hash Value
           9,176              10              0.0       0.00        0.00 2442976822
    SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO,DUPPRINTFLAG FROM TEM
    PORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND ITEMCODE IN(
    SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(2)  AND ITEMCO
    DE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 ))
    AND COMPLETEFLAG='N' AND STCODE<>99
           9,176               0              0.0       0.00        0.00 2533195368
    SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL  W
    HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
    TEMCODE FROM IMASTER  WHERE KITCHENCODE IN(6) AND ITEMCODE  IN(S
    ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
    NCELPRINTFLAG='N'))
           9,176               0              0.0       0.00        0.00 2717690733
    SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL  W
    HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
    TEMCODE FROM IMASTER  WHERE KITCHENCODE IN(4) AND ITEMCODE  IN(S
    ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
    NCELPRINTFLAG='N'))
           9,176               0              0.0       0.00        0.00 4184698325
    SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO,DUPPRINTFLAG FROM TEM
    PORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND ITEMCODE IN(
    SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(5)  AND ITEMCO
    DE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 ))
    AND COMPLETEFLAG='N' AND STCODE<>99
           9,175              39              0.0       0.00        0.00 2323513381
    SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO, DUPPRINTFLAG FROM TE
    MPORDERDETAIL WHERE HALLCODE=2 AND  PRINTFLAG='Y' AND ITEMCODE I
    N(SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(1) AND  ITEM
    CODE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 AN
    D PRINTFLAG='Y'))  AND COMPLETEFLAG='N' AND STCODE<>99
           9,175               0              0.0       0.00        0.00 2395870663
    SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO, DUPPRINTFLAG FROM TE
    MPORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND COMPLETEFLA
    G='N' AND STCODE=99
           9,149               0              0.0       0.00        0.00 2767419325
    SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO,DUPPRINTFLAG FROM TEM
    PORDERDETAIL WHERE HALLCODE=3 AND PRINTFLAG='Y' AND ITEMCODE IN(
    SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(6)  AND ITEMCO
    DE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=3 ))
    AND COMPLETEFLAG='N' AND (STCODE<>99 AND PARCELORDERFLAG='Y')
           9,149               0              0.0       0.00        0.00 3140978821
    SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL  W
    HERE HALLCODE=3 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
    SQL ordered by Parse Calls for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    -> End Parse Calls Threshold:      1000
                               % Total
    Parse Calls  Executions   Parses  Hash Value
          34,419       34,419     0.05   12926889
    SELECT UPLOAD_ALERT_HOUR FROM SYSADM WHERE 1 = 1
          34,418       34,418     0.05  192561540
    SELECT SPONGE_UPLOAD_LOCK FROM SYSADM WHERE 1 = 1
          32,770       32,770     0.05 2091761008
    select condition from cdef$ where rowid=:1
          27,346       27,348     0.04 1808965695
    SELECT * FROM SYSADM
          25,842       12,921     0.04 2775403064
    begin DMLQUERY_TODATABASE(:V00001,:V00002,:V00003); end;
          14,375       14,375     0.02 4031175624
    alter session set isolation_level = read committed
           9,176        9,176     0.01  919183084
    SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL  W
    HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
    TEMCODE FROM IMASTER  WHERE KITCHENCODE IN(2) AND ITEMCODE  IN(S
    ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
    NCELPRINTFLAG='N'))
           9,176        9,176     0.01 1097989943
    SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL  W
    HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
    TEMCODE FROM IMASTER  WHERE KITCHENCODE IN(5) AND ITEMCODE  IN(S
    ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
    NCELPRINTFLAG='N'))
           9,176        9,176     0.01 1466519777
    SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO, DUPPRINTFLAG FROM TE
    MPORDERDETAIL WHERE HALLCODE=2 AND  PRINTFLAG='Y' AND ITEMCODE I
    N(SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(4) AND  ITEM
    CODE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 AN
    D PRINTFLAG='Y'))  AND COMPLETEFLAG='N' AND STCODE<>99
           9,176        9,176     0.01 2427401293
    SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL  W
    HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
    TEMCODE FROM IMASTER  WHERE KITCHENCODE IN(1) AND ITEMCODE  IN(S
    ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
    NCELPRINTFLAG='N'))
           9,176        9,176     0.01 2442976822
    SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO,DUPPRINTFLAG FROM TEM
    PORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND ITEMCODE IN(
    SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(2)  AND ITEMCO
    DE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 ))
    AND COMPLETEFLAG='N' AND STCODE<>99
           9,176        9,176     0.01 2533195368
    SQL ordered by Parse Calls for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    -> End Parse Calls Threshold:      1000
                               % Total
    Parse Calls  Executions   Parses  Hash Value
    SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL  W
    HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
    TEMCODE FROM IMASTER  WHERE KITCHENCODE IN(6) AND ITEMCODE  IN(S
    ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
    NCELPRINTFLAG='N'))
           9,176        9,176     0.01 2717690733
    SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL  W
    HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
    TEMCODE FROM IMASTER  WHERE KITCHENCODE IN(4) AND ITEMCODE  IN(S
    ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
    NCELPRINTFLAG='N'))
           9,176        9,176     0.01 4184698325
    SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO,DUPPRINTFLAG FROM TEM
    PORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND ITEMCODE IN(
    SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(5)  AND ITEMCO
    DE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 ))
    AND COMPLETEFLAG='N' AND STCODE<>99
           9,175        9,175     0.01 2323513381
    SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO, DUPPRINTFLAG FROM TE
    MPORDERDETAIL WHERE HALLCODE=2 AND  PRINTFLAG='Y' AND ITEMCODE I
    N(SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(1) AND  ITEM
    CODE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 AN
    D PRINTFLAG='Y'))  AND COMPLETEFLAG='N' AND STCODE<>99
           9,175        9,175     0.01 2395870663
    SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO, DUPPRINTFLAG FROM TE
    MPORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND COMPLETEFLA
    G='N' AND STCODE=99
           9,149        9,149     0.01 2767419325
    SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO,DUPPRINTFLAG FROM TEM
    PORDERDETAIL WHERE HALLCODE=3 AND PRINTFLAG='Y' AND ITEMCODE IN(
    SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(6)  AND ITEMCO
    DE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=3 ))
    AND COMPLETEFLAG='N' AND (STCODE<>99 AND PARCELORDERFLAG='Y')
           9,149        9,149     0.01 3140978821
    SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL  W
    HERE HALLCODE=3 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
    TEMCODE FROM IMASTER  WHERE KITCHENCODE IN(5) AND ITEMCODE  IN(S
    ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=3 AND CA
    NCELPRINTFLAG='N'))
    Instance Activity Stats for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    Statistic                                      Total     per Second    per Trans
    CPU used by this session                     186,515           25.9          4.4
    CPU used when call started                   186,516           25.9          4.4
    CR blocks created                              1,003            0.1          0.0
    Cached Commit SCN referenced                  49,515            6.9          1.2
    DBWR buffers scanned                         488,255           67.8         11.5
    DBWR checkpoint buffers written              111,100           15.4          2.6
    DBWR checkpoints                                  11            0.0          0.0
    DBWR free buffers found                      321,996           44.7          7.6
    DBWR lru scans                                   220            0.0          0.0
    DBWR make free requests                          221            0.0          0.0
    DBWR summed scan depth                       488,255           67.8         11.5
    DBWR transaction table writes                    128            0.0          0.0
    DBWR undo block writes                       178,539           24.8          4.2
    SQL*Net roundtrips to/from client          9,198,173        1,277.0        217.4
    SQL*Net roundtrips to/from dblink             13,432            1.9          0.3
    background checkpoints completed                  11            0.0          0.0
    background checkpoints started                    11            0.0          0.0
    background timeouts                            8,452            1.2          0.2
    branch node splits                                 2            0.0          0.0
    buffer is not pinned count               302,135,166       41,945.7      7,141.3
    buffer is pinned count                     8,788,152        1,220.1        207.7
    bytes received via SQL*Net from c      1,083,084,928      150,365.8     25,600.0
    bytes received via SQL*Net from d         95,665,748       13,281.4      2,261.2
    bytes sent via SQL*Net to client       4,111,695,608      570,831.0     97,184.8
    bytes sent via SQL*Net to dblink           7,485,552        1,039.2        176.9
    calls to get snapshot scn: kcmgss            761,425          105.7         18.0
    calls to kcmgas                               75,988           10.6          1.8
    calls to kcmgcs                                3,283            0.5          0.1
    change write time                                655            0.1          0.0
    cleanouts and rollbacks - consist                 17            0.0          0.0
    cleanouts only - consistent read              45,735            6.4          1.1
    cluster key scan block gets                  651,950           90.5         15.4
    cluster key scans                            299,206           41.5          7.1
    commit cleanout failures: block l              1,264            0.2          0.0
    commit cleanout failures: buffer                   0            0.0          0.0
    commit cleanout failures: callbac                  1            0.0          0.0
    commit cleanout failures: cannot                   6            0.0          0.0
    commit cleanouts                              34,036            4.7          0.8
    commit cleanouts successfully com             32,765            4.6          0.8
    consistent changes                             1,097            0.2          0.0
    consistent gets                          585,710,907       81,314.9     13,844.0
    consistent gets - examination            526,721,311       73,125.3     12,449.7
    current blocks converted for CR                    0            0.0          0.0
    cursor authentications                        26,373            3.7          0.6
    data blocks consistent reads - un              1,062            0.2          0.0
    db block changes                           8,196,333        1,137.9        193.7
    db block gets                              9,838,496        1,365.9        232.5
    deferred (CURRENT) block cleanout             62,521            8.7          1.5
    dirty buffers inspected                       40,579            5.6          1.0
    enqueue conversions                           15,038            2.1          0.4
    enqueue releases                              81,698           11.3          1.9
    enqueue requests                              81,698           11.3          1.9
    enqueue timeouts                                   0            0.0          0.0
    enqueue waits                                      0            0.0          0.0
    execute count                                741,982          103.0         17.5
    free buffer inspected                         56,063            7.8          1.3
    Instance Activity Stats for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    Statistic                                      Total     per Second    per Trans
    free buffer requested                     13,260,577        1,841.0        313.4
    hot buffers moved to head of LRU              97,066           13.5          2.3
    immediate (CR) block cleanout app             45,752            6.4          1.1
    immediate (CURRENT) block cleanou             30,321            4.2          0.7
    index fast full scans (full)                      53            0.0          0.0
    leaf node splits                                 198            0.0          0.0
    logons cumulative                                574            0.1          0.0
    messages received                             37,937            5.3          0.9
    messages sent                                 37,937            5.3          0.9
    no buffer to keep pinned count           140,523,321       19,509.0      3,321.4
    no work - consistent read gets            58,276,954        8,090.7      1,377.5
    opened cursors cumulative                    634,567           88.1         15.0
    parse count (failures)                            20            0.0          0.0
    parse count (hard)                            25,870            3.6          0.6
    parse count (total)                          668,011           92.7         15.8
    parse time cpu                                 3,152            0.4          0.1
    parse time elapsed                             7,248            1.0          0.2
    physical reads                            13,049,137        1,811.6        308.4
    physical reads direct                         26,152            3.6          0.6
    physical reads direct (lob)                      136            0.0          0.0
    physical writes                            1,971,823          273.8         46.6
    physical writes direct                     1,667,675          231.5         39.4
    physical writes non checkpoint             1,969,333          273.4         46.6
    pinned buffers inspected                      13,984            1.9          0.3
    prefetched blocks                         10,658,657        1,479.8        251.9
    prefetched blocks aged out before                  4            0.0          0.0
    process last non-idle time           742,988,981,569  103,149,935.0 ############
    recursive calls                            1,697,401          235.7         40.1
    recursive cpu usage                            6,504            0.9          0.2
    redo blocks written                        2,406,500          334.1         56.9
    redo buffer allocation retries                    14            0.0          0.0
    redo entries                               4,011,118          556.9         94.8
    redo log space requests                           14            0.0          0.0
    redo log space wait time                         140            0.0          0.0
    redo ordering marks                                0            0.0          0.0
    redo size                              1,184,549,592      164,452.3     27,998.2
    redo synch time                                7,390            1.0          0.2
    redo synch writes                             10,373            1.4          0.3
    redo wastage                               8,732,496        1,212.3        206.4
    redo write time                               18,463            2.6          0.4
    redo writer latching time                          0            0.0          0.0
    redo writes                                   30,747            4.3          0.7
    rollback changes - undo records a                251            0.0          0.0
    rollbacks only - consistent read                 977            0.1          0.0
    rows fetched via callback                122,026,103       16,941.0      2,884.2
    session connect time                 742,988,981,569  103,149,935.0 ############
    session logical reads                    595,549,268       82,680.7     14,076.5
    session pga memory                        15,920,020        2,210.2        376.3
    session pga memory max                    16,233,580        2,253.7        383.7
    session uga memory                         7,652,356        1,062.4        180.9
    session uga memory max                   430,862,348       59,817.1     10,184.0
    shared hash latch upgrades - no w            776,349          107.8         18.4
    shared hash latch upgrades - wait                  9            0.0          0.0
    sorts (disk)                                      23            0.0          0.0
    sorts (memory)                               470,098           65.3         11.1
    sorts (rows)                               8,492,519        1,179.0        200.7
    Instance Activity Stats for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    Statistic                                      Total     per Second    per Trans
    summed dirty queue length                     58,002            8.1          1.4
    switch current to new buffer                  58,199            8.1          1.4
    table fetch by rowid                     127,264,409       17,668.3      3,008.1
    table fetch continued row                      7,077            1.0          0.2
    table scan blocks gotten                  45,372,952        6,299.2      1,072.4
    table scan rows gotten                 3,156,014,583      438,152.8     74,596.2
    table scans (long tables)                      2,909            0.4          0.1
    table scans (short tables)                   626,177           86.9         14.8
    transaction rollbacks                            338            0.1          0.0
    transaction tables consistent rea                  2            0.0          0.0
    transaction tables consistent rea                 16            0.0          0.0
    user calls                                 9,113,117        1,265.2        215.4
    user commits                                  15,067            2.1          0.4
    user rollbacks                                27,241            3.8          0.6
    write clones created in backgroun                  0            0.0          0.0
    write clones created in foregroun                 54            0.0          0.0
    Tablespace IO Stats for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    ->ordered by IOs (Reads + Writes) desc
    Tablespace
                     Av      Av     Av                    Av        Buffer Av Buf
             Reads Reads/s Rd(ms) Blks/Rd       Writes Writes/s      Waits Wt(ms)
    USERS
         1,750,384     243    2.1     5.8        1,075        0     68,502    5.2
    SYSTEM
           520,667      72    1.3     5.3        1,903        0         26  133.5
    PERFSTAT
            88,904      12    8.2     1.7      122,041       17          0    0.0
    UNDOTBS
                19       0    6.8     1.0      178,708       25          6   28.3
    TEMP
             7,758       1    0.0     3.4      106,806       15         26  133.5
    EXAMPLE
             3,392       0    8.9     7.5           12        0          0    0.0
    INDX
             1,000       0    9.6     1.2          542        0          0    0.0
    CWMLITE
                66       0   20.3     1.1           11        0          0    0.0
    TOOLS
                43       0    3.7     1.0           11        0          0    0.0
    DRSYS
                34       0   17.1     1.0           11        0          0    0.0
    File IO Stats for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    ->ordered by Tablespace, File
    Tablespace               Filename
                     Av      Av     Av                    Av        Buffer Av Buf
             Reads Reads/s Rd(ms) Blks/Rd       Writes Writes/s      Waits Wt(ms)
    CWMLITE                  D:\ORACLE\ORADATA\VPNEW\CWMLITE01.DBF
                66       0   20.3     1.1           11        0          0
    DRSYS                    D:\ORACLE\ORADATA\VPNEW\DRSYS01.DBF
                34       0   17.1     1.0           11        0          0
    EXAMPLE                  D:\ORACLE\ORADATA\VPNEW\EXAMPLE01.DBF
             3,392       0    8.9     7.5           12        0          0
    INDX                     D:\ORACLE\ORADATA\VPNEW\INDX01.DBF
             1,000       0    9.6     1.2          542        0          0
    PERFSTAT                 D:\ORACLE\ORADATA\VPNEW\PERFSTAT.ORA
            88,904      12    8.2     1.7      122,041       17          0
    SYSTEM                   D:\ORACLE\ORADATA\VPNEW\SYSTEM01.DBF
           520,667      72    1.3     5.3        1,903        0         26  133.5
    TEMP                     D:\ORACLE\ORADATA\VPNEW\TEMP01.DBF
             7,758       1    0.0     3.4      106,806       15         26  133.5
    TOOLS                    D:\ORACLE\ORADATA\VPNEW\TOOLS01.DBF
                43       0    3.7     1.0           11        0          0
    UNDOTBS                  D:\ORACLE\ORADATA\VPNEW\UNDOTBS01.DBF
                19       0    6.8     1.0      178,708       25          6   28.3
    USERS                    D:\ORACLE\ORADATA\VPNEW\USERS01.DBF
         1,750,384     243    2.1     5.8        1,075        0     68,502    5.2
    Buffer Pool Statistics for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    -> Standard block size Pools  D: default,  K: keep,  R: recycle
    -> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
                                                               Free    Write  Buffer
         Number of Cache      Buffer    Physical   Physical  Buffer Complete    Busy
    P      Buffers Hit %        Gets       Reads     Writes   Waits    Waits   Waits
    D       62,944  81.1  68,829,627  13,022,134    304,147       0        0  68,542
    Instance Recovery Stats for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    -> B: Begin snapshot,  E: End snapshot
      Targt Estd                                    Log File   Log Ckpt   Log Ckpt
      MTTR  MTTR   Recovery    Actual     Target      Size     Timeout    Interval
       (s)   (s)   Estd IOs  Redo Blks  Redo Blks  Redo Blks  Redo Blks  Redo Blks
    B     0     0          0      21448      20665     184320      20665 ##########
    E     0     0          0      15276      14901     184320      14901 ##########
    Buffer wait Statistics for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    -> ordered by wait time desc, waits desc
                                     Tot Wait    Avg
    Class                    Waits   Time (s) Time (ms)
    data block              68,527        360         5
    undo header                  5          0        34
    segment header               1          0        20
    undo block                   1          0         0
    PGA Memory Stats for DB: VPNEW  Instance: vpnew  Snaps: 1015 -1017
    -> WorkArea (W/A) memory is used for: sort, bit

    Problems are
    - not using bind variables anywhere, resulting in excessive statement parsing. All of your statements have hardcoded literals, and many of those statements are identical except for the hardcoded literals.
    Due to the hardcoded literals for Oracle they are different, and will be reparsed.
    - excessive full table scans : 48 percent of the wait time is db file scattered read which means full table scan.
    Time to tune your statements.
    Sybrand Bakker
    Senior Oracle DBA

  • Performance issue showing read by other session Event

    Hi All,
    we are having a severe performance issue in my database when we are running batch jobs.
    This was a new database(11.2.0.2) and we are testing the performance by running some batch jobs. These batch jobs included some inserts and updates.
    I am seeing read by other session in top 5 timed events and cache buffers chains in Latch Miss Sources section.
    Please help me to solve this out.
    Inst Num Startup Time    Release     RAC
    1 27-Feb-12 09:03 11.2.0.2.0  NO
    Platform                         CPUs Cores Sockets Memory(GB)
    Linux x86 64-bit                    8     8       8      48.00           
    Snap Id      Snap Time      Sessions Curs/Sess
    Begin Snap:      5605 29-Feb-12 03:00:27        63       4.5
      End Snap:      5614 29-Feb-12 12:00:47        63       4.3
       Elapsed:              540.32 (mins)
       DB Time:            1,774.23 (mins)
    Cache Sizes                       Begin        End
    ~~~~~~~~~~~                  ---------- ----------
                   Buffer Cache:     1,952M     1,952M  Std Block Size:        16K
               Shared Pool Size:     1,024M     1,024M      Log Buffer:    18,868K
    Load Profile              Per Second    Per Transaction   Per Exec   Per Call
    ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------
          DB Time(s):                3.3                0.8       0.02       0.05
           DB CPU(s):                1.1                0.3       0.01       0.02
           Redo size:           55,763.8           13,849.3
       Logical reads:           23,906.6            5,937.4
       Block changes:              325.7               80.9
      Physical reads:              665.6              165.3
    Physical writes:               40.4               10.0
          User calls:               60.7               15.1
              Parses:               10.6                2.6
         Hard parses:                1.1                0.3
    W/A MB processed:                0.6                0.2
              Logons:                0.1                0.0
            Executes:              151.2               37.6
           Rollbacks:                0.0                0.0
        Transactions:                4.0
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:   99.94       Redo NoWait %:  100.00
                Buffer  Hit   %:   97.90    In-memory Sort %:  100.00
                Library Hit   %:   98.06        Soft Parse %:   90.16
             Execute to Parse %:   92.96         Latch Hit %:  100.00
    Parse CPU to Parse Elapsd %:   76.71     % Non-Parse CPU:   98.57
    Shared Pool Statistics        Begin    End
                 Memory Usage %:   89.38   87.96
        % SQL with executions>1:   97.14   95.15
      % Memory for SQL w/exec>1:   96.05   92.46
    Top 5 Timed Foreground Events
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                               Avg
                                                              wait   % DB
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    db file sequential read          14,092,706      65,613      5   61.6 User I/O
    DB CPU                                           34,819          32.7
    read by other session               308,534       1,260      4    1.2 User I/O
    direct path read                     97,454         987     10     .9 User I/O
    db file scattered read               71,870         910     13     .9 User I/O
    Host CPU (CPUs:    8 Cores:    8 Sockets:    8)
    ~~~~~~~~         Load Average
                   Begin       End     %User   %System      %WIO     %Idle
                    0.43      0.36      13.7       0.6       9.7      85.7
    Instance CPU
    ~~~~~~~~~~~~
                  % of total CPU for Instance:      13.5
                  % of busy  CPU for Instance:      94.2
      %DB time waiting for CPU - Resource Mgr:       0.0
    Memory Statistics
    ~~~~~~~~~~~~~~~~~                       Begin          End
                      Host Mem (MB):     49,152.0     49,152.0
                       SGA use (MB):      3,072.0      3,072.0
                       PGA use (MB):        506.5        629.1
        % Host Mem used for SGA+PGA:         7.28         7.53
    Time Model Statistics             
    -> Total time in database user-calls (DB Time): 106453.8s
    -> Statistics including the word "background" measure background process
       time, and so do not contribute to the DB time statistic
    -> Ordered by % or DB time desc, Statistic name
    Statistic Name                                       Time (s) % of DB Time
    sql execute elapsed time                            105,531.1         99.1
    DB CPU                                               34,818.8         32.7
    parse time elapsed                                      714.7           .7
    hard parse elapsed time                                 684.8           .6
    PL/SQL execution elapsed time                           161.9           .2
    PL/SQL compilation elapsed time                          44.2           .0
    connection management call elapsed time                  16.9           .0
    hard parse (sharing criteria) elapsed time               10.2           .0
    hard parse (bind mismatch) elapsed time                   9.4           .0
    sequence load elapsed time                                2.9           .0
    repeated bind elapsed time                                0.5           .0
    failed parse elapsed time                                 0.0           .0
    DB time                                             106,453.8
    background elapsed time                               1,753.9
    background cpu time                                      61.7
    Operating System Statistics        
    -> *TIME statistic values are diffed.
       All others display actual values.  End Value is displayed if different
    -> ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
    Statistic                                  Value        End Value
    BUSY_TIME                              3,704,415
    IDLE_TIME                             22,203,740
    IOWAIT_TIME                            2,517,864
    NICE_TIME                                      3
    SYS_TIME                                 145,696
    USER_TIME                              3,557,758
    LOAD                                           0                0
    RSRC_MGR_CPU_WAIT_TIME                         0
    VM_IN_BYTES                      358,813,045,760
    VM_OUT_BYTES                      29,514,830,848
    PHYSICAL_MEMORY_BYTES             51,539,607,552
    NUM_CPUS                                       8
    NUM_CPU_CORES                                  8
    NUM_CPU_SOCKETS                                8
    GLOBAL_RECEIVE_SIZE_MAX                4,194,304
    GLOBAL_SEND_SIZE_MAX                   1,048,586
    TCP_RECEIVE_SIZE_DEFAULT                  87,380
    TCP_RECEIVE_SIZE_MAX                   4,194,304
    TCP_RECEIVE_SIZE_MIN                       4,096
    TCP_SEND_SIZE_DEFAULT                     16,384
    TCP_SEND_SIZE_MAX                      4,194,304
    TCP_SEND_SIZE_MIN                          4,096
    Operating System Statistics -
    Snap Time           Load    %busy    %user     %sys    %idle  %iowait
    29-Feb 03:00:27      0.4      N/A      N/A      N/A      N/A      N/A
    29-Feb 04:00:35      1.4     11.9     11.2      0.6     88.1     14.3
    29-Feb 05:00:41      1.7     13.8     13.2      0.6     86.2     15.8
    29-Feb 06:00:48      1.5     14.0     13.5      0.6     86.0     12.3
    29-Feb 07:01:00      1.8     16.3     15.8      0.5     83.7     10.4
    29-Feb 08:00:12      2.6     23.2     22.5      0.6     76.8     12.6
    29-Feb 09:00:26      1.3     16.6     16.0      0.5     83.4      5.7
    29-Feb 10:00:33      1.2     13.8     13.3      0.5     86.2      2.0
    29-Feb 11:00:43      1.3     14.5     14.0      0.5     85.5      3.8
    29-Feb 12:00:47      0.4      4.9      4.2      0.7     95.1     10.6
    Foreground Wait Class              
    -> s  - second, ms - millisecond -    1000th of a second
    -> ordered by wait time desc, waits desc
    -> %Timeouts: value of 0 indicates value was < .5%.  Value of null is truly 0
    -> Captured Time accounts for         97.9%  of Total DB time     106,453.79 (s)
    -> Total FG Wait Time:            69,415.64 (s)  DB CPU time:      34,818.79 (s)
                                                                      Avg
                                          %Time       Total Wait     wait
    Wait Class                      Waits -outs         Time (s)     (ms)  %DB time
    User I/O                   14,693,843     0           69,222        5      65.0
    DB CPU                                                34,819               32.7
    Commit                         40,629     0              119        3       0.1
    System I/O                     26,504     0               57        2       0.1
    Network                     1,945,010     0               11        0       0.0
    Other                         125,200    99                4        0       0.0
    Application                     2,673     0                2        1       0.0
    Concurrency                     3,059     0                1        0       0.0
    Configuration                      31    19                0       15       0.0
    Foreground Wait Events            
    -> s  - second, ms - millisecond -    1000th of a second
    -> Only events with Total Wait Time (s) >= .001 are shown
    -> ordered by wait time desc, waits desc (idle events last)
    -> %Timeouts: value of 0 indicates value was < .5%.  Value of null is truly 0
                                                                 Avg
                                            %Time Total Wait    wait    Waits   % DB
    Event                             Waits -outs   Time (s)    (ms)     /txn   time
    db file sequential read      14,092,706     0     65,613       5    108.0   61.6
    read by other session           308,534     0      1,260       4      2.4    1.2
    direct path read                 97,454     0        987      10      0.7     .9
    db file scattered read           71,870     0        910      13      0.6     .9
    db file parallel read            35,001     0        372      11      0.3     .3
    log file sync                    40,629     0        119       3      0.3     .1
    control file sequential re       26,504     0         57       2      0.2     .1
    direct path read temp            14,499     0         49       3      0.1     .0
    direct path write temp            9,186     0         28       3      0.1     .0
    SQL*Net message to client     1,923,973     0          5       0     14.7     .0
    SQL*Net message from dblin        1,056     0          5       5      0.0     .0
    Disk file operations I/O          8,848     0          2       0      0.1     .0
    ASM file metadata operatio           36     0          2      54      0.0     .0
    SQL*Net break/reset to cli        2,636     0          1       1      0.0     .0
    ADR block file read                 472     0          1       1      0.0     .0
    os thread startup                     8     0          1      74      0.0     .0
    SQL*Net more data to clien       17,656     0          1       0      0.1     .0
    asynch descriptor resize        123,852   100          0       0      0.9     .0
    local write wait                    110     0          0       4      0.0     .0
    utl_file I/O                     55,635     0          0       0      0.4     .0
    log file switch (private s            8     0          0      52      0.0     .0
    cursor: pin S wait on X               2     0          0     142      0.0     .0
    enq: KO - fast object chec           13     0          0      20      0.0     .0
    PX Deq: Slave Session Stat          248     0          0       1      0.0     .0
    enq: RO - fast object reus           18     0          0      11      0.0     .0
    latch: cache buffers chain        2,511     0          0       0      0.0     .0
    latch: shared pool                  195     0          0       1      0.0     .0
    CSS initialization                   12     0          0       8      0.0     .0
    PX qref latch                        54   100          0       2      0.0     .0
    SQL*Net more data from cli          995     0          0       0      0.0     .0
    SQL*Net more data from dbl          300     0          0       0      0.0     .0
    kksfbc child completion               1   100          0      56      0.0     .0
    library cache: mutex X              244     0          0       0      0.0     .0
    PX Deq: Signal ACK RSG              124     0          0       0      0.0     .0
    undo segment extension                6   100          0       7      0.0     .0
    PX Deq: Signal ACK EXT              124     0          0       0      0.0     .0
    library cache load lock               3     0          0       9      0.0     .0
    ADR block file write                 45     0          0       1      0.0     .0
    CSS operation: action                12     0          0       2      0.0     .0
    reliable message                     28     0          0       1      0.0     .0
    CSS operation: query                 72     0          0       0      0.0     .0
    latch: row cache objects             14     0          0       1      0.0     .0
    enq: SQ - contention                 17     0          0       0      0.0     .0
    latch free                           32     0          0       0      0.0     .0
    buffer busy waits                    52     0          0       0      0.0     .0
    enq: PS - contention                 16     0          0       0      0.0     .0
    enq: TX - row lock content            6     0          0       1      0.0     .0
    SQL*Net message to dblink         1,018     0          0       0      0.0     .0
    cursor: pin S                        23     0          0       0      0.0     .0
    latch: cache buffers lru c            8     0          0       0      0.0     .0
    SQL*Net message from clien    1,923,970     0    944,508     491     14.7
    jobq slave wait                  66,732   100     33,334     500      0.5
    Streams AQ: waiting for me        6,481   100     32,412    5001      0.0
    wait for unread message on       32,858    98     32,411     986      0.3
    PX Deq: Execution Msg             1,448     0        190     131      0.0
    PX Deq: Execute Reply             1,196     0         74      62      0.0
    HS message to agent                 228     0          4      19      0.0
    single-task message                  42     0          4      97      0.0
    PX Deq Credit: send blkd            904     0          2       3      0.0
    PX Deq Credit: need buffer          205     0          1       3      0.0
    Foreground Wait Events            
    -> s  - second, ms - millisecond -    1000th of a second
    -> Only events with Total Wait Time (s) >= .001 are shown
    -> ordered by wait time desc, waits desc (idle events last)
    -> %Timeouts: value of 0 indicates value was < .5%.  Value of null is truly 0
                                                                 Avg
                                            %Time Total Wait    wait    Waits   % DB
    Event                             Waits -outs   Time (s)    (ms)     /txn   time
    PX Deq: Table Q Normal            4,291     0          1       0      0.0
    PX Deq: Join ACK                    124     0          0       1      0.0
    PX Deq: Parse Reply                 124     0          0       0      0.0
    KSV master wait                     256     0          0       0      0.0
    Latch Miss Sources                
    -> only latches with sleeps are shown
    -> ordered by name, sleeps desc
                                                         NoWait              Waiter
    Latch Name               Where                       Misses     Sleeps   Sleeps
    ASM map operation freeli kffmTranslate2                   0          2        0
    DML lock allocation      ktadmc                           0          2        0
    FOB s.o list latch       ksfd_allfob                      0          2        2
    In memory undo latch     ktiFlushMe                       0          5        0
    In memory undo latch     ktichg: child                    0          3        0
    PC and Classifier lists  No latch                         0          6        0
    Real-time plan statistic keswxAddNewPlanEntry             0         20       20
    SQL memory manager worka qesmmIRegisterWorkArea:1         0          1        1
    active service list      kswslogon: session logout        0         23       12
    active service list      kswssetsvc: PX session swi       0          6        1
    active service list      kswsite: service iterator        0          1        0
    archive process latch    kcrrgpll                         0          3        3
    cache buffers chains     kcbgtcr_2                        0      1,746      573
    cache buffers chains     kcbgtcr: fast path (cr pin       0      1,024    2,126
    cache buffers chains     kcbgcur_2                        0         60        8
    cache buffers chains     kcbchg1: kslbegin: bufs no       0         16        3
    cache buffers chains     kcbgtcr: fast path               0         14       20
    cache buffers chains     kcbzibmlt: multi-block rea       0         10        0
    cache buffers chains     kcbrls_2                         0          9       53
    cache buffers chains     kcbgtcr: kslbegin shared         0          8        1
    cache buffers chains     kcbrls_1                         0          7       84
    cache buffers chains     kcbgtcr: kslbegin excl           0          6       14
    cache buffers chains     kcbnew: new latch again          0          6        0
    cache buffers chains     kcbzgb: scan from tail. no       0          6        0
    cache buffers chains     kcbzwb                           0          5        8
    cache buffers chains     kcbgcur: fast path (shr)         0          3        0
    cache buffers chains     kcbget: pin buffer               0          3        0
    cache buffers chains     kcbzhngcbk2_1                    0          1        0
    cache buffers lru chain  kcbzgws                          0         19        0
    cache buffers lru chain  kcbo_link_q                      0          3        0
    call allocation          ksuxds                           0         14       10
    call allocation          ksudlp: top call                 0          2        3
    enqueue hash chains      ksqgtl3                          0          2        1
    enqueue hash chains      ksqrcl                           0          1        2
    enqueues                 ksqgel: create enqueue           0          1        0
    object queue header oper kcbo_unlink_q                    0          5        2
    object queue header oper kcbo_sw_buf                      0          2        0
    object queue header oper kcbo_link_q                      0          1        2
    object queue header oper kcbo_switch_cq                   0          1        2
    object queue header oper kcbo_switch_mq_bg                0          1        4
    parallel query alloc buf kxfpbalo                         0          1        1
    process allocation       ksucrp:1                         0          2        0
    process queue reference  kxfpqrsnd                        0          1        0
    qmn task queue latch     kwqmnmvtsks: delay to read       0          1        0
    redo allocation          kcrfw_redo_gen: redo alloc       0         17        0
    row cache objects        kqreqd: reget                    0          6        0
    row cache objects        kqrpre: find obj                 0          6       13
    row cache objects        kqrso                            0          2        0
    row cache objects        kqreqd                           0          1        2
    row cache objects        kqrpre: init complete            0          1        1
    shared pool              kghalo                           0        199      106
    shared pool              kghupr1                          0         39      109
    shared pool              kghfre                           0         18       19
    shared pool              kghalp                           0          7       29
    space background task la ktsj_grab_task                   0         21       27
    Mutex Sleep Summary                
    -> ordered by number of sleeps desc
                                                                             Wait
    Mutex Type            Location                               Sleeps    Time (ms)
    Library Cache         kglhdgn2 106                              338           12
    Library Cache         kgllkc1   57                              259           10
    Library Cache         kgllkdl1  85                              123           21
    Cursor Pin            kkslce [KKSCHLPIN2]                        70          286
    Library Cache         kglget2   2                                31            1
    Library Cache         kglhdgn1  62                               31            2
    Library Cache         kglpin1   4                                26            1
    Library Cache         kglpnal1  90                               18            0
    Library Cache         kglpndl1  95                               15            2
    Library Cache         kgllldl2 112                                6            0
    Library Cache         kglini1   32                                1            0
              -------------------------------------------------------------Thanks in advance.

    Hi,
    Thanks for reply.
    I provided one hour report.
    Inst Num Startup Time    Release     RAC
    1 27-Feb-12 09:03 11.2.0.2.0  NO
      Platform                         CPUs Cores Sockets Memory(GB)
    Linux x86 64-bit                    8     8       8      48.00
                  Snap Id      Snap Time      Sessions Curs/Sess
    Begin Snap:      5606 29-Feb-12 04:00:35        63       3.7
      End Snap:      5607 29-Feb-12 05:00:41        63       3.6
       Elapsed:               60.11 (mins)
       DB Time:              382.67 (mins)
    Cache Sizes                       Begin        End
    ~~~~~~~~~~~                  ---------- ----------
                   Buffer Cache:     1,952M     1,952M  Std Block Size:        16K
               Shared Pool Size:     1,024M     1,024M      Log Buffer:    18,868K
    Load Profile              Per Second    Per Transaction   Per Exec   Per Call
    ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------
          DB Time(s):                6.4                0.8       0.03       0.03
           DB CPU(s):                1.0                0.1       0.00       0.00
           Redo size:           84,539.3           10,425.6
       Logical reads:           23,345.6            2,879.1
       Block changes:              386.5               47.7
      Physical reads:            1,605.0              197.9
    Physical writes:                7.1                0.9
          User calls:              233.9               28.9
              Parses:                4.0                0.5
         Hard parses:                0.1                0.0
    W/A MB processed:                0.1                0.0
              Logons:                0.1                0.0
            Executes:              210.9               26.0
           Rollbacks:                0.0                0.0
        Transactions:                8.1
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:   99.62       Redo NoWait %:  100.00
                Buffer  Hit   %:   95.57    In-memory Sort %:  100.00
                Library Hit   %:   99.90        Soft Parse %:   98.68
             Execute to Parse %:   98.10         Latch Hit %:   99.99
    Parse CPU to Parse Elapsd %:   32.08     % Non-Parse CPU:   99.90
    Shared Pool Statistics        Begin    End
                 Memory Usage %:   89.25   89.45
        % SQL with executions>1:   96.79   97.52
      % Memory for SQL w/exec>1:   95.67   96.56
    Top 5 Timed Foreground Events
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                               Avg
                                                              wait   % DB
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    db file sequential read           3,054,464      17,002      6   74.0 User I/O
    DB CPU                                            3,748          16.3
    read by other session               199,603         796      4    3.5 User I/O
    direct path read                     46,301         439      9    1.9 User I/O
    db file scattered read               21,113         269     13    1.2 User I/O
    Host CPU (CPUs:    8 Cores:    8 Sockets:    8)
    ~~~~~~~~         Load Average
                   Begin       End     %User   %System      %WIO     %Idle
                    1.45      1.67      13.2       0.6      15.8      86.2
    Instance CPU
    ~~~~~~~~~~~~
                  % of total CPU for Instance:      13.0
                  % of busy  CPU for Instance:      94.7
      %DB time waiting for CPU - Resource Mgr:       0.0
    Memory Statistics
    ~~~~~~~~~~~~~~~~~                       Begin          End
                      Host Mem (MB):     49,152.0     49,152.0
                       SGA use (MB):      3,072.0      3,072.0
                       PGA use (MB):        513.5        467.7
        % Host Mem used for SGA+PGA:         7.29         7.20
    Time Model Statistics            
    -> Total time in database user-calls (DB Time): 22960.5s
    -> Statistics including the word "background" measure background process
       time, and so do not contribute to the DB time statistic
    -> Ordered by % or DB time desc, Statistic name
    Statistic Name                                       Time (s) % of DB Time
    sql execute elapsed time                             22,835.9         99.5
    DB CPU                                                3,748.4         16.3
    parse time elapsed                                       15.4           .1
    hard parse elapsed time                                  14.3           .1
    PL/SQL execution elapsed time                             7.5           .0
    PL/SQL compilation elapsed time                           6.0           .0
    connection management call elapsed time                   1.6           .0
    sequence load elapsed time                                0.4           .0
    hard parse (sharing criteria) elapsed time                0.0           .0
    repeated bind elapsed time                                0.0           .0
    failed parse elapsed time                                 0.0           .0
    DB time                                              22,960.5
    background elapsed time                                 238.1
    background cpu time                                       4.9
    Operating System Statistics        
    -> *TIME statistic values are diffed.
       All others display actual values.  End Value is displayed if different
    -> ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
    Statistic                                  Value        End Value
    BUSY_TIME                                396,506
    IDLE_TIME                              2,483,725
    IOWAIT_TIME                              455,495
    NICE_TIME                                      0
    SYS_TIME                                  16,163
    USER_TIME                                380,052
    LOAD                                           1                2
    RSRC_MGR_CPU_WAIT_TIME                         0
    VM_IN_BYTES                       95,646,943,232
    VM_OUT_BYTES                       1,686,059,008
    PHYSICAL_MEMORY_BYTES             51,539,607,552
    NUM_CPUS                                       8
    NUM_CPU_CORES                                  8
    NUM_CPU_SOCKETS                                8
    GLOBAL_RECEIVE_SIZE_MAX                4,194,304
    GLOBAL_SEND_SIZE_MAX                   1,048,586
    TCP_RECEIVE_SIZE_DEFAULT                  87,380
    TCP_RECEIVE_SIZE_MAX                   4,194,304
    TCP_RECEIVE_SIZE_MIN                       4,096
    TCP_SEND_SIZE_DEFAULT                     16,384
    TCP_SEND_SIZE_MAX                      4,194,304
    TCP_SEND_SIZE_MIN                          4,096
    Operating System Statistics -
    Snap Time           Load    %busy    %user     %sys    %idle  %iowait
    29-Feb 04:00:35      1.4      N/A      N/A      N/A      N/A      N/A
    29-Feb 05:00:41      1.7     13.8     13.2      0.6     86.2     15.8
    Foreground Wait Class              
    -> s  - second, ms - millisecond -    1000th of a second
    -> ordered by wait time desc, waits desc
    -> %Timeouts: value of 0 indicates value was < .5%.  Value of null is truly 0
    -> Captured Time accounts for         97.6%  of Total DB time      22,960.46 (s)
    -> Total FG Wait Time:            18,651.75 (s)  DB CPU time:       3,748.35 (s)
                                                                      Avg
                                          %Time       Total Wait     wait
    Wait Class                      Waits -outs         Time (s)     (ms)  %DB time
    User I/O                    3,327,253     0           18,576        6      80.9
    DB CPU                                                 3,748               16.3
    Commit                         23,882     0               69        3       0.3
    System I/O                      1,035     0                3        3       0.0
    Network                       842,393     0                2        0       0.0
    Other                          10,120    99                0        0       0.0
    Configuration                       3     0                0       58       0.0
    Application                       264     0                0        1       0.0
    Concurrency                     1,482     0                0        0       0.0
    Foreground Wait Events            
    -> s  - second, ms - millisecond -    1000th of a second
    -> Only events with Total Wait Time (s) >= .001 are shown
    -> ordered by wait time desc, waits desc (idle events last)
    -> %Timeouts: value of 0 indicates value was < .5%.  Value of null is truly 0
                                                                 Avg
                                            %Time Total Wait    wait    Waits   % DB
    Event                             Waits -outs   Time (s)    (ms)     /txn   time
    db file sequential read       3,054,464     0     17,002       6    104.5   74.0
    read by other session           199,603     0        796       4      6.8    3.5
    direct path read                 46,301     0        439       9      1.6    1.9
    db file scattered read           21,113     0        269      13      0.7    1.2
    log file sync                    23,882     0         69       3      0.8     .3
    db file parallel read             4,727     0         68      14      0.2     .3
    control file sequential re        1,035     0          3       3      0.0     .0
    SQL*Net message to client       840,792     0          2       0     28.8     .0
    direct path read temp                95     0          2      18      0.0     .0
    local write wait                     79     0          0       4      0.0     .0
    Disk file operations I/O            870     0          0       0      0.0     .0
    ASM file metadata operatio            4     0          0      50      0.0     .0
    log file switch (private s            3     0          0      58      0.0     .0
    ADR block file read                  36     0          0       3      0.0     .0
    enq: RO - fast object reus            5     0          0      16      0.0     .0
    latch: cache buffers chain        1,465     0          0       0      0.1     .0
    SQL*Net break/reset to cli          256     0          0       0      0.0     .0
    asynch descriptor resize         10,059   100          0       0      0.3     .0
    SQL*Net more data to clien        1,510     0          0       0      0.1     .0
    enq: KO - fast object chec            3     0          0       8      0.0     .0
    SQL*Net more data from cli           91     0          0       0      0.0     .0
    latch: shared pool                   14     0          0       0      0.0     .0
    ADR block file write                  5     0          0       1      0.0     .0
    reliable message                      8     0          0       0      0.0     .0
    direct path write temp                1     0          0       2      0.0     .0
    SQL*Net message from clien      840,794     0     68,885      82     28.8
    jobq slave wait                   7,365   100      3,679     499      0.3
    Streams AQ: waiting for me          721   100      3,605    5000      0.0
    wait for unread message on        3,648    98      3,603     988      0.1
    KSV master wait                      20     0          0       0      0.0
    Background Wait Events            
    -> ordered by wait time desc, waits desc (idle events last)
    -> Only events with Total Wait Time (s) >= .001 are shown
    -> %Timeouts: value of 0 indicates value was < .5%.  Value of null is truly 0
                                                                 Avg
                                            %Time Total Wait    wait    Waits   % bg
    Event                             Waits -outs   Time (s)    (ms)     /txn   time
    log file parallel write          29,353     0         83       3      1.0   34.8
    db file parallel write            5,753     0         17       3      0.2    6.9
    db file sequential read           1,638     0         15       9      0.1    6.1
    control file sequential re        5,142     0         13       2      0.2    5.4
    os thread startup                   140     0          8      58      0.0    3.4
    control file parallel writ        1,440     0          8       6      0.0    3.4
    log file sequential read            304     0          8      26      0.0    3.3
    db file scattered read              214     0          2       9      0.0     .8
    ASM file metadata operatio        1,199     0          1       1      0.0     .3
    direct path write                    35     0          0       6      0.0     .1
    direct path read                     41     0          0       5      0.0     .1
    kfk: async disk IO                    6     0          0       9      0.0     .0
    Disk file operations I/O          1,266     0          0       0      0.0     .0
    ADR block file read                  16     0          0       2      0.0     .0
    read by other session                 3     0          0       8      0.0     .0
    Log archive I/O                       2     0          0      10      0.0     .0
    log file sync                         3     0          0       5      0.0     .0
    asynch descriptor resize            341   100          0       0      0.0     .0
    CSS initialization                    1     0          0       6      0.0     .0
    log file single write                 4     0          0       1      0.0     .0
    latch: redo allocation                3     0          0       1      0.0     .0
    ADR block file write                  5     0          0       1      0.0     .0
    LGWR wait for redo copy              45     0          0       0      0.0     .0
    CSS operation: query                  6     0          0       0      0.0     .0
    CSS operation: action                 1     0          0       1      0.0     .0
    SQL*Net message to client           420     0          0       0      0.0     .0
    rdbms ipc message                47,816    39     61,046    1277      1.6
    DIAG idle wait                    7,200   100      7,200    1000      0.2
    Space Manager: slave idle         1,146    98      5,674    4951      0.0
    class slave wait                    284     0      3,983   14026      0.0
    dispatcher timer                     61   100      3,660   60006      0.0
    Streams AQ: qmn coordinato          258    50      3,613   14003      0.0
    Streams AQ: qmn slave idle          130     0      3,613   27789      0.0
    Streams AQ: waiting for ti            7    71      3,608  515430      0.0
    wait for unread message on        3,605   100      3,606    1000      0.1
    pmon timer                        1,201   100      3,604    3001      0.0
    smon timer                           15    73      3,603  240207      0.0
    ASM background timer                754     0      3,602    4777      0.0
    shared server idle wait             120   100      3,601   30006      0.0
    SQL*Net message from clien          554     0          4       7      0.0
    KSV master wait                     101     0          0       2      0.0
    Wait Event Histogram              
    -> Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
    -> % of Waits: value of .0 indicates value was <.05%; value of null is truly 0
    -> % of Waits: column heading of <=1s is truly <1024ms, >1s is truly >=1024ms
    -> Ordered by Event (idle events last)
                                                        % of Waits
                               Total
    Event                      Waits  <1ms  <2ms  <4ms  <8ms <16ms <32ms  <=1s   >1s
    ADR block file read           52  73.1   1.9   9.6  13.5               1.9
    ADR block file write          10 100.0
    ADR file lock                 12 100.0
    ARCH wait for archivelog l     3 100.0
    ASM file metadata operatio  1203  97.3    .5    .7    .3    .2          .9
    CSS initialization             1                   100.0
    CSS operation: action          1       100.0
    CSS operation: query           6  83.3  16.7
    Disk file operations I/O    2118  95.4   4.5    .1
    LGWR wait for redo copy       45 100.0
    Log archive I/O                2                         100.0
    SQL*Net break/reset to cli   256  99.6    .4
    SQL*Net message to client  839.9 100.0    .0
    SQL*Net more data from cli    91 100.0
    SQL*Net more data to clien  1503 100.0
    asynch descriptor resize   10.4K 100.0
    buffer busy waits              2 100.0
    control file parallel writ  1440   5.7  35.1  24.0  16.3  12.0   5.5   1.5
    control file sequential re  6177  69.4   7.5   5.9   8.1   7.1   1.7    .3
    db file parallel read       4727   1.7   3.2   3.2  10.1  46.6  33.3   1.8
    db file parallel write      5755  42.3  21.3  18.6  11.2   4.6   1.4    .5
    db file scattered read     21.5K   8.4   4.3  11.9  18.9  26.3  25.3   4.9
    db file sequential read    3053.  28.7  15.1  11.1  17.9  21.5   5.4    .3    .0
    direct path read           46.3K   9.9   8.8  18.5  21.7  22.8  15.7   2.7
    direct path read temp         95               9.5   9.5  23.2  49.5   8.4
    direct path write             35  11.4  31.4  17.1  22.9  11.4   2.9   2.9
    direct path write temp         1       100.0
    enq: KO - fast object chec     3                    66.7  33.3
    enq: RO - fast object reus     5  20.0              20.0  20.0  20.0  20.0
    kfk: async disk IO             6  50.0  16.7              16.7        16.7
    latch free                     3 100.0
    latch: cache buffers chain  1465 100.0
    latch: cache buffers lru c     1 100.0
    latch: object queue header     2 100.0
    latch: redo allocation         3  33.3  33.3  33.3
    latch: row cache objects       2 100.0
    latch: shared pool            15  93.3   6.7
    local write wait              79        35.4  34.2  21.5   8.9
    log file parallel write    29.4K  47.8  21.7  11.9   9.9   6.8   1.6    .3
    log file sequential read     304   6.3   3.0   3.6  10.2  23.4  24.3  29.3
    log file single write          4  25.0  75.0
    log file switch (private s     3                                     100.0
    log file sync              23.9K  40.9  28.0  12.9   9.7   6.7   1.5    .3
    os thread startup            140                                     100.0
    read by other session      199.6  37.1  19.9  12.9  13.1  13.8   3.1    .2
    reliable message               8 100.0
    ASM background timer         755   2.9    .4    .1    .1    .3    .1    .3  95.8
    DIAG idle wait              7196                                     100.0
    KSV master wait              121  88.4   2.5   3.3   2.5    .8    .8   1.7
    SQL*Net message from clien 840.1  97.1   1.8    .5    .2    .2    .1    .0    .1
    Space Manager: slave idle   1147    .1                                  .5  99.4
    Streams AQ: qmn coordinato   258  49.6                .4                    50.0
    Streams AQ: qmn slave idle   130    .8                                      99.2
    Streams AQ: waiting for me   721                                           100.0
    Streams AQ: waiting for ti     7  28.6                                42.9  28.6
    class slave wait             283  39.9   2.5   2.5   3.5   4.9   9.2  15.2  22.3
    dispatcher timer              60                                           100.0
    jobq slave wait             7360    .0    .0    .0                    99.9
    pmon timer                  1201                                           100.0
    rdbms ipc message          47.8K   2.7  31.6  17.4   1.1   1.1    .9  20.9  24.3
    Wait Event Histogram               DB/Inst: I2KPROD/I2KPROD  Snaps: 5606-5607
    -> Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
    -> % of Waits: value of .0 indicates value was <.05%; value of null is truly 0
    -> % of Waits: column heading of <=1s is truly <1024ms, >1s is truly >=1024ms
    -> Ordered by Event (idle events last)
                                                        % of Waits
                               Total
    Event                      Waits  <1ms  <2ms  <4ms  <8ms <16ms <32ms  <=1s   >1s
    shared server idle wait      120                                           100.0
    smon timer                    16                                       6.3  93.8
    wait for unread message on  7250                                  .1  99.9
    Latch Miss Sources                
    -> only latches with sleeps are shown
    -> ordered by name, sleeps desc
                                                         NoWait              Waiter
    Latch Name               Where                       Misses     Sleeps   Sleeps
    In memory undo latch     ktichg: child                    0          1        0
    active service list      kswslogon: session logout        0          2        0
    cache buffers chains     kcbgtcr_2                        0      1,123      483
    cache buffers chains     kcbgtcr: fast path (cr pin       0        496    1,131
    cache buffers chains     kcbrls_2                         0          5        6
    cache buffers chains     kcbgcur_2                        0          4        0
    cache buffers chains     kcbgtcr: fast path               0          3        1
    cache buffers chains     kcbzwb                           0          2        4
    cache buffers chains     kcbchg1: kslbegin: bufs no       0          1        0
    cache buffers chains     kcbnew: new latch again          0          1        0
    cache buffers chains     kcbrls_1                         0          1        6
    cache buffers chains     kcbzgb: scan from tail. no       0          1        0
    cache buffers lru chain  kcbzgws                          0          1        0
    object queue header oper kcbo_switch_cq                   0          1        0
    object queue header oper kcbo_switch_mq_bg                0          1        2
    redo allocation          kcrfw_redo_gen: redo alloc       0          3        0
    row cache objects        kqrpre: find obj                 0          1        1
    row cache objects        kqrso                            0          1        0
    shared pool              kghalo                           0         13        3
    shared pool              kghupr1                          0          4       15
    shared pool              kghalp                           0          1        0
    space background task la ktsj_grab_task                   0          2        2
              -------------------------------------------------------------

  • EBS 11i AutoInvoice Performance Very Slow

    Hi all,
    EBS 11i
    Oracle 9.2.0.6 32bit
    AutoInvoice Transfer Program has been bugging down the Company's business, a bad start for 2013. Please help for this serious problem :(
    Attached is the "STATSPACK" report for the slow performance time.
    STATSPACK report for
    DB Name         DB Id    Instance     Inst Num Release     Cluster Host
    OAPROD        4204192100 OAPROD              1 9.2.0.6.0   NO      oel5.prod
                                                                       e.local
                  Snap Id     Snap Time      Sessions Curs/Sess Comment
    Begin Snap:       551 02-Jan-13 22:00:04      123      59.1
      End Snap:       553 03-Jan-13 00:00:02       97      48.7
       Elapsed:              119.97 (mins)
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
                   Buffer Cache:       288M      Std Block Size:          8K
               Shared Pool Size:       288M          Log Buffer:     10,240K
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                      Redo size:             54,437.02             65,579.53
                  Logical reads:          2,053,336.52          2,473,626.15
                  Block changes:                383.39                461.86
                 Physical reads:             43,270.67             52,127.57
                Physical writes:                 46.63                 56.18
                     User calls:                 35.83                 43.16
                         Parses:                 25.53                 30.76
                    Hard parses:                  0.18                  0.21
                          Sorts:                186.25                224.38
                         Logons:                  0.08                  0.10
                       Executes:                108.76                131.02
                   Transactions:                  0.83
      % Blocks changed per Read:    0.02    Recursive Call %:     85.81
    Rollback per transaction %:    3.18       Rows per Sort:      3.77
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:   99.99       Redo NoWait %:     99.98
                Buffer  Hit   %:   97.90    In-memory Sort %:    100.00
                Library Hit   %:   99.87        Soft Parse %:     99.31
             Execute to Parse %:   76.52         Latch Hit %:     99.96
    Parse CPU to Parse Elapsd %:   37.01     % Non-Parse CPU:     99.98
    Shared Pool Statistics        Begin   End
                 Memory Usage %:   95.13   94.82
        % SQL with executions>1:   83.58   95.42
      % Memory for SQL w/exec>1:   79.28   92.57
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~                                                     % Total
    Event                                               Waits    Time (s) Ela Time
    CPU time                                                       74,717    84.80
    latch free                                        181,788       8,101     9.19
    db file scattered read                         47,546,136       2,893     3.28
    db file sequential read                        23,092,208       2,006     2.28
    buffer busy waits                               1,812,920         193      .22
    ^LWait Events for DB: OAPROD  Instance: OAPROD  Snaps: 551 -553
    -> s  - second
    -> cs - centisecond -     100th of a second
    -> ms - millisecond -    1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc (idle events last)
                                                                       Avg
                                                         Total Wait   wait    Waits
    Event                               Waits   Timeouts   Time (s)   (ms)     /txn
    latch free                        181,788    180,378      8,101     45     30.4
    db file scattered read         47,546,136          0      2,893      0  7,957.5
    db file sequential read        23,092,208          0      2,006      0  3,864.8
    buffer busy waits               1,812,920          2        193      0    303.4
    log file switch (checkpoint           124         51         69    560      0.0
    log file parallel write            21,251          0         39      2      3.6
    log file sync                       4,072          0         21      5      0.7
    control file parallel write         3,061          0         12      4      0.5
    library cache load lock                 5          2          9   1806      0.0
    log file switch completion             54          6          8    148      0.0
    PX Deq: Execute Reply               7,268          0          6      1      1.2
    PX Deq: Signal ACK                    297        103          6     21      0.0
    PX qref latch                         310        279          5     16      0.1
    PX Deq: Msg Fragment                4,301          0          4      1      0.7
    PX Deq Credit: send blkd            1,256          0          2      2      0.2
    PX Deq: Parse Reply                   267          0          2      7      0.0
    process startup                        46          0          2     39      0.0
    PX Deq: Table Q Sample                 84          0          2     22      0.0
    library cache pin                     337          0          1      4      0.1
    kksfbc child completion               116         76          1     11      0.0
    write complete waits                    2          1          1    491      0.0
    PX Deq: Join ACK                      212          0          1      4      0.0
    SQL*Net break/reset to clien        2,152          0          1      0      0.4
    enqueue                                80          0          1      7      0.0
    db file parallel read                  38          0          0     13      0.0
    SQL*Net more data to client        24,272          0          0      0      4.1
    log file single write                 160          0          0      2      0.0
    PX Deq: Table Q qref                   62          0          0      4      0.0
    control file sequential read        4,336          0          0      0      0.7
    direct path read                   45,818          0          0      0      7.7
    library cache lock                      1          0          0     76      0.0
    direct path write                  22,821          0          0      0      3.8
    LGWR wait for redo copy             5,387          0          0      0      0.9
    PX Deq Credit: need buffer            206          0          0      0      0.0
    undo segment extension             40,035     40,028          0      0      6.7
    db file parallel write              3,904          0          0      0      0.7
    db file single write                   40          0          0      0      0.0
    log file sequential read              160          0          0      0      0.0
    async disk IO                          40          0          0      0      0.0
    SQL*Net message from client       269,626          0    337,613   1252     45.1
    pipe get                            5,313      5,286     21,063   3964      0.9
    queue messages                      1,466      1,464     14,023   9566      0.2
    wakeup time manager                   239        238      6,738  28191      0.0
    PX Idle Wait                        3,475      3,042      6,026   1734      0.6
    jobq slave wait                       961        960      2,824   2939      0.2
    PX Deq: Execution Msg               9,423          1        159     17      1.6
    PX Deq: Table Q Normal              1,362          4          8      6      0.2
    SQL*Net more data from clien       12,643          0          2      0      2.1
    SQL*Net message to client         269,616          0          0      0     45.1
    ^LWait Events for DB: OAPROD  Instance: OAPROD  Snaps: 551 -553
    -> s  - second
    -> cs - centisecond -     100th of a second
    -> ms - millisecond -    1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc (idle events last)
                                                                       Avg
                                                         Total Wait   wait    Waits
    Event                               Waits   Timeouts   Time (s)   (ms)     /txn
    ^LBackground Wait Events for DB: OAPROD  Instance: OAPROD  Snaps: 551 -553
    -> ordered by wait time desc, waits desc (idle events last)
                                                                       Avg
                                                         Total Wait   wait    Waits
    Event                               Waits   Timeouts   Time (s)   (ms)     /txn
    log file parallel write            21,251          0         39      2      3.6
    latch free                            407        353         13     32      0.1
    control file parallel write         2,981          0         12      4      0.5
    db file scattered read              3,464          0          5      1      0.6
    db file sequential read             1,756          0          2      1      0.3
    rdbms ipc reply                       137          0          2     16      0.0
    log file single write                 160          0          0      2      0.0
    enqueue                                17          0          0      6      0.0
    control file sequential read        3,346          0          0      0      0.6
    LGWR wait for redo copy             5,387          0          0      0      0.9
    db file parallel write              3,904          0          0      0      0.7
    direct path read                    1,833          0          0      0      0.3
    direct path write                   1,833          0          0      0      0.3
    log file sequential read              160          0          0      0      0.0
    buffer busy waits                      21          0          0      0      0.0
    rdbms ipc message                  41,753      9,476     33,069    792      7.0
    pmon timer                          4,438      2,164      7,021   1582      0.7
    smon timer                            522          1      6,820  13064      0.1
    ^LSQL ordered by Gets for DB: OAPROD  Instance: OAPROD  Snaps: 551 -553
    -> End Buffer Gets Threshold:     10000
    -> Note that resources reported for PL/SQL includes the resources used by
       all SQL statements called within the PL/SQL code.  As individual SQL
       statements are also reported, it is possible and valid for the summed
       total % to exceed 100
                                                         CPU      Elapsd
      Buffer Gets    Executions  Gets per Exec  %Total Time (s)  Time (s) Hash Value
      5,636,117,159           28  201,289,898.5   38.1 ######## #########  835260576
    Module: RAXTRX
    INSERT INTO RA_INTERFACE_ERRORS  (INTERFACE_LINE_ID,   MESSAGE_
    TEXT,   INVALID_VALUE) SELECT  INTERFACE_LINE_ID, :b_err_msg6, '
    trx_number='||T.TRX_NUMBER||','||'customer_trx_id='||TL.CUSTOMER
    _TRX_ID FROM RA_INTERFACE_LINES_GT IL, RA_CUSTOMER_TRX_LINES TL,
    RA_CUSTOMER_TRX T WHERE  IL.REQUEST_ID = :b1 AND    IL.INTERFAC
        511,626,129           20   25,581,306.5    3.5  8155.90  15045.56  205460129
    Module: JDBC Thin Client
    select  TRANSACTION_BRANCH , BRANCH_ADDRESS_1 , BRANCH_ADDRESS_2
    , BRANCH_PHONES , BRANCH_FAX , BRANCH_TIN , TRX_NUMBER , TRX_NU
    MBER_DISP , TRX_DATE , TRX_DATE_DISP , BILL_TO_CUSTOMER_ID , BIL
    L_TO_CUSTOMER_NAME , SHIP_DATE_ACTUAL_DISP , SHIP_TO_NAME , SHIP
    _TO_ADDRESS1 , SHIP_TO_ADDRESS2 , SHIP_TO_ADDRESS3 , SHIP_TO_ADD
        114,013,000        8,544       13,344.2    0.8  2919.47   4527.54  803969757
    Module: JDBC Thin Client
    SELECT COALESCE(DELV_ADDR.CITY, DELV_ADDR.PROVINCE) FROM APPS.OE
    _ORDER_HEADERS_ALL OE_HEADERS , APPS.RA_SITE_USES_ALL DELV_SITE
    , APPS.RA_ADDRESSES_ALL DELV_ADDR WHERE TO_CHAR(ORDER_NUMBER) =
    :B1 AND DELV_SITE.SITE_USE_ID(+) = OE_HEADERS.DELIVER_TO_ORG_ID
    AND DELV_ADDR.ADDRESS_ID(+) = DELV_SITE.ADDRESS_ID
        113,972,897        8,550       13,330.2    0.8  2924.20   4550.22 3761220362
    Module: JDBC Thin Client
    SELECT DELV_ADDR.ADDRESS1 FROM APPS.OE_ORDER_HEADERS_ALL OE_HEAD
    ERS , APPS.RA_SITE_USES_ALL DELV_SITE , APPS.RA_ADDRESSES_ALL DE
    LV_ADDR WHERE TO_CHAR(ORDER_NUMBER) = :B1 AND DELV_SITE.SITE_USE
    _ID(+) = OE_HEADERS.DELIVER_TO_ORG_ID AND DELV_ADDR.ADDRESS_ID(+
    ) = DELV_SITE.ADDRESS_ID
        113,972,850        8,551       13,328.6    0.8  2919.13   4533.69 4273350236
    Module: JDBC Thin Client...more... > http://www.datafilehost.com/download-60d3df1e.html
    If downloading this file...
    Uncheck [ ] Use our download manager and get recommended downloads
    Your assistance is highly appreciated.
    Thanks a lot,
    Jan

    Hi hussein,
    Is this normal locks for the apps table which is "3". Im selecting the locks even if there is no users in the system.
    SELECT o.owner, o.object_name, o.object_type, o.last_ddl_time, o.status, l.session_id,
    l.oracle_username, l.locked_mode
    FROM dba_objects o, gv$locked_object l
    WHERE o.object_id = l.object_id;
    OWNER       OBJECT_NAME                                OBJECT_TYPE       LAST_DDL  STATUS       SESSION_ID       ORACLE_USERNAME       LOCKED_MODE
    APPLSYS       FND_CONCURRENT_QUEUES               TABLE      24-APR-10      VALID      109      APPS      3
    APPLSYS       FND_CONCURRENT_REQUESTS               TABLE      24-APR-10      VALID      25      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_T       TABLE      24-APR-10      VALID      143      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_T       TABLE      24-APR-10      VALID      139      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_T       TABLE      24-APR-10      VALID      138      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_T       TABLE      24-APR-10      VALID      131      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_T       TABLE      24-APR-10      VALID      115      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_T       TABLE      24-APR-10      VALID      103      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_T       TABLE      24-APR-10      VALID      87      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_H       TABLE      24-APR-10      VALID      143      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_H       TABLE      24-APR-10      VALID      139      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_H       TABLE      24-APR-10      VALID      138      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_H       TABLE      24-APR-10      VALID      131      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_H       TABLE      24-APR-10      VALID      115      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_H       TABLE      24-APR-10      VALID      103      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_H       TABLE      24-APR-10      VALID      87      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_I       TABLE      24-APR-10      VALID      143      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_I       TABLE      24-APR-10      VALID      139      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_I       TABLE      24-APR-10      VALID      138      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_I       TABLE      24-APR-10      VALID      131      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_I       TABLE      24-APR-10      VALID      115      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_I       TABLE      24-APR-10      VALID      103      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_OPP_AQTBL_I       TABLE      24-APR-10      VALID      87      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_T       TABLE      24-APR-10      VALID      121      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_T       TABLE      24-APR-10      VALID      104      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_T       TABLE      24-APR-10      VALID      95      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_T       TABLE      24-APR-10      VALID      75      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_T       TABLE      24-APR-10      VALID      67      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_T       TABLE      24-APR-10      VALID      66      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_T       TABLE      24-APR-10      VALID      55      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_T       TABLE      24-APR-10      VALID      54      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_T       TABLE      24-APR-10      VALID      52      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_H       TABLE      24-APR-10      VALID      121      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_H       TABLE      24-APR-10      VALID      104      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_H       TABLE      24-APR-10      VALID      95      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_H       TABLE      24-APR-10      VALID      75      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_H       TABLE      24-APR-10      VALID      67      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_H       TABLE      24-APR-10      VALID      66      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_H       TABLE      24-APR-10      VALID      55      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_H       TABLE      24-APR-10      VALID      54      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_H       TABLE      24-APR-10      VALID      52      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_I       TABLE      24-APR-10      VALID      121      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_I       TABLE      24-APR-10      VALID      104      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_I       TABLE      24-APR-10      VALID      95      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_I       TABLE      24-APR-10      VALID      75      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_I       TABLE      24-APR-10      VALID      67      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_I       TABLE      24-APR-10      VALID      66      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_I       TABLE      24-APR-10      VALID      55      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_I       TABLE      24-APR-10      VALID      54      APPS      3
    APPLSYS       AQ$_FND_CP_GSM_IPC_AQTBL_I       TABLE      24-APR-10      VALID      52      APPS      3Thanks,
    Edited by: yxes2013 on 21.1.2013 10:18

  • What are the best solutions for data warehouse configuration in 10gR2

    I need help on solutions to be provided to my Client for upgrading the data warehouse.
    Current Configuration: Oracle database 9.2.0.8. This database contains the data warehouse and one more data mart on the same host.Sizes are respectively 6 Terabyte(retention policy of 3 years+current year) and 1 Terabyte. The ETL tool and BO Reporting tools are also hosted on the same host. This current configuration is really performing poor.
    Client cannot go for a major architectural or configuration changes to its existing environment now due to some constraints.
    However, they have agreed to separate out the databases on separate hosts from the ETL tools and BO objects. Also we are planning to upgrade the database to 10gR2 to attain stability, better performance and overcome current headaches.
    We cannot upgrade the database to 11g as the BO is at a version 6.5 which isn't compatible with Oracle 11g. And Client cannot afford to upgrade anything else other than the database.
    So, my role is very vital in providing a perfect solution towards better performance and take a successful migration of Oracle Database from one host to another (similar platform and OS) in addition to upgrade.
    I have till now thought of the following:
    Move the Oracle database and data mart to separate host.
    The host will be the same platform, that is, HP Superdome with HP-UX 32-bit OS (we cannot change to 64-bit as ETL tool doesn't support)
    Install new Oracle database 10g on the new host and move the data to it.
    Exploring all new features of 10gR2 to help data warehouse, that is, SQL MODEL Clause introduction, Parallel processing, Partitioning, Data Pump, SPA to study pre and post migrations.
    Also thinking of RAC to provide more better solution as our main motive is to show a tremendous performance enhancement.
    I need all your help to prepare a good road map for my assignment. Please suggest.
    Thanks,
    Tapan

    SGA=27.5 GB and PGA=50 MB
    Also I am pasting part of STATSPACK Report, eliminating the snaps of DB bounce. Please suggest the scope of improvement in this case.
    STATSPACK report for
    Snap Id Snap Time Sessions Curs/Sess Comment
    Begin Snap: 582946 11-Mar-13 20:02:16 46 12.8
    End Snap: 583036 12-Mar-13 18:24:24 60 118.9
    Elapsed: 1,342.13 (mins)
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
    Buffer Cache: 21,296M Std Block Size: 16K
    Shared Pool Size: 6,144M Log Buffer: 16,384K
    Load Profile
    ~~~~~~~~~~~~ Per Second Per Transaction
    Redo size: 1,343,739.01 139,883.39
    Logical reads: 100,102.54 10,420.69
    Block changes: 3,757.42 391.15
    Physical reads: 6,670.84 694.44
    Physical writes: 874.34 91.02
    User calls: 1,986.04 206.75
    Parses: 247.87 25.80
    Hard parses: 5.82 0.61
    Sorts: 1,566.76 163.10
    Logons: 10.99 1.14
    Executes: 1,309.79 136.35
    Transactions: 9.61
    % Blocks changed per Read: 3.75 Recursive Call %: 43.34
    Rollback per transaction %: 3.49 Rows per Sort: 190.61
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Buffer Nowait %: 99.90 Redo NoWait %: 100.00
    Buffer Hit %: 96.97 In-memory Sort %: 100.00
    Library Hit %: 99.27 Soft Parse %: 97.65
    Execute to Parse %: 81.08 Latch Hit %: 99.58
    Parse CPU to Parse Elapsd %: 3.85 % Non-Parse CPU: 99.34
    Shared Pool Statistics Begin End
    Memory Usage %: 7.11 50.37
    % SQL with executions>1: 62.31 46.46
    % Memory for SQL w/exec>1: 26.75 13.47
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~ % Total
    Event Waits Time (s) Ela Time
    CPU time 492,062 43.66
    db file sequential read 157,418,414 343,549 30.49
    library cache pin 92,339 66,759 5.92
    PX qref latch 63,635 43,845 3.89
    db file scattered read 2,506,806 41,677 3.70
    Background Wait Events for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
    -> ordered by wait time desc, waits desc (idle events last)
    Avg
    Total Wait wait Waits
    Event Waits Timeouts Time (s) (ms) /txn
    log file sequential read 176,386 0 3,793 22 0.2
    log file parallel write 2,685,833 0 1,813 1 3.5
    db file parallel write 239,166 0 1,350 6 0.3
    control file parallel write 33,432 0 79 2 0.0
    LGWR wait for redo copy 478,120 536 75 0 0.6
    rdbms ipc reply 10,027 0 47 5 0.0
    control file sequential read 32,414 0 40 1 0.0
    db file scattered read 4,101 0 30 7 0.0
    db file sequential read 13,946 0 29 2 0.0
    direct path read 203,694 0 14 0 0.3
    log buffer space 363 0 13 37 0.0
    latch free 3,766 0 9 2 0.0
    direct path write 80,491 0 6 0 0.1
    async disk IO 351,955 0 4 0 0.5
    enqueue 28 0 1 21 0.0
    buffer busy waits 1,281 0 1 0 0.0
    log file single write 172 0 0 1 0.0
    rdbms ipc message 10,563,204 251,286 992,837 94 13.7
    pmon timer 34,751 34,736 78,600 2262 0.0
    smon timer 7,462 113 76,463 10247 0.0
    Instance Activity Stats for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
    Statistic Total per Second per Trans
    CPU used by this session 49,206,154 611.0 63.6
    CPU used when call started 49,435,735 613.9 63.9
    CR blocks created 6,740,777 83.7 8.7
    Cached Commit SCN referenced 423,253,503 5,256.0 547.2
    Commit SCN cached 19,165 0.2 0.0
    DBWR buffers scanned 48,276,489 599.5 62.4
    DBWR checkpoint buffers written 6,959,752 86.4 9.0
    DBWR checkpoints 454 0.0 0.0
    DBWR free buffers found 44,817,183 556.5 57.9
    DBWR lru scans 137,149 1.7 0.2
    DBWR make free requests 162,528 2.0 0.2
    DBWR revisited being-written buff 4,220 0.1 0.0
    DBWR summed scan depth 48,276,489 599.5 62.4
    DBWR transaction table writes 5,036 0.1 0.0
    DBWR undo block writes 2,989,436 37.1 3.9
    DDL statements parallelized 3,723 0.1 0.0
    DFO trees parallelized 4,157 0.1 0.0
    DML statements parallelized 3 0.0 0.0
    OS Block input operations 29,850 0.4 0.0
    OS Block output operations 1,591 0.0 0.0
    OS Characters read/written 182,109,814,791 2,261,447.1 235,416.9
    OS Integral unshared data size ################## 242,463,432.4 ############
    OS Involuntary context switches 188,257,786 2,337.8 243.4
    OS Maximum resident set size 43,518,730,619 540,417.4 56,257.5
    OS Page reclaims 159,430,953 1,979.8 206.1
    OS Signals received 5,260,938 65.3 6.8
    OS Socket messages received 79,438,383 986.5 102.7
    OS Socket messages sent 93,064,176 1,155.7 120.3
    OS System time used 10,936,430 135.8 14.1
    OS User time used 132,043,884 1,639.7 170.7
    OS Voluntary context switches 746,207,739 9,266.4 964.6
    PX local messages recv'd 55,120,663 684.5 71.3
    PX local messages sent 55,120,817 684.5 71.3
    Parallel operations downgraded 1 3 0.0 0.0
    Parallel operations not downgrade 4,154 0.1 0.0
    SQL*Net roundtrips to/from client 155,422,335 1,930.0 200.9
    SQL*Net roundtrips to/from dblink 18 0.0 0.0
    active txn count during cleanout 16,529,551 205.3 21.4
    background checkpoints completed 43 0.0 0.0
    background checkpoints started 43 0.0 0.0
    background timeouts 280,202 3.5 0.4
    branch node splits 4,428 0.1 0.0
    buffer is not pinned count 6,382,440,322 79,257.4 8,250.7
    buffer is pinned count 9,675,661,370 120,152.8 12,507.9
    bytes received via SQL*Net from c 67,384,496,376 836,783.4 87,109.3
    bytes received via SQL*Net from d 6,142 0.1 0.0
    bytes sent via SQL*Net to client 50,240,643,657 623,890.4 64,947.1
    bytes sent via SQL*Net to dblink 3,701 0.1 0.0
    calls to get snapshot scn: kcmgss 145,385,064 1,805.4 187.9
    calls to kcmgas 36,816,132 457.2 47.6
    calls to kcmgcs 3,514,770 43.7 4.5
    change write time 369,373 4.6 0.5
    cleanout - number of ktugct calls 20,954,488 260.2 27.1
    cleanouts and rollbacks - consist 6,357,174 78.9 8.2
    cleanouts only - consistent read 10,078,802 125.2 13.0
    cluster key scan block gets 69,403,565 861.9 89.7
    Instance Activity Stats for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
    Statistic Total per Second per Trans
    cluster key scans 41,311,211 513.0 53.4
    commit cleanout failures: block l 413,776 5.1 0.5
    commit cleanout failures: buffer 414 0.0 0.0
    commit cleanout failures: callbac 41,194 0.5 0.1
    commit cleanout failures: cannot 174,382 2.2 0.2
    commit cleanouts 11,469,056 142.4 14.8
    commit cleanouts successfully com 10,839,290 134.6 14.0
    commit txn count during cleanout 17,155,424 213.0 22.2
    consistent changes 145,418,277 1,805.8 188.0
    consistent gets 8,043,252,188 99,881.4 10,397.7
    consistent gets - examination 3,180,028,047 39,489.7 4,110.9
    current blocks converted for CR 9 0.0 0.0
    cursor authentications 14,926 0.2 0.0
    data blocks consistent reads - un 143,706,500 1,784.6 185.8
    db block changes 302,577,666 3,757.4 391.2
    db block gets 336,562,217 4,179.4 435.1
    deferred (CURRENT) block cleanout 2,912,793 36.2 3.8
    dirty buffers inspected 627,174 7.8 0.8
    enqueue conversions 1,296,337 16.1 1.7
    enqueue releases 13,053,200 162.1 16.9
    enqueue requests 13,239,092 164.4 17.1
    enqueue timeouts 185,878 2.3 0.2
    enqueue waits 114,120 1.4 0.2
    exchange deadlocks 7,390 0.1 0.0
    execute count 105,475,101 1,309.8 136.4
    free buffer inspected 1,604,407 19.9 2.1
    free buffer requested 258,126,047 3,205.4 333.7
    hot buffers moved to head of LRU 22,793,576 283.1 29.5
    immediate (CR) block cleanout app 16,436,010 204.1 21.3
    immediate (CURRENT) block cleanou 2,860,013 35.5 3.7
    index fast full scans (direct rea 12,375 0.2 0.0
    index fast full scans (full) 3,733 0.1 0.0
    index fast full scans (rowid rang 192,148 2.4 0.3
    index fetch by key 1,321,024,486 16,404.5 1,707.7
    index scans kdiixs1 406,165,684 5,043.8 525.1
    leaf node 90-10 splits 50,373 0.6 0.1
    leaf node splits 697,235 8.7 0.9
    logons cumulative 884,756 11.0 1.1
    messages received 3,276,719 40.7 4.2
    messages sent 3,257,171 40.5 4.2
    no buffer to keep pinned count 569 0.0 0.0
    no work - consistent read gets 4,406,092,172 54,715.0 5,695.8
    opened cursors cumulative 20,527,704 254.9 26.5
    parse count (failures) 267,088 3.3 0.4
    parse count (hard) 468,996 5.8 0.6
    parse count (total) 19,960,548 247.9 25.8
    parse time cpu 323,024 4.0 0.4
    parse time elapsed 8,393,422 104.2 10.9
    physical reads 537,189,332 6,670.8 694.4
    physical reads direct 292,545,140 3,632.8 378.2
    physical writes 70,409,002 874.3 91.0
    physical writes direct 59,248,394 735.8 76.6
    physical writes non checkpoint 69,103,391 858.1 89.3
    pinned buffers inspected 11,893 0.2 0.0
    prefetched blocks 95,892,161 1,190.8 124.0
    prefetched blocks aged out before 1,495,883 18.6 1.9
    Instance Activity Stats for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
    Statistic Total per Second per Trans
    process last non-idle time ################## ############## ############
    queries parallelized 417 0.0 0.0
    recursive calls 122,323,299 1,519.0 158.1
    recursive cpu usage 3,144,533 39.1 4.1
    redo blocks written 180,881,558 2,246.2 233.8
    redo buffer allocation retries 5,400 0.1 0.0
    redo entries 164,728,513 2,045.6 213.0
    redo log space requests 1,006 0.0 0.0
    redo log space wait time 2,230 0.0 0.0
    redo ordering marks 2,563 0.0 0.0
    redo size 108,208,614,904 1,343,739.0 139,883.4
    redo synch time 558,520 6.9 0.7
    redo synch writes 2,343,824 29.1 3.0
    redo wastage 1,126,585,600 13,990.0 1,456.4
    redo write time 718,655 8.9 0.9
    redo writer latching time 7,763 0.1 0.0
    redo writes 2,685,833 33.4 3.5
    rollback changes - undo records a 522,742 6.5 0.7
    rollbacks only - consistent read 335,177 4.2 0.4
    rows fetched via callback 1,100,990,382 13,672.1 1,423.3
    session connect time ################## ############## ############
    session cursor cache count 1,061 0.0 0.0
    session cursor cache hits 1,687,796 21.0 2.2
    session logical reads 8,061,057,193 100,102.5 10,420.7
    session pga memory 1,573,228,913,832 19,536,421.0 2,033,743.8
    session pga memory max 1,841,357,626,496 22,866,054.4 2,380,359.0
    session uga memory 1,074,114,630,336 13,338,399.4 1,388,529.0
    session uga memory max 386,645,043,296 4,801,374.0 499,823.6
    shared hash latch upgrades - no w 410,360,146 5,095.9 530.5
    sorts (disk) 2,657 0.0 0.0
    sorts (memory) 126,165,625 1,566.7 163.1
    sorts (rows) 24,048,783,304 298,638.8 31,088.3
    summed dirty queue length 5,438,201 67.5 7.0
    switch current to new buffer 1,302,798 16.2 1.7
    table fetch by rowid 6,201,503,534 77,010.5 8,016.8
    table fetch continued row 26,649,697 330.9 34.5
    table scan blocks gotten 1,864,435,032 23,152.6 2,410.2
    table scan rows gotten 43,639,997,280 541,923.3 56,414.3
    table scans (cache partitions) 26,112 0.3 0.0
    table scans (direct read) 246,243 3.1 0.3
    table scans (long tables) 340,200 4.2 0.4
    table scans (rowid ranges) 359,617 4.5 0.5
    table scans (short tables) 9,111,559 113.2 11.8
    transaction rollbacks 4,819 0.1 0.0
    transaction tables consistent rea 824 0.0 0.0
    transaction tables consistent rea 1,386,848 17.2 1.8
    user calls 159,931,913 1,986.0 206.8
    user commits 746,543 9.3 1.0
    user rollbacks 27,020 0.3 0.0
    write clones created in backgroun 7 0.0 0.0
    write clones created in foregroun 4,350 0.1 0.0
    Buffer Pool Statistics for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
    -> Standard block size Pools D: default, K: keep, R: recycle
    -> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
    Free Write Buffer
    Number of Cache Buffer Physical Physical Buffer Complete Busy
    P Buffers Hit % Gets Reads Writes Waits Waits Waits
    D 774,144 95.6############ 233,869,082 10,089,734 0 0########
    K 504,000 99.9############ 3,260,227 1,070,338 0 0 65,898
    R 63,504 96.2 196,079,539 7,511,863 535 0 0 0
    Buffer wait Statistics for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
    -> ordered by wait time desc, waits desc
    Tot Wait Avg
    Class Waits Time (s) Time (ms)
    data block 7,791,121 14,676 2
    file header block 587 101 172
    undo header 151,617 71 0
    segment header 299,312 58 0
    1st level bmb 45,235 7 0
    bitmap index block 392 1 3
    undo block 4,250 1 0
    2nd level bmb 14 0 0
    system undo header 2 0 0
    3rd level bmb 1 0 0
    Latch Activity for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
    ->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
    willing-to-wait latch get requests
    ->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
    ->"Pct Misses" for both should be very close to 0.0
    Pct Avg Wait Pct
    Get Get Slps Time NoWait NoWait
    Latch Requests Miss /Miss (s) Requests Miss
    Consistent RBA 2,686,230 0.0 0.2 0 0
    FAL request queue 86 0.0 0 0
    FAL subheap alocation 0 0 2 0.0
    FIB s.o chain latch 1,089 0.0 0 0
    FOB s.o list latch 4,589,986 0.5 0.0 2 0
    NLS data objects 1 0.0 0 0
    SQL memory manager worka 5,963 0.0 0 0
    Token Manager 0 0 2 0.0
    active checkpoint queue 719,439 0.3 0.1 0 1 0.0
    alert log latch 184 0.0 0 2 0.0
    archive control 4,365 0.0 0 0
    archive process latch 1,808 0.6 0.6 0 0
    begin backup scn array 3,387,572 0.0 0.0 0 0
    cache buffer handles 1,577,222 0.2 0.0 0 0
    cache buffers chains ############## 0.5 0.0 430 354,357,972 0.3
    cache buffers lru chain 17,153,023 0.1 0.0 1 385,505,654 0.5
    cas latch 538,804,153 0.3 0.0 7 0
    channel handle pool latc 1,776,950 0.5 0.0 0 0
    channel operations paren 2,901,371 0.3 0.0 0 0
    checkpoint queue latch 99,329,722 0.0 0.0 0 11,153,369 0.1
    child cursor hash table 3,927,427 0.0 0.0 0 0
    commit callback allocati 8,739 0.0 0 0
    dictionary lookup 7,980 0.0 0 0
    dml lock allocation 6,767,990 0.1 0.0 0 0
    dummy allocation 1,898,183 0.2 0.1 0 0
    enqueue hash chains 27,741,348 0.1 0.1 4 0
    enqueues 17,450,161 0.3 0.1 6 0
    error message lists 132,828 2.6 0.2 1 0
    event group latch 884,066 0.0 0.7 0 0
    event range base latch 1 0.0 0 0
    file number translation 34 38.2 0.9 0 0
    global tx hash mapping 577,859 0.0 0 0
    hash table column usage 4,062 0.0 0 8,757,234 0.0
    hash table modification 16 0.0 0 2 0.0
    i/o slave adaptor 0 0 2 0.0
    job workq parent latch 4 100.0 0.3 0 494 8.7
    job_queue_processes para 1,950 0.0 0 2 0.0
    ksfv messages 0 0 4 0.0
    ktm global data 8,219 0.0 0 0
    lgwr LWN SCN 2,687,862 0.0 0.0 0 0
    library cache 310,882,781 0.9 0.0 34 104,759 4.0
    library cache load lock 30,369 0.0 0.3 0 0
    library cache pin 153,821,358 0.1 0.0 2 0
    library cache pin alloca 126,316,296 0.1 0.0 4 0
    list of block allocation 2,730,808 0.3 0.0 0 0
    loader state object free 566,036 0.1 0.0 0 0
    longop free list parent 197,368 0.0 0 8,390 0.0
    message pool operations 14,424 0.0 0.0 0 0
    messages 25,931,764 0.1 0.0 1 0
    mostly latch-free SCN 40,124,948 0.3 0.0 5 0
    Latch Sleep breakdown for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
    -> ordered by misses desc
    Get Spin &
    Latch Name Requests Misses Sleeps Sleeps 1->4
    cache buffers chains ############## 74,770,083 1,062,119 73803903/884
    159/71439/10
    582/0
    redo allocation 170,107,983 3,441,055 149,631 3292872/1467
    48/1426/9/0
    library cache 310,882,781 2,831,747 89,240 2754499/6780
    6/7405/2037/
    0
    shared pool 158,471,190 1,755,922 55,268 1704342/4836
    9/2826/385/0
    cas latch 538,804,153 1,553,992 6,927 1547125/6808
    /58/1/0
    row cache objects 161,142,207 1,176,998 27,658 1154070/1952
    0/2560/848/0
    process queue reference 1,893,917,184 1,119,215 106,454 78758/4351/1
    36/0/0
    Library Cache Activity for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
    ->"Pct Misses" should be very low
    Get Pct Pin Pct Invali-
    Namespace Requests Miss Requests Miss Reloads dations
    BODY 3,137,721 0.0 3,137,722 0.0 0 0
    CLUSTER 6,741 0.1 4,420 0.2 0 0
    INDEX 353,708 0.8 361,065 1.2 0 0
    SQL AREA 17,052,073 0.3 54,615,678 0.9 410,682 19,628
    TABLE/PROCEDURE 3,521,884 0.2 12,922,737 0.1 619 0
    TRIGGER 1,975,977 0.0 1,975,977 0.0 1 0
    SGA Memory Summary for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
    SGA regions Size in Bytes
    Database Buffers 22,330,474,496
    Fixed Size 779,288
    Redo Buffers 17,051,648
    Variable Size 7,180,648,448
    sum 29,528,953,880

  • Control File Sequential Read in 11.2

    Hi to all,
    i'm in 11.2 database and i'm looking an awr report.
    Time:
    Begin Snap: 9642 31-Gen-12 16:00:26 51 2.5
    End Snap: 9643 31-Gen-12 16:40:27 52 2.6 This is my load profile:
    Load Profile              Per Second    Per Transaction   Per Exec   Per Call
    ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------
          DB Time(s):                0.2                0.3       0.01       0.02
           DB CPU(s):                0.1                0.1       0.00       0.01
           Redo size:            2,989.8            4,490.0
       Logical reads:            1,823.2            2,738.1and this is the wait:
    Top 5 Timed Foreground Events
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                               Avg
                                                              wait   % DB
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    DB CPU                                              120          32.5
    direct path read                    110,371          40      0   11.0 User I/O
    db file sequential read              10,026          20      2    5.5 User I/O
    control file sequential read         27,409          11      0    3.1 System I/OWhy i've too high control file sequential read?
    I've read note 941761.1 and i've traced a session that create snapshot to see if there is
    a table that generate to many wait.
    This is the end of the trace:
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse      420      0.07       0.34          0          0          8           0
    Execute    852      1.19       5.70        128       2446       4602        5870
    Fetch     1537      0.28       1.18         31       6939          4        1378
    total     2809      1.54       7.23        159       9385       4614        7248
    Misses in library cache during parse: 215
    Misses in library cache during execute: 209
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      Disk file operations I/O                       25        0.00          0.00
      db file sequential read                       178        0.32          2.00
      control file sequential read                  169        0.02          0.13
      asynch descriptor resize                       73        0.00          0.00
      CSS initialization                              2        0.01          0.01
      CSS operation: action                           2        0.01          0.02
      CSS operation: query                            6        0.00          0.00
      kfk: async disk IO                              5        0.00          0.00
      direct path write                               5        0.00          0.00Any ideas?

    Just to expand on the previous answer - your database isn't doing anything.
    This is an AWR report for a 40 minute period.
    You've accumulated a few seconds worth of work.
    Nothing happening.
    There will always be a top 5.

  • Regarding 'Direct Path Read' waits

    As we all know, direct path read waits is a new feature in Oracle 11g. From Oracle Documents or others' articles, when it is full table scan, direct path read occured. But why it occured?  I don't know clearly.
    Below is Oracle Document description:
    http://docs.oracle.com/cd/E18283_01/server.112/e17110/waitevents003.htm#sthref3849
    During Direct Path operations the data is asynchronously read from the database files. At some stage the session needs to make sure that all outstanding asynchronous I/O have been completed to disk. This can also happen if during a direct read no more slots are available to store outstanding load requests (a load request could consist of multiple I/Os).
    Question:
    1. During Direct Path operations the data is asynchronously read from the database files.  >> what does this statement mean? what's ''asynchronously read'?
    2. describe above description for me in details.
    3. who can clearly explain 'why direct path read waits occur' for me?
    Thanks in advance.
    Lonion

    Lonion wrote:
    Question:
    1. During Direct Path operations the data is asynchronously read from the database files.  >> what does this statement mean? what's ''asynchronously read'?
    2. describe above description for me in details.
    3. who can clearly explain 'why direct path read waits occur' for me?
    If you want to get very technical, Frits Hoogland has written lots of stuff about the implementation:
    http://fritshoogland.wordpress.com/2013/05/09/direct-path-read-and-fast-full-index-scans/
    http://fritshoogland.wordpress.com/2013/01/04/oracle-11-2-and-the-direct-path-read-event/
    http://fritshoogland.wordpress.com/2012/12/27/oracle-11-2-0-1-and-the-kfk-async-disk-io-wait-event/
    http://www.ukoug.org/what-we-offer/library/about-multiblock-reads/about-multiblock-reads.pdf
    Regards
    Jonathan Lewis

  • Oracle 9i latch free.短暂性hang

    os: hpux 11.31 oracle:9208
    上传statspack信息。
    Enter value for report_name:
    Using the report name sp_1777_1778
    STATSPACK report for
    DB Name DB Id Instance Inst Num Release Cluster Host
    WSCDB 1940024694 WSCDB 1 9.2.0.8.0 NO SC3GUP01
    Snap Id Snap Time Sessions Curs/Sess Comment
    Begin Snap: 1777 06-11月-12 10:00:00 217 .9
    End Snap: 1778 06-11月-12 11:00:01 288 .8
    Elapsed: 60.02 (mins)
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
    Buffer Cache: 6,000M Std Block Size: 16K
    Shared Pool Size: 2,000M Log Buffer: 2,930K
    Load Profile
    ~~~~~~~~~~~~ Per Second Per Transaction
    Redo size: -416,814.48 -2,138.95
    Logical reads: 12,188.91 62.55
    Block changes: 2,745.05 14.09
    Physical reads: 77.66 0.40
    Physical writes: 40.61 0.21
    User calls: 4,732.04 24.28
    Parses: 1,600.33 8.21
    Hard parses: 255.91 1.31
    Sorts: 261.44 1.34
    Logons: 0.32 0.00
    Executes: 1,601.28 8.22
    Transactions: 194.87
    % Blocks changed per Read: 22.52 Recursive Call %: 6.80
    Rollback per transaction %: 1.25 Rows per Sort: 14.70
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Buffer Nowait %: 99.99 Redo NoWait %: 100.00
    Buffer Hit %: 99.37 In-memory Sort %: 100.00
    Library Hit %: 91.76 Soft Parse %: 84.01
    Execute to Parse %: 0.06 Latch Hit %: 100.12
    Parse CPU to Parse Elapsd %: 21.72 % Non-Parse CPU: 61.75
    Shared Pool Statistics Begin End
    Memory Usage %: 91.91 92.08
    % SQL with executions>1: 1.50 1.66
    % Memory for SQL w/exec>1: 4.73 4.85
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~ % Total
    Event Waits Time (s) Ela Time
    latch free 263,448 6,609 61.98
    CPU time 2,804 26.30
    log file sync 694,930 610 5.72
    log file parallel write 1,347,686 276 2.59
    db file scattered read 25,263 109 1.03
    Wait Events for DB: WSCDB Instance: WSCDB Snaps: 1777 -1778
    -> s - second
    -> cs - centisecond - 100th of a second
    -> ms - millisecond - 1000th of a second
    -> us - microsecond - 1000000th of a second
    -> ordered by wait time desc, waits desc (idle events last)
    Avg
    Total Wait wait Waits
    Event Waits Timeouts Time (s) (ms) /txn
    latch free 263,448 0 6,609 25 0.4
    log file sync 694,930 0 610 1 1.0
    log file parallel write 1,347,686 0 276 0 1.9
    db file scattered read 25,263 0 109 4 0.0
    db file sequential read 23,510 0 107 5 0.0
    db file parallel write 71,624 0 57 1 0.1
    enqueue 2,215 0 34 15 0.0
    log file sequential read 2,060 0 18 9 0.0
    direct path write (lob) 27,258 0 14 0 0.0
    direct path read (lob) 777 0 7 9 0.0
    buffer busy waits 5,745 0 4 1 0.0
    LGWR wait for redo copy 1,886 0 3 2 0.0
    direct path write 308 0 3 10 0.0
    control file sequential read 1,836 0 3 2 0.0
    log file switch completion 28 0 2 78 0.0
    control file parallel write 1,255 0 2 2 0.0
    wait list latch free 8 0 0 23 0.0
    SQL*Net more data to client 7,201 0 0 0 0.0
    process startup 3 0 0 37 0.0
    local write wait 4 0 0 25 0.0
    SQL*Net break/reset to clien 396 0 0 0 0.0
    direct path read 312 0 0 0 0.0
    log file single write 8 0 0 2 0.0
    library cache pin 1 0 0 1 0.0
    async disk IO 512 0 0 0 0.0
    buffer deadlock 48 48 0 0 0.0
    SQL*Net message from client 11,558,618 0 567,046 49 16.5
    virtual circuit status 120 120 3,505 29211 0.0
    jobq slave wait 66 63 191 2897 0.0
    SQL*Net message to client 11,558,692 0 7 0 16.5
    SQL*Net more data from clien 266,289 0 4 0 0.4
    Background Wait Events for DB: WSCDB Instance: WSCDB Snaps: 1777 -1778
    -> ordered by wait time desc, waits desc (idle events last)
    Avg
    Total Wait wait Waits
    Event Waits Timeouts Time (s) (ms) /txn
    log file parallel write 1,347,698 0 276 0 1.9
    db file parallel write 71,625 0 57 1 0.1
    log file sequential read 2,060 0 18 9 0.0
    latch free 189 0 9 49 0.0
    LGWR wait for redo copy 1,886 0 3 2 0.0
    direct path write 216 0 3 13 0.0
    control file parallel write 1,255 0 2 2 0.0
    control file sequential read 1,462 0 1 1 0.0
    db file scattered read 24 0 0 5 0.0
    direct path read 312 0 0 0 0.0
    db file sequential read 23 0 0 2 0.0
    log file single write 8 0 0 2 0.0
    rdbms ipc reply 16 0 0 1 0.0
    buffer busy waits 4 0 0 0 0.0
    async disk IO 512 0 0 0 0.0
    rdbms ipc message 3,933,397 2,323 33,117 8 5.6
    pmon timer 1,201 1,201 3,516 2928 0.0
    smon timer 22 6 3,464 ###### 0.0
    -------------------------------------------------------------

    请把问题时段的statspack 报告发给我
    有问题请去OTN中文论坛开个帖子 我会回复 地址:http://www.otncn.org
    如果需要发送附件,可以直接发邮件到 [email protected]

  • Automatic DOP take more time to execute query

    We upgraded database to oracle 11gR2. While testing Automatic DOP feature with our existing query it takes more time than with parallel.
    Note: No constrains or Index created on table to gain performance while loading data (5000records / sec)
    Os : Sun Solaris 64bit
    CPU = 8
    RAM = 7456M
    Default parameter settings:
    parallel_degree_policy               string      MANUAL
    parallel_degree_limit                string      CPU
    parallel_threads_per_cpu             integer     2
    arallel_degree_limit                 string      CPU
    cpu_count                            integer     8
    parallel_threads_per_cpu             integer     2
    resource_manager_cpu_allocation      integer     8
    Query:
    SELECT COUNT(*)
    from (
    SELECT
    /*+ FIRST_ROWS(50), PARALLEL */
    Query gets executed in 22minutes : execution plan
      COUNT(*)
          9600
    Elapsed: 00:22:10.71
    Execution Plan
    Plan hash value: 3765539975
    | Id  | Operation           | Name             | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT    |                  |     1 |    21 |  2164K  (1)| 07:12:52 |       |   |
    |   1 |  SORT AGGREGATE     |                  |     1 |    21 |            |          |       |   |
    |   2 |   PARTITION RANGE OR|                  | 89030 |  1825K|  2164K  (1)| 07:12:52 |KEY(OR)|KEY(OR)|
    |*  3 |    TABLE ACCESS FULL| SUBSCRIBER_EVENT | 89030 |  1825K|  2164K  (1)| 07:12:52 |KEY(OR)|KEY(OR)|Automatic DOP Query: parameters set
    alter session set PARALLEL_DEGREE_POLICY = limited;
    alter session force parallel query ;Query:
    SELECT COUNT(*)
    from (
    SELECT /*+ FIRST_ROWS(50), PARALLEL*/
    This query takes more than 2hrs to execute
    COUNT(*)
          9600
    Elapsed: 02:07:48.81
    Execution Plan
    Plan hash value: 127536830
    | Id  | Operation              | Name             | Rows  | Bytes | Cost (%CPU)| Time     | Pstart|Pstop |    TQ   |IN-OUT| PQ Distrib |
    |   0 | SELECT STATEMENT       |                  |     1 |    21 |   150K  (1)| 00:30:01 |       |      |         |      |            |
    |   1 |  SORT AGGREGATE        |                  |     1 |    21 |            |          |       |      |         |      |            |
    |   2 |   PX COORDINATOR       |                  |       |       |            |          |       |      |         |      |            |
    |   3 |    PX SEND QC (RANDOM) | :TQ10000         |     1 |    21 |            |          |       |      |  Q1,00  | P->S | QC (RAND)  |
    |   4 |     SORT AGGREGATE     |                  |     1 |    21 |            |          |       |      |  Q1,00  | PCWP |            |
    |   5 |      PX BLOCK ITERATOR |                  | 89030 |  1825K|   150K  (1)| 00:30:01 |KEY(OR)|KEY(OR)|  Q1,00 | PCWC |            |
    |*  6 |       TABLE ACCESS FULL| SUBSCRIBER_EVENT | 89030 |  1825K|   150K  (1)| 00:30:01 |KEY(OR)|KEY(OR)|  Q1,00 | PCWP |            |
    Note
    - automatic DOP: Computed Degree of Parallelism is 16 because of degree limitcan some one help us to find out where we did wrong or any pointer will really helpful to resolve an issue.
    Edited by: Sachin B on May 11, 2010 4:05 AM

    Generated AWR report for ADOP
    Foreground Wait Events                       DB/Inst: HDB/hdb  Snaps: 158-161
    -> s  - second, ms - millisecond -    1000th of a second
    -> Only events with Total Wait Time (s) >= .001 are shown
    -> ordered by wait time desc, waits desc (idle events last)
    -> %Timeouts: value of 0 indicates value was < .5%.  Value of null is truly 0
                                                                 Avg
                                            %Time Total Wait    wait    Waits   % DB
    Event                             Waits -outs   Time (s)    (ms)     /txn   time
    direct path read                522,173     0    125,051     239    628.4   99.3
    db file sequential read             663     0        156     235      0.8     .1
    log file sync                       165     0        117     712      0.2     .1
    Disk file operations I/O            267     0         63     236      0.3     .1
    db file scattered read              251     0         36     145      0.3     .0
    control file sequential re          217     0         32     149      0.3     .0
    library cache load lock               2     0         10    4797      0.0     .0
    cursor: pin S wait on X               3     0          9    3149      0.0     .0
    read by other session                 5     0          2     429      0.0     .0
    kfk: async disk IO              613,170     0          2       0    737.9     .0
    sort segment request                  1   100          1    1007      0.0     .0
    os thread startup                    16     0          1      43      0.0     .0
    direct path write temp                1     0          1     527      0.0     .0
    latch free                           51     0          0       2      0.1     .0
    kksfbc child completion               1   100          0      59      0.0     .0
    latch: cache buffers chain           19     0          0       2      0.0     .0
    latch: shared pool                   36     0          0       1      0.0     .0
    PX Deq: Slave Session Stat           21     0          0       1      0.0     .0
    library cache: mutex X               45     0          0       1      0.1     .0
    CSS initialization                    2     0          0       6      0.0     .0
    enq: KO - fast object chec            1     0          0      11      0.0     .0
    buffer busy waits                     3     0          0       1      0.0     .0
    cursor: pin S                         9     0          0       0      0.0     .0
    CSS operation: action                 2     0          0       1      0.0     .0
    direct path write                     1     0          0       2      0.0     .0
    jobq slave wait                  17,554   100      8,942     509     21.1
    PX Deq: Execute Reply             4,060    95      7,870    1938      4.9
    SQL*Net message from clien           96     0      5,756   59962      0.1
    PX Deq: Execution Msg               618    56        712    1152      0.7
    KSV master wait                      11     0          0       2      0.0
    PX Deq: Join ACK                     16     0          0       1      0.0
    PX Deq: Parse Reply                  14     0          0       1      0.0
    Background Wait Events                       DB/Inst: HDB/hdb  Snaps: 158-161
    -> ordered by wait time desc, waits desc (idle events last)
    -> Only events with Total Wait Time (s) >= .001 are shown
    -> %Timeouts: value of 0 indicates value was < .5%.  Value of null is truly 0
                                                                 Avg
                                            %Time Total Wait    wait    Waits   % bg
    Event                             Waits -outs   Time (s)    (ms)     /txn   time
    control file sequential re        6,249     0      2,375     380      7.5   55.6
    control file parallel writ        2,003     0        744     371      2.4   17.4
    db file parallel write            1,604     0        503     313      1.9   11.8
    log file parallel write             861     0        320     371      1.0    7.5
    db file sequential read             363     0        151     415      0.4    3.5
    db file scattered read              152     0         64     421      0.2    1.5
    Disk file operations I/O            276     0         21      77      0.3     .5
    os thread startup                   316     0         15      48      0.4     .4
    ADR block file read                  24     0         11     450      0.0     .3
    rdbms ipc reply                      17    12          7     403      0.0     .2
    Data file init write                  6     0          6    1016      0.0     .1
    direct path write                    21     0          6     287      0.0     .1
    log file sync                         7     0          6     796      0.0     .1
    ADR block file write                 10     0          4     414      0.0     .1
    enq: JS - queue lock                  1     0          3    2535      0.0     .1
    ASM file metadata operatio        1,801     0          2       1      2.2     .0
    db file parallel read                30     0          1      40      0.0     .0
    kfk: async disk IO                  955     0          1       1      1.1     .0
    db file single write                  1     0          0     415      0.0     .0
    reliable message                     10     0          0      23      0.0     .0
    latch: shared pool                   75     0          0       2      0.1     .0
    latch: call allocation               26     0          0       2      0.0     .0
    CSS initialization                    7     0          0       6      0.0     .0
    asynch descriptor resize            352   100          0       0      0.4     .0
    undo segment extension                2   100          0       5      0.0     .0
    CSS operation: action                 9     0          0       1      0.0     .0
    CSS operation: query                 42     0          0       0      0.1     .0
    latch: parallel query allo            4     0          0       0      0.0     .0
    rdbms ipc message                37,948    97    104,599    2756     45.7
    DIAG idle wait                   16,762   100     16,927    1010     20.2
    ASM background timer              1,724     0      8,467    4912      2.1
    shared server idle wait             282   100      8,465   30019      0.3
    pmon timer                        3,123    90      8,465    2711      3.8
    wait for unread message on        8,381   100      8,465    1010     10.1
    dispatcher timer                    141   100      8,463   60019      0.2
    Streams AQ: qmn coordinato          604    50      8,462   14010      0.7
    Streams AQ: qmn slave idle          304     0      8,462   27836      0.4
    smon timer                           35    71      8,382  239496      0.0
    Space Manager: slave idle         1,621    99      8,083    4986      2.0
    PX Idle Wait                      2,392    99      4,739    1981      2.9
    class slave wait                     46     0        623   13546      0.1
    KSV master wait                       2     0          0      27      0.0
    SQL*Net message from clien            7     0          0       1      0.0
    Wait Event Histogram                         DB/Inst: HDB/hdb  Snaps: 158-161
    -> Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
    -> % of Waits: value of .0 indicates value was <.05%; value of null is truly 0
    -> % of Waits: column heading of <=1s is truly <1024ms, >1s is truly >=1024ms
    -> Ordered by Event (idle events last)
                                                        % of Waits
                               Total
    Event                      Waits  <1ms  <2ms  <4ms  <8ms <16ms <32ms  <=1s   >1s
    ADR block file read           24                                     100.0
    ADR block file write          10                                     100.0
    ADR file lock                 12 100.0
    ASM file metadata operatio  1812  99.0    .3    .4                      .2    .1
    CSS initialization             9                   100.0
    CSS operation: action         11  90.9   9.1
    CSS operation: query          54 100.0
    Data file init write           6        16.7  16.7                    16.7  50.0
    Disk file operations I/O     533  88.7   2.6    .6               1.5    .2   6.4
    PX Deq: Signal ACK EXT         4 100.0
    PX Deq: Signal ACK RSG         2 100.0
    PX Deq: Slave Session Stat    21  42.9  28.6  28.6
    SQL*Net break/reset to cli     6 100.0
    SQL*Net message to client    102 100.0
    SQL*Net more data to clien     4 100.0
    asynch descriptor resize     527 100.0
    buffer busy waits              4  75.0        25.0
    control file parallel writ  2003   9.3    .5          .0    .1        90.0
    control file sequential re  6466  10.6    .0    .0    .0    .1    .2  89.0
    cursor: pin S                  9 100.0
    cursor: pin S wait on X        3                          33.3  33.3        33.3
    db file parallel read         30                           6.7  30.0  63.3
    db file parallel write      1604   7.4    .1                .6  16.5  75.5
    db file scattered read       403   3.7    .2   2.5  13.6  14.9   3.5  61.5
    db file sequential read     1017  12.3    .8   2.3   7.3   6.6   2.0  68.8
    db file single write           1                                     100.0
    direct path read           522.2   2.2   2.1    .1    .0   1.8  17.9  75.9
    direct path write             22         4.5                     4.5  90.9
    direct path write temp         1                                     100.0
    enq: JS - queue lock           1                                           100.0
    enq: KO - fast object chec     1                         100.0
    enq: PS - contention           1 100.0
    kfk: async disk IO         614.1 100.0                                  .0
    kksfbc child completion        1                                     100.0
    latch free                    58  46.6  27.6  15.5  10.3
    latch: cache buffers chain    19  36.8  10.5  52.6
    latch: call allocation        26  76.9  11.5         7.7         3.8
    latch: parallel query allo     4 100.0
    latch: shared pool           111  44.1  28.8  27.0
    library cache load lock        2                                           100.0
    library cache: mutex X        45  84.4   8.9   4.4   2.2
    log file parallel write      861  10.0          .1    .1              89.5    .2
    log file sync                172   6.4                                90.1   3.5
    os thread startup            332                                     100.0
    rdbms ipc reply               18  72.2                                11.1  16.7
    read by other session          5                                     100.0
    reliable message              11  81.8   9.1                           9.1
    sort segment request           1                                     100.0
    undo segment extension         2  50.0                    50.0
    ASM background timer        1724    .8    .6    .1                      .6  97.9
    DIAG idle wait             16.8K                                     100.0
    KSV master wait               13   7.7  23.1  61.5                     7.7
    PX Deq: Execute Reply       4060    .4          .0    .0          .1   3.4  96.0
    PX Deq: Execution Msg        617  34.7   1.5   2.4   1.5   1.5    .2    .8  57.5
    PX Deq: Join ACK              16  93.8                     6.3
    PX Deq: Parse Reply           14  71.4   7.1  14.3   7.1
    PX Idle Wait                2384    .0                                  .6  99.3
    SQL*Net message from clien   103  82.5         1.0   1.9               1.0  13.6
    Space Manager: slave idle   1621                                        .2  99.8
    Streams AQ: qmn coordinato   604  50.0                                      50.0
    Wait Event Histogram                         DB/Inst: HDB/hdb  Snaps: 158-161
    -> Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
    -> % of Waits: value of .0 indicates value was <.05%; value of null is truly 0
    -> % of Waits: column heading of <=1s is truly <1024ms, >1s is truly >=1024ms
    -> Ordered by Event (idle events last)Edited by: Sachin B on May 11, 2010 4:52 AM

  • How to set the correct shared pool size and db_buffer_cache using awr

    Hi All,
    I want to how to set the correct size for shared_pool_size and db_cache_size using shared pool advisory and buffer pool advisory of awr report. I have paste the shared and buffer pool advisory of awr report.
    Shared Pool Advisory
    * SP: Shared Pool Est LC: Estimated Library Cache Factr: Factor
    * Note there is often a 1:Many correlation between a single logical object in the Library Cache, and the physical number of memory objects associated with it. Therefore comparing the number of Lib Cache objects (e.g. in v$librarycache), with the number of Lib Cache Memory Objects is invalid.
    Shared Pool Size(M)     SP Size Factr     Est LC Size (M)     Est LC Mem Obj     Est LC Time Saved (s)     Est LC Time Saved Factr     Est LC Load Time (s)     Est LC Load Time Factr     Est LC Mem Obj Hits (K)
    4,096     1.00     471     25,153     184,206     1.00     149     1.00     9,069
    4,736     1.16     511     27,328     184,206     1.00     149     1.00     9,766
    5,248     1.28     511     27,346     184,206     1.00     149     1.00     9,766
    5,760     1.41     511     27,346     184,206     1.00     149     1.00     9,766
    6,272     1.53     511     27,346     184,206     1.00     149     1.00     9,766
    6,784     1.66     511     27,346     184,206     1.00     149     1.00     9,766
    7,296     1.78     511     27,346     184,206     1.00     149     1.00     9,766
    7,808     1.91     511     27,346     184,206     1.00     149     1.00     9,766
    8,320     2.03     511     27,346     184,206     1.00     149     1.00     9,766
    Buffer Pool Advisory
    * Only rows with estimated physical reads >0 are displayed
    * ordered by Block Size, Buffers For Estimate
    P     Size for Est (M)     Size Factor     Buffers (thousands)     Est Phys Read Factor     Estimated Phys Reads (thousands)     Est Phys Read Time     Est %DBtime for Rds
    D     4,096     0.10     485     1.02     1,002     1     0.00
    D     8,192     0.20     970     1.00     987     1     0.00
    D     12,288     0.30     1,454     1.00     987     1     0.00
    D     16,384     0.40     1,939     1.00     987     1     0.00
    D     20,480     0.50     2,424     1.00     987     1     0.00
    D     24,576     0.60     2,909     1.00     987     1     0.00
    D     28,672     0.70     3,394     1.00     987     1     0.00
    D     32,768     0.80     3,878     1.00     987     1     0.00
    D     36,864     0.90     4,363     1.00     987     1     0.00
    D     40,960     1.00     4,848     1.00     987     1     0.00
    D     45,056     1.10     5,333     1.00     987     1     0.00
    D     49,152     1.20     5,818     1.00     987     1     0.00
    D     53,248     1.30     6,302     1.00     987     1     0.00
    D     57,344     1.40     6,787     1.00     987     1     0.00
    D     61,440     1.50     7,272     1.00     987     1     0.00
    D     65,536     1.60     7,757     1.00     987     1     0.00
    D     69,632     1.70     8,242     1.00     987     1     0.00
    D     73,728     1.80     8,726     1.00     987     1     0.00
    D     77,824     1.90     9,211     1.00     987     1     0.00
    D     81,920     2.00     9,696     1.00     987     1     0.00
    My shared pool size is 4gb and db_cache_size is 40Gb.
    Please help me in configuring the correct size for this.
    Thanks and Regards,

    Hi ,
    Actually batch load is taking too much time.
    Please find below the 1 hr awr report
         Snap Id     Snap Time     Sessions     Cursors/Session
    Begin Snap:     6557     27-Nov-11 16:00:06     126     1.3
    End Snap:     6558     27-Nov-11 17:00:17     130     1.6
    Elapsed:          60.17 (mins)          
    DB Time:          34.00 (mins)          
    Report Summary
    Cache Sizes
         Begin     End          
    Buffer Cache:     40,960M     40,960M     Std Block Size:     8K
    Shared Pool Size:     4,096M     4,096M     Log Buffer:     25,908K
    Load Profile
         Per Second     Per Transaction     Per Exec     Per Call
    DB Time(s):     0.6     1.4     0.00     0.07
    DB CPU(s):     0.5     1.2     0.00     0.06
    Redo size:     281,296.9     698,483.4          
    Logical reads:     20,545.6     51,016.4          
    Block changes:     1,879.5     4,667.0          
    Physical reads:     123.7     307.2          
    Physical writes:     66.4     164.8          
    User calls:     8.2     20.4          
    Parses:     309.4     768.4          
    Hard parses:     8.5     21.2          
    W/A MB processed:     1.7     4.3          
    Logons:     0.7     1.6          
    Executes:     1,235.9     3,068.7          
    Rollbacks:     0.0     0.0          
    Transactions:     0.4               
    Instance Efficiency Percentages (Target 100%)
    Buffer Nowait %:     100.00     Redo NoWait %:     100.00
    Buffer Hit %:     99.66     In-memory Sort %:     100.00
    Library Hit %:     99.19     Soft Parse %:     97.25
    Execute to Parse %:     74.96     Latch Hit %:     99.97
    Parse CPU to Parse Elapsd %:     92.41     % Non-Parse CPU:     98.65
    Shared Pool Statistics
         Begin     End
    Memory Usage %:     80.33     82.01
    % SQL with executions>1:     90.90     86.48
    % Memory for SQL w/exec>1:     90.10     86.89
    Top 5 Timed Foreground Events
    Event     Waits     Time(s)     Avg wait (ms)     % DB time     Wait Class
    DB CPU          1,789          87.72     
    db file sequential read     27,531     50     2     2.45     User I/O
    db file scattered read     26,322     30     1     1.47     User I/O
    row cache lock     1,798     20     11     0.96     Concurrency
    OJVM: Generic     36     15     421     0.74     Other
    Host CPU (CPUs: 24 Cores: 12 Sockets: )
    Load Average Begin     Load Average End     %User     %System     %WIO     %Idle
    0.58     1.50     2.8     0.7     0.1     96.6
    Instance CPU
    %Total CPU     %Busy CPU     %DB time waiting for CPU (Resource Manager)
    2.2     63.6     0.0
    Memory Statistics
         Begin     End
    Host Mem (MB):     131,072.0     131,072.0
    SGA use (MB):     50,971.4     50,971.4
    PGA use (MB):     545.5     1,066.3
    % Host Mem used for SGA+PGA:     39.30     39.70
    RAC Statistics
         Begin     End
    Number of Instances:     2     2
    Global Cache Load Profile
         Per Second     Per Transaction
    Global Cache blocks received:     3.09     7.68
    Global Cache blocks served:     1.86     4.62
    GCS/GES messages received:     78.64     195.27
    GCS/GES messages sent:     53.82     133.65
    DBWR Fusion writes:     0.52     1.30
    Estd Interconnect traffic (KB)     65.50     
    Global Cache Efficiency Percentages (Target local+remote 100%)
    Buffer access - local cache %:     99.65
    Buffer access - remote cache %:     0.02
    Buffer access - disk %:     0.34
    Global Cache and Enqueue Services - Workload Characteristics
    Avg global enqueue get time (ms):     0.0
    Avg global cache cr block receive time (ms):     1.7
    Avg global cache current block receive time (ms):     1.0
    Avg global cache cr block build time (ms):     0.0
    Avg global cache cr block send time (ms):     0.0
    Global cache log flushes for cr blocks served %:     1.4
    Avg global cache cr block flush time (ms):     0.9
    Avg global cache current block pin time (ms):     0.0
    Avg global cache current block send time (ms):     0.0
    Global cache log flushes for current blocks served %:     0.1
    Avg global cache current block flush time (ms):     0.0
    Global Cache and Enqueue Services - Messaging Statistics
    Avg message sent queue time (ms):     0.0
    Avg message sent queue time on ksxp (ms):     0.4
    Avg message received queue time (ms):     0.5
    Avg GCS message process time (ms):     0.0
    Avg GES message process time (ms):     0.0
    % of direct sent messages:     79.13
    % of indirect sent messages:     17.10
    % of flow controlled messages:     3.77
    Cluster Interconnect
         Begin      End
    Interface     IP Address     Pub     Source     IP     Pub     Src
    en9     10.51.10.61     N     Oracle Cluster Repository               
    Main Report
    * Report Summary
    * Wait Events Statistics
    * SQL Statistics
    * Instance Activity Statistics
    * IO Stats
    * Buffer Pool Statistics
    * Advisory Statistics
    * Wait Statistics
    * Undo Statistics
    * Latch Statistics
    * Segment Statistics
    * Dictionary Cache Statistics
    * Library Cache Statistics
    * Memory Statistics
    * Streams Statistics
    * Resource Limit Statistics
    * Shared Server Statistics
    * init.ora Parameters
    More RAC Statistics
    * RAC Report Summary
    * Global Messaging Statistics
    * Global CR Served Stats
    * Global CURRENT Served Stats
    * Global Cache Transfer Stats
    * Interconnect Stats
    * Dynamic Remastering Statistics
    Back to Top
    Statistic Name     Time (s)     % of DB Time
    sql execute elapsed time     1,925.20     94.38
    DB CPU     1,789.38     87.72
    connection management call elapsed time     99.65     4.89
    PL/SQL execution elapsed time     89.81     4.40
    parse time elapsed     46.32     2.27
    hard parse elapsed time     25.01     1.23
    Java execution elapsed time     21.24     1.04
    PL/SQL compilation elapsed time     11.92     0.58
    failed parse elapsed time     9.37     0.46
    hard parse (sharing criteria) elapsed time     8.71     0.43
    sequence load elapsed time     0.06     0.00
    repeated bind elapsed time     0.02     0.00
    hard parse (bind mismatch) elapsed time     0.01     0.00
    DB time     2,039.77     
    background elapsed time     122.00     
    background cpu time     113.42     
    Statistic     Value     End Value
    NUM_LCPUS     0     
    NUM_VCPUS     0     
    AVG_BUSY_TIME     12,339     
    AVG_IDLE_TIME     348,838     
    AVG_IOWAIT_TIME     221     
    AVG_SYS_TIME     2,274     
    AVG_USER_TIME     9,944     
    BUSY_TIME     299,090     
    IDLE_TIME     8,375,051     
    IOWAIT_TIME     6,820     
    SYS_TIME     57,512     
    USER_TIME     241,578     
    LOAD     1     2
    OS_CPU_WAIT_TIME     312,200     
    PHYSICAL_MEMORY_BYTES     137,438,953,472     
    NUM_CPUS     24     
    NUM_CPU_CORES     12     
    GLOBAL_RECEIVE_SIZE_MAX     1,310,720     
    GLOBAL_SEND_SIZE_MAX     1,310,720     
    TCP_RECEIVE_SIZE_DEFAULT     16,384     
    TCP_RECEIVE_SIZE_MAX     9,223,372,036,854,775,807     
    TCP_RECEIVE_SIZE_MIN     4,096     
    TCP_SEND_SIZE_DEFAULT     16,384     
    TCP_SEND_SIZE_MAX     9,223,372,036,854,775,807     
    TCP_SEND_SIZE_MIN     4,096     
    Back to Wait Events Statistics
    Back to Top
    Operating System Statistics - Detail
    Snap Time     Load     %busy     %user     %sys     %idle     %iowait
    27-Nov 16:00:06     0.58                         
    27-Nov 17:00:17     1.50     3.45     2.79     0.66     96.55     0.08
    Back to Wait Events Statistics
    Back to Top
    Foreground Wait Class
    * s - second, ms - millisecond - 1000th of a second
    * ordered by wait time desc, waits desc
    * %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
    * Captured Time accounts for 95.7% of Total DB time 2,039.77 (s)
    * Total FG Wait Time: 163.14 (s) DB CPU time: 1,789.38 (s)
    Wait Class     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     %DB time
    DB CPU               1,789          87.72
    User I/O     61,229     0     92     1     4.49
    Other     102,743     40     31     0     1.50
    Concurrency     3,169     10     24     7     1.16
    Cluster     58,920     0     11     0     0.52
    System I/O     45,407     0     6     0     0.29
    Configuration     107     7     1     5     0.03
    Commit     383     0     0     1     0.01
    Network     15,275     0     0     0     0.00
    Application     52     8     0     0     0.00
    Back to Wait Events Statistics
    Back to Top
    Foreground Wait Events
    * s - second, ms - millisecond - 1000th of a second
    * Only events with Total Wait Time (s) >= .001 are shown
    * ordered by wait time desc, waits desc (idle events last)
    * %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
    Event     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     Waits /txn     % DB time
    db file sequential read     27,531     0     50     2     18.93     2.45
    db file scattered read     26,322     0     30     1     18.10     1.47
    row cache lock     1,798     0     20     11     1.24     0.96
    OJVM: Generic     36     42     15     421     0.02     0.74
    db file parallel read     394     0     7     19     0.27     0.36
    control file sequential read     22,248     0     6     0     15.30     0.28
    reliable message     4,439     0     4     1     3.05     0.18
    gc current grant busy     7,597     0     3     0     5.22     0.16
    PX Deq: Slave Session Stats     2,661     0     3     1     1.83     0.16
    DFS lock handle     3,208     0     3     1     2.21     0.16
    direct path write temp     4,842     0     3     1     3.33     0.15
    library cache load lock     39     0     3     72     0.03     0.14
    gc cr multi block request     37,008     0     3     0     25.45     0.14
    IPC send completion sync     5,451     0     2     0     3.75     0.10
    gc cr block 2-way     4,669     0     2     0     3.21     0.09
    enq: PS - contention     3,183     33     1     0     2.19     0.06
    gc cr grant 2-way     5,151     0     1     0     3.54     0.06
    direct path read temp     1,722     0     1     1     1.18     0.05
    gc current block 2-way     1,807     0     1     0     1.24     0.03
    os thread startup     6     0     1     108     0.00     0.03
    name-service call wait     12     0     1     47     0.01     0.03
    PX Deq: Signal ACK RSG     2,046     50     0     0     1.41     0.02
    log file switch completion     3     0     0     149     0.00     0.02
    rdbms ipc reply     3,610     0     0     0     2.48     0.02
    gc current grant 2-way     1,432     0     0     0     0.98     0.02
    library cache pin     903     32     0     0     0.62     0.02
    PX Deq: reap credit     35,815     100     0     0     24.63     0.01
    log file sync     383     0     0     1     0.26     0.01
    Disk file operations I/O     405     0     0     0     0.28     0.01
    library cache lock     418     3     0     0     0.29     0.01
    kfk: async disk IO     23,159     0     0     0     15.93     0.01
    gc current block busy     4     0     0     35     0.00     0.01
    gc current multi block request     1,206     0     0     0     0.83     0.01
    ges message buffer allocation     38,526     0     0     0     26.50     0.00
    enq: FB - contention     131     0     0     0     0.09     0.00
    undo segment extension     8     100     0     6     0.01     0.00
    CSS initialization     8     0     0     6     0.01     0.00
    SQL*Net message to client     14,600     0     0     0     10.04     0.00
    enq: HW - contention     96     0     0     0     0.07     0.00
    CSS operation: action     8     0     0     4     0.01     0.00
    gc cr block busy     33     0     0     1     0.02     0.00
    latch free     30     0     0     1     0.02     0.00
    enq: TM - contention     49     6     0     0     0.03     0.00
    enq: JQ - contention     19     100     0     1     0.01     0.00
    SQL*Net more data to client     666     0     0     0     0.46     0.00
    asynch descriptor resize     3,179     100     0     0     2.19     0.00
    latch: shared pool     3     0     0     3     0.00     0.00
    CSS operation: query     24     0     0     0     0.02     0.00
    PX Deq: Signal ACK EXT     72     0     0     0     0.05     0.00
    KJC: Wait for msg sends to complete     269     0     0     0     0.19     0.00
    latch: object queue header operation     4     0     0     1     0.00     0.00
    gc cr block congested     5     0     0     0     0.00     0.00
    utl_file I/O     11     0     0     0     0.01     0.00
    enq: TO - contention     3     33     0     0     0.00     0.00
    SQL*Net message from client     14,600     0     219,478     15033     10.04     
    jobq slave wait     7,726     100     3,856     499     5.31     
    PX Deq: Execution Msg     10,556     19     50     5     7.26     
    PX Deq: Execute Reply     2,946     31     27     9     2.03     
    PX Deq: Parse Reply     3,157     35     3     1     2.17     
    PX Deq: Join ACK     2,976     28     2     1     2.05     
    PX Deq Credit: send blkd     7     14     0     4     0.00     
    Back to Wait Events Statistics
    Back to Top
    Background Wait Events
    * ordered by wait time desc, waits desc (idle events last)
    * Only events with Total Wait Time (s) >= .001 are shown
    * %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
    Event     Waits     %Time -outs     Total Wait Time (s)     Avg wait (ms)     Waits /txn     % bg time
    os thread startup     140     0     13     90     0.10     10.35
    db file parallel write     8,233     0     6     1     5.66     5.08
    log file parallel write     3,906     0     6     1     2.69     4.62
    log file sequential read     350     0     5     16     0.24     4.49
    control file sequential read     13,737     0     5     0     9.45     3.72
    DFS lock handle     2,990     27     2     1     2.06     1.43
    db file sequential read     921     0     2     2     0.63     1.39
    SQL*Net break/reset to client     18     0     1     81     0.01     1.19
    control file parallel write     2,455     0     1     1     1.69     1.12
    ges lms sync during dynamic remastering and reconfig     24     100     1     50     0.02     0.98
    library cache load lock     35     0     1     24     0.02     0.68
    ASM file metadata operation     3,483     0     1     0     2.40     0.65
    enq: CO - master slave det     1,203     100     1     0     0.83     0.46
    kjbdrmcvtq lmon drm quiesce: ping completion     9     0     1     62     0.01     0.46
    enq: WF - contention     11     0     0     35     0.01     0.31
    CGS wait for IPC msg     32,702     100     0     0     22.49     0.19
    gc object scan     28,788     100     0     0     19.80     0.15
    row cache lock     535     0     0     0     0.37     0.14
    library cache pin     370     55     0     0     0.25     0.12
    ksxr poll remote instances     19,119     100     0     0     13.15     0.11
    name-service call wait     6     0     0     19     0.00     0.10
    gc current block 2-way     304     0     0     0     0.21     0.09
    gc cr block 2-way     267     0     0     0     0.18     0.08
    gc cr grant 2-way     355     0     0     0     0.24     0.08
    ges LMON to get to FTDONE     3     100     0     24     0.00     0.06
    enq: CF - contention     145     76     0     0     0.10     0.05
    PX Deq: reap credit     8,842     100     0     0     6.08     0.05
    reliable message     126     0     0     0     0.09     0.05
    db file scattered read     19     0     0     3     0.01     0.05
    library cache lock     162     1     0     0     0.11     0.04
    latch: shared pool     2     0     0     27     0.00     0.04
    Disk file operations I/O     504     0     0     0     0.35     0.04
    gc current grant busy     148     0     0     0     0.10     0.04
    gcs log flush sync     84     0     0     1     0.06     0.04
    ges message buffer allocation     24,934     0     0     0     17.15     0.02
    enq: CR - block range reuse ckpt     83     0     0     0     0.06     0.02
    latch free     22     0     0     1     0.02     0.02
    CSS operation: action     13     0     0     2     0.01     0.02
    CSS initialization     4     0     0     6     0.00     0.02
    direct path read     1     0     0     21     0.00     0.02
    rdbms ipc reply     153     0     0     0     0.11     0.01
    db file parallel read     2     0     0     8     0.00     0.01
    direct path write     5     0     0     3     0.00     0.01
    gc current multi block request     49     0     0     0     0.03     0.01
    gc current block busy     5     0     0     2     0.00     0.01
    enq: PS - contention     24     50     0     0     0.02     0.01
    gc cr multi block request     54     0     0     0     0.04     0.01
    ges generic event     1     100     0     10     0.00     0.01
    gc current grant 2-way     35     0     0     0     0.02     0.01
    kfk: async disk IO     183     0     0     0     0.13     0.01
    Log archive I/O     3     0     0     2     0.00     0.01
    gc buffer busy acquire     2     0     0     3     0.00     0.00
    LGWR wait for redo copy     123     0     0     0     0.08     0.00
    IPC send completion sync     18     0     0     0     0.01     0.00
    enq: TA - contention     11     0     0     0     0.01     0.00
    read by other session     2     0     0     2     0.00     0.00
    enq: TM - contention     9     89     0     0     0.01     0.00
    latch: ges resource hash list     135     0     0     0     0.09     0.00
    PX Deq: Slave Session Stats     12     0     0     0     0.01     0.00
    KJC: Wait for msg sends to complete     89     0     0     0     0.06     0.00
    enq: TD - KTF dump entries     8     0     0     0     0.01     0.00
    enq: US - contention     7     0     0     0     0.00     0.00
    CSS operation: query     12     0     0     0     0.01     0.00
    enq: TK - Auto Task Serialization     6     100     0     0     0.00     0.00
    PX Deq: Signal ACK RSG     24     50     0     0     0.02     0.00
    log file single write     6     0     0     0     0.00     0.00
    enq: WL - contention     2     100     0     1     0.00     0.00
    ADR block file read     13     0     0     0     0.01     0.00
    ADR block file write     5     0     0     0     0.00     0.00
    latch: object queue header operation     1     0     0     1     0.00     0.00
    gc cr block busy     1     0     0     1     0.00     0.00
    rdbms ipc message     103,276     67     126,259     1223     71.03     
    PX Idle Wait     6,467     67     12,719     1967     4.45     
    wait for unread message on broadcast channel     7,240     100     7,221     997     4.98     
    gcs remote message     218,809     84     7,213     33     150.49     
    DIAG idle wait     203,228     95     7,185     35     139.77     
    shared server idle wait     121     100     3,630     30000     0.08     
    ASM background timer     3,343     0     3,611     1080     2.30     
    Space Manager: slave idle wait     723     100     3,610     4993     0.50     
    heartbeat monitor sleep     722     100     3,610     5000     0.50     
    ges remote message     73,089     52     3,609     49     50.27     
    dispatcher timer     66     88     3,608     54660     0.05     
    pmon timer     1,474     82     3,607     2447     1.01     
    PING     1,487     19     3,607     2426     1.02     
    Streams AQ: qmn slave idle wait     125     0     3,594     28754     0.09     
    Streams AQ: qmn coordinator idle wait     250     50     3,594     14377     0.17     
    smon timer     18     50     3,505     194740     0.01     
    JOX Jit Process Sleep     73     100     976     13370     0.05     
    class slave wait     56     0     605     10806     0.04     
    KSV master wait     2,215     98     1     0     1.52     
    SQL*Net message from client     109     0     0     2     0.07     
    PX Deq: Parse Reply     27     44     0     1     0.02     
    PX Deq: Join ACK     30     40     0     1     0.02     
    PX Deq: Execute Reply     20     30     0     0     0.01     
    Streams AQ: RAC qmn coordinator idle wait     259     100     0     0     0.18     
    Back to Wait Events Statistics
    Back to Top
    Wait Event Histogram
    * Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
    * % of Waits: value of .0 indicates value was <.05%; value of null is truly 0
    * % of Waits: column heading of <=1s is truly <1024ms, >1s is truly >=1024ms
    * Ordered by Event (idle events last)
              % of Waits
    Event     Total Waits     <1ms     <2ms     <4ms     <8ms     <16ms     <32ms     <=1s     >1s
    ADR block file read     13     100.0                                   
    ADR block file write     5     100.0                                   
    ADR file lock     6     100.0                                   
    ARCH wait for archivelog lock     3     100.0                                   
    ASM file metadata operation     3483     99.6     .1     .1                    .2     
    CGS wait for IPC msg     32.7K     100.0                                   
    CSS initialization     12     50.0                    50.0               
    CSS operation: action     21     28.6     9.5          61.9                    
    CSS operation: query     36     86.1     5.6     8.3                         
    DFS lock handle     6198     98.6     1.2     .1                    .1     
    Disk file operations I/O     909     95.7     3.6     .7                         
    IPC send completion sync     5469     99.9     .1     .0     .0                    
    KJC: Wait for msg sends to complete     313     100.0                                   
    LGWR wait for redo copy     122     100.0                                   
    Log archive I/O     3     66.7               33.3                    
    OJVM: Generic     36     55.6                              44.4     
    PX Deq: Signal ACK EXT     72     98.6     1.4                              
    PX Deq: Signal ACK RSG     2070     99.7               .0     .1     .0     .1     
    PX Deq: Slave Session Stats     2673     99.7     .2                         .1     .0
    PX Deq: reap credit     44.7K     100.0                                   
    SQL*Net break/reset to client     20     95.0                                   5.0
    SQL*Net message to client     14.7K     100.0                                   
    SQL*Net more data from client     32     100.0                                   
    SQL*Net more data to client     689     100.0                                   
    asynch descriptor resize     3387     100.0                                   
    buffer busy waits     2     100.0                                   
    control file parallel write     2455     96.6     2.2     .6     .6          .1          
    control file sequential read     36K     99.4     .3     .1     .1     .1     .1     .0     
    db file parallel read     397     8.8     .8     5.5     12.6     17.4     46.3     8.6     
    db file parallel write     8233     85.4     10.3     2.3     1.4     .4     .1          
    db file scattered read     26.3K     79.2     1.5     8.2     10.5     .6     .1     .0     
    db file sequential read     28.4K     60.2     3.3     18.0     18.1     .3     .1     .0     
    db file single write     2     100.0                                   
    direct path read     2     50.0                         50.0          
    direct path read temp     1722     95.8     2.8     .1     .5     .8     .1          
    direct path write     6     83.3                    16.7               
    direct path write temp     4842     96.3     2.7     .5     .2     .0     .0     .2     
    enq: AF - task serialization     1     100.0                                   
    enq: CF - contention     145     99.3     .7                              
    enq: CO - master slave det     1203     98.9     .8     .2                         
    enq: CR - block range reuse ckpt     83     100.0                                   
    enq: DR - contention     2     100.0                                   
    enq: FB - contention     131     100.0                                   
    enq: HW - contention     97     100.0                                   
    enq: JQ - contention     19     89.5     10.5                              
    enq: JS - job run lock - synchronize     3     100.0                                   
    enq: MD - contention     1     100.0                                   
    enq: MW - contention     2     100.0                                   
    enq: PS - contention     3207     99.5     .4     .1                         
    enq: TA - contention     11     100.0                                   
    enq: TD - KTF dump entries     8     100.0                                   
    enq: TK - Auto Task Serialization     6     100.0                                   
    enq: TM - contention     58     100.0                                   
    enq: TO - contention     3     100.0                                   
    enq: TQ - DDL contention     1     100.0                                   
    enq: TS - contention     1     100.0                                   
    enq: UL - contention     1     100.0                                   
    enq: US - contention     7     100.0                                   
    enq: WF - contention     11     81.8                              18.2     
    enq: WL - contention     2     50.0     50.0                              
    gc buffer busy acquire     2     50.0               50.0                    
    gc cr block 2-way     4934     99.9     .1                    .0     .0     
    gc cr block busy     35     68.6     31.4                              
    gc cr block congested     6     100.0                                   
    gc cr disk read     2     100.0                                   
    gc cr grant 2-way     4824     100.0     .0                              
    gc cr grant congested     2     100.0                                   
    gc cr multi block request     37.1K     99.8     .2     .0     .0     .0     .0     .0     
    gc current block 2-way     2134     99.9     .0                         .0     
    gc current block busy     7     14.3     14.3          14.3          28.6     28.6     
    gc current block congested     2     100.0                                   
    gc current grant 2-way     1337     99.9     .1                              
    gc current grant busy     7123     99.2     .2     .2     .0     .0     .3     .1     
    gc current grant congested     2     100.0                                   
    gc current multi block request     1260     99.8     .2                              
    gc object scan     28.8K     100.0                                   
    gcs log flush sync     65     95.4          3.1     1.5                    
    ges LMON to get to FTDONE     3                              100.0          
    ges generic event     1                         100.0               
    ges inquiry response     2     100.0                                   
    ges lms sync during dynamic remastering and reconfig     24                         16.7     29.2     54.2     
    ges message buffer allocation     63.1K     100.0                                   
    kfk: async disk IO     23.3K     100.0     .0     .0                         
    kjbdrmcvtq lmon drm quiesce: ping completion     9     11.1                              88.9     
    ksxr poll remote instances     19.1K     100.0                                   
    latch free     52     59.6     40.4                              
    latch: call allocation     2     100.0                                   
    latch: gc element     1     100.0                                   
    latch: gcs resource hash     1     100.0                                   
    latch: ges resource hash list     135     100.0                                   
    latch: object queue header operation     5     40.0     40.0     20.0                         
    latch: shared pool     5     40.0                    20.0     20.0     20.0     
    library cache load lock     74     9.5     5.4     8.1     17.6     10.8     13.5     35.1     
    library cache lock     493     99.2     .4     .4                         
    library cache pin     1186     98.4     .3     1.2     .1                    
    library cache: mutex X     6     100.0                                   
    log file parallel write     3897     72.9     1.5     17.1     7.5     .6     .3     .1     
    log file sequential read     350     4.6               3.1     59.4     30.0     2.9     
    log file single write     6     100.0                                   
    log file switch completion     3                         33.3          66.7     
    log file sync     385     90.4     3.6     4.7     .8     .5               
    name-service call wait     18          5.6     5.6     5.6     16.7     44.4     22.2     
    os thread startup     146                                   100.0     
    rdbms ipc reply     3763     99.7     .3                              
    read by other session     2     50.0          50.0                         
    reliable message     4565     99.7     .2     .0               .0     .1     
    row cache lock     2334     99.3     .2     .1                    .1     .3
    undo segment extension     8     50.0                    37.5     12.5          
    utl_file I/O     11     100.0                                   
    ASM background timer     3343     57.0     .3     .1     .1     .1          21.1     21.4
    DIAG idle wait     203.2K     3.4     .2     .4     18.0     41.4     14.8     21.8     
    JOX Jit Process Sleep     73                                   2.7     97.3
    KSV master wait     2213     99.4     .1     .2                    .3     
    PING     1487     81.0                                   19.0
    PX Deq Credit: send blkd     7     57.1          14.3     14.3          14.3          
    PX Deq: Execute Reply     2966     59.8     .8     9.5     5.6     10.2     2.6     11.4     
    PX Deq: Execution Msg     10.6K     72.4     12.1     2.6     2.5     .1     5.6     4.6     .0
    PX Deq: Join ACK     3006     77.9     22.1     .1                         
    PX Deq: Parse Reply     3184     67.1     31.1     1.6     .2                    
    PX Idle Wait     6466     .2     8.7     4.3     4.8     .3     .1     5.0     76.6
    SQL*Net message from client     14.7K     72.4     2.8     .8     .5     .9     .4     2.8     19.3
    Space Manager: slave idle wait     722                                        100.0
    Streams AQ: RAC qmn coordinator idle wait     259     100.0                                   
    Streams AQ: qmn coordinator idle wait     250     50.0                                   50.0
    Streams AQ: qmn slave idle wait     125                                        100.0
    class slave wait     55     67.3          7.3     1.8     5.5     1.8     7.3     9.1
    dispatcher timer     66     6.1                                   93.9
    gcs remote message     218.6K     7.7     1.8     1.2     1.6     1.7     15.7     70.3     
    ges remote message     72.9K     29.7     5.1     2.7     2.2     1.5     4.0     54.7     
    heartbeat monitor sleep     722                                        100.0
    jobq slave wait     7725                    .1          .0     99.9     
    pmon timer     1474     18.4                                   81.6
    rdbms ipc message     103.3K     20.7     2.7     1.5     1.3     .9     .7     40.7     31.6
    shared server idle wait     121                                        100.0
    smon timer     18                                        100.0
    wait for unread message on broadcast channel     7238                         .3          99.7     
    Back to Wait Events Statistics
    Back to Top
    Wait Event Histogram Detail (64 msec to 2 sec)
    * Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
    * Units for % of Total Waits: ms is milliseconds s is 1024 milliseconds (approximately 1 second)
    * % of Total Waits: total waits for all wait classes, including Idle
    * % of Total Waits: value of .0 indicates value was <.05%; value of null is truly 0
    * Ordered by Event (only non-idle events are displayed)
              % of Total Waits
    Event     Waits 64ms to 2s     <32ms     <64ms     <1/8s     <1/4s     <1/2s     <1s     <2s     >=2s
    ASM file metadata operation     6     99.8          .1     .1                    
    DFS lock handle     6     99.9               .1     .0               
    OJVM: Generic     16     55.6               2.8          41.7          
    PX Deq: Signal ACK RSG     3     99.9     .0     .1                         
    PX Deq: Slave Session Stats     3     99.9          .0               .0     .0     
    SQL*Net break/reset to client     1     95.0                              5.0     
    control file sequential read     1     100.0          .0                         
    db file parallel read     34     91.4     8.6                              
    db file scattered read     4     100.0     .0          .0                    
    db file sequential read     6     100.0     .0     .0     .0                    
    direct path write temp     11     99.8     .1     .1     .0                    
    enq: WF - contention     2     81.8               18.2                    
    gc cr block 2-way     1     100.0          .0                         
    gc cr multi block request     1     100.0          .0                         
    gc current block 2-way     1     100.0     .0                              
    gc current block busy     2     71.4     28.6                              
    gc current grant busy     8     99.9     .0     .1                         
    ges lms sync during dynamic remastering and reconfig     13     45.8     20.8     33.3                         
    kjbdrmcvtq lmon drm quiesce: ping completion     8     11.1     11.1     77.8                         
    latch: shared pool     1     80.0     20.0                              
    library cache load lock     26     64.9     14.9     12.2     4.1     4.1               
    log file parallel write     2     99.9     .0               .0               
    log file sequential read     10     97.1     2.0     .6     .3                    
    log file switch completion     2     33.3               66.7                    
    name-service call wait     4     77.8          22.2                         
    os thread startup     146               100.0                         
    reliable message     4     99.9          .0               .1          
    row cache lock     2     99.7                    .0     .0          .3
    Back to Wait Events Statistics
    Back to Top
    Wait Event Histogram Detail (4 sec to 2 min)
    * Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
    * Units for % of Total Waits: s is 1024 milliseconds (approximately 1 second) m is 64*1024 milliseconds (approximately 67 seconds or 1.1 minutes)
    * % of Total Waits: total waits for all wait classes, including Idle
    * % of Total Waits: value of .0 indicates value was <.05%; value of null is truly 0
    * Ordered by Event (only non-idle events are displayed)
              % of Total Waits
    Event     Waits 4s to 2m     <2s     <4s     <8s     <16s     <32s     < 1m     < 2m     >=2m
    row cache lock     6     99.7     .3                              
    Back to Wait Events Statistics
    Back to Top
    Wait Event Histogram Detail (4 min to 1 hr)
    No data exists for this section of the report.
    Back to Wait Events Statistics
    Back to Top
    Service Statistics
    * ordered by DB Time
    Service Name     DB Time (s)     DB CPU (s)     Physical Reads (K)     Logical Reads (K)
    ubshost     1,934     1,744     445     73,633
    SYS$USERS     105     45     1     404
    SYS$BACKGROUND     0     0     1     128
    ubshostXDB     0     0     0     0
    Back to Wait Events Statistics
    Back to Top
    Service Wait Class Stats
    * Wait Class info for services in the Service Statistics section.
    * Total Waits and Time Waited displayed for the following wait classes: User I/O, Concurrency, Administrative, Network
    * Time Waited (Wt Time) in seconds
    Service Name     User I/O Total Wts     User I/O Wt Time     Concurcy Total Wts     Concurcy Wt Time     Admin Total Wts     Admin Wt Time     Network Total Wts     Network Wt Time
    ubshost      60232     90     2644     4     0     0     13302     0
    SYS$USERS      997     2     525     19     0     0     1973     0
    SYS$BACKGROUND      1456     2     1258     14     0     0     0     0
    I am not able to paste the whole awr report. I have paste some of the sections of awr report.
    Please help.
    Thanks and Regards,

Maybe you are looking for

  • Confused about Open Cursors :(

    Hi all, i need some clarification on this issue, i've read throught the documentation and i'm a bit confused. I'm using 10.1.0.2 select sum(value) from v$statname sn, v$sesstat st, v$session s where sn.statistic# = st.statistic# and st.sid = s.sid an

  • Error in installing OAS service registry 10.1.3.1

    i have installed oracle SOA suite 10.1.3.3.0 (oracle SOA suite 10.1.3.1.0 + patch) in advanced mode. While installing Oracle service registry(10.1.3.1) , in application server selection page, there is no option to select the Application server for th

  • If ONLY the original Dev Beta is installed, will GM Candidate install over this without intervening betas?

    I have an odd problem. I installed the Yosemite dev beta back in August, and have all the intervening beta patches AND the GM Patch.  My 7 1/2 year old iMac is failing, so I ordered a new one.  It's supposed to be in today, and want to get it up to t

  • Lock Tabs with Tab Control

    Hi all, I am working on a LabVIEW program with a tab control that creates five tabs with questions on each tab page.  I would like to lock the tabs such that the user could not move on to the second tab by clicking on the next tab, but only by clicki

  • 32-bit Only 10.6.8

    Is their a way to block all 64-bit apps.  I know how to change them for individual apps, but is their a way to make it so that the OS ignores the fact that their is a 64bit enabled processor and run like it's a 32 bit processor. I'm attempting to tro