Shared Pool Statistics - awr report -m 10.2.0.1

Hi,
I'm new to reading awr report and performance tuning.
I have the below in my statspack.
Do i need to increase my shared pool?
Any one can advise and explain "% Memory for SQL w/exec" and "% SQL with executions>1"
Shared Pool Statistics
Begin End
Memory Usage %: 95.78 97.71
% SQL with executions>1: 51.51 80.85
% Memory for SQL w/exec> 1: 67.88 82.46
thanks!

user21123 wrote:
The sweet point for the shared pool Memory Usage % is at about ~70%-80% because of aging out. You are at ~90%. It would be advisable to increase the shared pool, but if you're using 10g SGA_TARGET and SGA_MAX_SIZE, then that might require increasing those parameters. It depends how your AWR report looks for the Buffer Cache.
What makes you think this ?
In an OLTP system you hope for 100% shareable SQL, and correct allocation for the other objects, which would lead to 100% usage. In realistic terms, you're likely to get a few percent (which is often the shared_pool_reserved) free because there's a constant turn-over of non-shareable SQL.
If you're always seeing 70% - 80%, then there are several scenraios that might explain the figure. One is that you've simply made shared pool a bit too big. At the opposite extreme you might be constantly flushing 20%-30% of the material from the shared pool because it has become so fragmented that you have to clear a lot of garbage to create a small amount of contiguous space.
The best guideline to follow is to check whether you appear to be losing a significant amount of time on libarary cache and shared pool latches, using up an undesirable amount of CPU on parse time, see lots of reloads (without corresponding invalidations) in v$librarycache.
Without further information, we really can't say how good or bad the situation is. In fact, it's possible that the information that +"50% of your SQL has been shared, 50% has been single use"+ is a possible indicator that the shared_pool_size is too small, and we are filling the excess space with garbage rather than keeping the garbage (and library cache search time) to a minimum.
I would be interested to hear the thinking behind your suggestion, though.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge." Stephen Hawking.

Similar Messages

  • 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,

  • Report Summary in Awr Report

    Hi,
    I have doubts in Report Summary scection in AWR report.Please anyone clear it.
    1,What is W/A MB processed?
    2,What is the difference between logons in load profile section and Sessions in snap info section?
    Logons means connection which may one or more sessions.Is it right?
    3,What is the difference between Block changes and Physcical writes in load profile section?
    a,,Block changes means only datafile? or including Undo/Temp?
    b,Physical writes:Number of physical writes performed.What does mean?
    For Ex:
    1,Emp table has 5000 rows on 50 blocks.
    2,Insert into emp  select * from emp;Then commit;
    50 blocks changed Hence the value 50 added to Block changes.Is it right?
    What about Physical writes?How the writes value calculated.Just assume 100 writes performed for this insert statment.
    How is the value(100) cacluated?What basis?Is there any parameter influenced?like db_block_size .....If it's what are the parameters?
    4,Execute to Parse %: Parse once execute many.
      Softparse %:
    Buffer Nowait %: 99.97 Redo NoWait %: 100.00
    Buffer Hit %: 99.93 In-memory Sort %: 100.00
    Library Hit %: 103.53 Soft Parse %: 94.67
    Execute to Parse %: 100.00 Latch Hit %: 94.42
    Parse CPU to Parse Elapsd %: 12.94 % Non-Parse CPU: 99.81
    a,Soft Parse %: 94.67.So Remaining 5.23% is hard parse?
    b,If Execute to Parse % is 70,What does mean of remaning 30%?(Same statement but differ in various reason like authentication or optimizer)Is it right?
    c,How to relate Execute to Parse %: with Soft Parse %:?
    d,How to relate Parse CPU to Parse Elapsd %: with % Non-Parse CPU:?
    5,Shared Pool Statistics
    Begin End
    Memory Usage %: 26.26 25.90
    % SQL with executions>1: 98.95 98.31
    % Memory for SQL w/exec>1: 97.79 99.46
    a,What does mean of Memory usage?26.26% memory used in allocated total SGA(if configured sga_target or memory_target).Is it right?
    b,at does mean SQL with executions>1?How to/Where to realet with other parameter in AWR?
    c,at does mean % Memory for SQL w/exec>1?How to/Where to realet with other parameter in AWR?
    6,What does mean of Per exec, per call in load profile section for the attribute DB Time(s),DB CPU(s)?
    7,What is Load average begin/end in host cpu section?How is the value  calcuated?
    8,What is %wio in in host cpu section?
    9,What does mean %total cpu and %busy cpu in instance cpu?
    10,what does mean Applied urec?
    Br,
    Raj

    Hi,
    Thanks for your Reply..........
    Now we use 11g only,Not 12c.
    I read  oracle 11g document already(few times).But i  couldn't understand it.Hence,i  posted here.
    If anyone tell,it is a BIG release from headache.
    Br,
    Raj

  • Help analyzing AWR report

    I need you help to analyze the results of the following awr report:
    The following awr report is an one hour report of oracle EBS application, oracle version 10203,
    on hpux with 20 cpus.
    As you can see , the top wait event is on "CPU time".
    I read an article by mr. lewis regarding the same issue:
    http://jonathanlewis.wordpress.com/statspack-distractions/
    on a machine with 20 CPUs , with one hour report , i have (3600*20)=72000 seconds to play with.
    although for the one hour target we should be aiming to use less than (1*3600*20)=72,000 CPU seconds.
    In my case I am using just 13,368 cpu second.
    The Load averages (from hpux top command): 0.30, 0.29, 0.28 on the machine low.
    Looking at "Top 5 Timed Events" shows that the last 3 wait events are not an issue.
    I alreay know the reason for the db file scattered read , and fixed it.
    Yet i still have a "nasty" huge plsql block (sqlid=32fwmj6fsaqm9) that run more than : 80973 sec (about 21 hour).
    select last_call_et,status
    from v$session
    where sid= 97
    LAST_CALL_ET     STATUS
    80973             ACTIVEThe top 3 statment that appear at top of "SQL ordered by CPU Time" are the same as
    the ones on the "SQL ordered by Gets ".
    Soprisely the statment that run 21 hour is not at the top of any wait event.
    It just at the 8 place of the "SQL ordered by Gets ".
    Cache Sizes
    ~~~~~~~~~~~                       Begin        End
                   Buffer Cache:     5,712M     5,712M  Std Block Size:         8K
               Shared Pool Size:     1,200M     1,200M      Log Buffer:    20,780K
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                      Redo size:            131,028.28             44,647.67
                  Logical reads:             46,663.75             15,900.60
                  Block changes:                774.58                263.94
                 Physical reads:                689.68                235.01
                Physical writes:                 45.77                 15.60
                     User calls:                197.04                 67.14
                         Parses:                 55.44                 18.89
                    Hard parses:                  2.49                  0.85
                          Sorts:                 57.97                 19.75
                         Logons:                  0.32                  0.11
                       Executes:              1,538.69                524.31
                   Transactions:                  2.93
      % Blocks changed per Read:    1.66    Recursive Call %:    90.83
    Rollback per transaction %:   26.52       Rows per Sort:    67.02
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:  100.00       Redo NoWait %:  100.00
                Buffer  Hit   %:   98.53    In-memory Sort %:  100.00
                Library Hit   %:   99.73        Soft Parse %:   95.50
             Execute to Parse %:   96.40         Latch Hit %:   99.98
    Parse CPU to Parse Elapsd %:   95.69     % Non-Parse CPU:   97.93
    Shared Pool Statistics        Begin    End
                 Memory Usage %:   74.33   69.54
        % SQL with executions>1:   78.32   78.17
      % Memory for SQL w/exec>1:   83.53   82.20
    Top 5 Timed Events                                         Avg %Total
    ~~~~~~~~~~~~~~~~~~                                        wait   Call
    Event                                 Waits    Time (s)   (ms)   Time Wait Class
    CPU time                                         13,368          77.6
    db file sequential read             844,095       3,578      4   20.8   User I/O
    db file scattered read              212,830         452      2    2.6   User I/O
    SQL*Net more data from client         3,116          92     30    0.5    Network
    log file parallel write              10,807          74      7    0.4 System I/O
    Time Model Statistics                 
    Statistic Name                                       Time (s) % of DB Time
    sql execute elapsed time                             16,785.3         97.4
    DB CPU                                               13,367.6         77.6
    DB time                                              17,232.8          N/A
                                                                      Avg
                                           %Time       Total Wait    wait     Waits
    Wait Class                      Waits  -outs         Time (s)    (ms)      /txn
    User I/O                    1,064,101     .0            4,032       4     100.7
    System I/O                     38,328     .0              123       3       3.6
    Network                       750,423     .0              102       0      71.0
    Commit                          8,043     .0               59       7       0.8
    perating System Statistics             DB/Inst:   Snaps: 13464-13465
    Statistic                                       Total
    AVG_BUSY_TIME                                 101,026
    AVG_IDLE_TIME                                 258,945
    AVG_IOWAIT_TIME                                26,203
    AVG_SYS_TIME                                   22,092
    AVG_USER_TIME                                  78,819
    BUSY_TIME                                   2,022,842
    IDLE_TIME                                   5,181,192
    IOWAIT_TIME                                   526,327
    SYS_TIME                                      444,162
    USER_TIME                                   1,578,680
    LOAD                                                0
    OS_CPU_WAIT_TIME                      785,867,591,900
    RSRC_MGR_CPU_WAIT_TIME                              0
    VM_IN_BYTES                               158,449,660
    VM_OUT_BYTES                                        0
    PHYSICAL_MEMORY_BYTES                  51,271,172,096
    NUM_CPUS                                           20
                                                                       Avg
                                                 %Time  Total Wait    wait     Waits
    Event                                 Waits  -outs    Time (s)    (ms)      /txn
    db file sequential read             844,095     .0       3,578       4      79.9
    db file scattered read              212,830     .0         452       2      20.1
    Instance Activity Stats                DB/Inst:  
    Statistic                                     Total     per Second     per Trans
    CPU used by this session                    363,871          101.0          34.4
    CPU used when call started                  519,575          144.2          49.2
    SQL ordered by CPU Time               
        CPU      Elapsed                  CPU per  % Total
      Time (s)   Time (s)  Executions     Exec (s) DB Time    SQL Id
         9,993     10,180          470       21.26    59.1 g0g2sj2by3p75
    Module: JDBC Thin Client
    BEGIN WF_EVENT.LISTEN ( p_agent_name => :1, p_wait => :2, p_correlation => :3,
    p_deq_condition => null, p_message_count => :4, p_max_error_count => :5 ); END
         9,981     10,159            0         N/A    59.0 86xp3qt4czvy5
    Module: JDBC Thin Client
    begin :v1 := AR_BUS_EVENT_SUB_PVT.AutoRcpt_Run(:v2, :v3); end;
         9,791      9,806            1     9791.15    56.9 bf8wy6bhr6nak
    Module: JDBC Thin Client
    SELECT C.CUSTOMER_ID CUSTOMER_ID, C.CUSTOMER_SITE_USE_ID SITE_USE_ID, C.CURRENCY
    RCPT_CURRENCY, CR1.AMOUNT LAST_PAYMENT_AMOUNT, CR1.RECEIPT_DATE LAST_PAYMENT_DA
    TE, CR1.RECEIPT_NUMBER LAST_PAYMENT_NUMBER FROM ( SELECT A.CUSTOMER_ID, A.CUSTOM
    ER_SITE_USE_ID, A.CURRENCY, MAX(B.CASH_RECEIPT_ID) CASH_RECEIPT_ID FROM ( SELECT
    SQL ordered by Gets                   
                                    Gets              CPU     Elapsed
      Buffer Gets   Executions    per Exec   %Total Time (s)  Time (s)    SQL Id
        69,423,012          470    147,708.5   41.3  9992.60  10180.36 g0g2sj2by3p75
    Module: JDBC Thin Client
    BEGIN WF_EVENT.LISTEN ( p_agent_name => :1, p_wait => :2, p_correlation => :3,
    p_deq_condition => null, p_message_count => :4, p_max_error_count => :5 ); END
        69,359,054            0          N/A   41.3  9980.60  10159.36 86xp3qt4czvy5
    Module: JDBC Thin Client
    begin :v1 := AR_BUS_EVENT_SUB_PVT.AutoRcpt_Run(:v2, :v3); end;
        60,043,663            1 ############   35.7  9791.15   9805.93 bf8wy6bhr6nak
    Module: JDBC Thin Client
    SELECT C.CUSTOMER_ID CUSTOMER_ID, C.CUSTOMER_SITE_USE_ID SITE_USE_ID, C.CURRENCY
    RCPT_CURRENCY, CR1.AMOUNT LAST_PAYMENT_AMOUNT, CR1.RECEIPT_DATE LAST_PAYMENT_DA
    TE, CR1.RECEIPT_NUMBER LAST_PAYMENT_NUMBER FROM ( SELECT A.CUSTOMER_ID, A.CUSTOM
    ER_SITE_USE_ID, A.CURRENCY, MAX(B.CASH_RECEIPT_ID) CASH_RECEIPT_ID FROM ( SELECT
         9,346,430            0          N/A    5.6    59.53    133.04 32fwmj6fsaqm9
    Module: 01@<elease11i/appl_top/bzqi/1.0/sql/BZAUTOCT.sql
    DECLARE p_row_id VARCHAR2(30); p_batch_id ar_batches.batch_id%
    TYPE; p_batch_date ar_batches.batch_date%TYPE; p_currency_code
    ar_batches.currency_code%TYPE; p_name ar_batches.name%TYPE; p_
    comments ar_batches.comments%TYPE; p_exchange_date ar_batches.exchangI also found that the object: FND_CONCURRENT_REQUE had 5,826 row lock waits
    but i dnt know how much time its took.
    Also it had 538 buffef bussy waits.
    Could you suggest what to do with this information ?
    Segments by Row Lock Waits            
                                                                         Row
               Tablespace                      Subobject  Obj.          Lock    % of
    Owner         Name    Object Name            Name     Type         Waits Capture
    APPLSYS    APPL_DATA  FND_CONCURRENT_REQUE            TABLE        5,826   79.28
    APPLSYS    APPL_DATA  SYS_IOT_TOP_497864              INDEX          794   10.80
    Segments by Buffer Busy Waits          
                                                                      Buffer
               Tablespace                      Subobject  Obj.          Busy    % of
    Owner         Name    Object Name            Name     Type         Waits Capture
    APPLSYS    APPL_DATA  FND_CONCURRENT_REQUE            TABLE          538   65.93
    APPLSYS    APPL_DATA  SYS_IOT_TOP_11597965            INDEX          247   30.27
    APPLSYS    APPL_INDEX FND_CONCURRENT_REQUE            INDEX            4     .49
              -------------------------------------------------------------The last interesting thing that i founs is that the shared pool may too small:
    I have 32% miss.
    Library Cache Activity
                             Get    Pct            Pin    Pct             Invali-
    Namespace           Requests   Miss       Requests   Miss    Reloads  dations
    SQL AREA              11,593   32.7      5,723,318    0.2      7,095    1,659
              -------------------------------------------------------------

    user10634138 wrote:
    Yet i still have a "nasty" huge plsql block (sqlid=32fwmj6fsaqm9) that run more than : 80973 sec (about 21 hour).
    select last_call_et,status
    from v$session
    where sid= 97
    LAST_CALL_ET     STATUS
    80973             ACTIVE
    The last_call_et would be from the moment the front-end code called the pl/sql block, and since then the pl/sql could have been running a loop with a lot of deliberate waits (dbms_lock.sleep), or a number of different SQL statements that individually didn't consume huge resources or lose a lot of time, yet totalled a lot of time.
    Simple check before you start tracing, and if the session is still alive: select * from v$session_event where sid = 97, select name, value from V$sessstat where sid = 97 and value != 0, to see what clues this gives you about the time. You never know, you may find that a lot of the time was spent waiting on "PL/SQL lock timer".
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • AWR Report - suggestions to improve performance.

    Hi Folks,
    Web application server version - 10.1.2.0.2
    Database version - 10.1.0.4.0
    OS version - AIX 5.3
    WORKLOAD REPOSITORY report for
    DB Name         DB Id    Instance     Inst Num Release     Cluster Host
    xxxx      3419432639 xxxx            1 10.1.0.4.0  NO      hostname
                  Snap Id      Snap Time      Sessions Curs/Sess
    Begin Snap:     16598 07-Jul-09 16:30:54        23      60.7
      End Snap:     16599 07-Jul-09 17:30:46        36      94.1
       Elapsed:               59.88 (mins)
       DB Time:               44.99 (mins)
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
                   Buffer Cache:     1,536M      Std Block Size:         8K
               Shared Pool Size:     1,248M          Log Buffer:     1,024K
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                      Redo size:             30,495.86            138,156.74
                  Logical reads:              1,735.49              7,862.39
                  Block changes:                197.66                895.45
                 Physical reads:                564.70              2,558.28
                Physical writes:                 54.64                247.52
                     User calls:                  2.00                  9.04
                         Parses:                 14.32                 64.87
                    Hard parses:                  1.37                  6.22
                          Sorts:                  5.83                 26.42
                         Logons:                  0.12                  0.54
                       Executes:                 72.71                329.38
                   Transactions:                  0.22
      % Blocks changed per Read:   11.39    Recursive Call %:    99.64
    Rollback per transaction %:   17.53       Rows per Sort:  5933.99
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:  100.00       Redo NoWait %:  100.00
                Buffer  Hit   %:   71.24    In-memory Sort %:   99.79
                Library Hit   %:   96.22        Soft Parse %:   90.41
             Execute to Parse %:   80.31         Latch Hit %:   99.99
    Parse CPU to Parse Elapsd %:   21.82     % Non-Parse CPU:   96.80
    Shared Pool Statistics        Begin    End
                 Memory Usage %:   13.13   27.55
        % SQL with executions>1:   61.04   15.52
      % Memory for SQL w/exec>1:   60.96   12.31
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~                                        % Total
    Event                                 Waits    Time (s)   DB Time     Wait Class
    db file scattered read              135,977       1,204     44.62       User I/O
    CPU time                                            547     20.26
    db file sequential read              99,521         187      6.92       User I/O
    log file parallel write              10,995          16       .59     System I/O
    direct path write temp                7,225          13       .47       User I/O
    Wait Events  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> 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           135,977          0      1,204       9     171.5
    db file sequential read           99,521          0        187       2     125.5
    log file parallel write           10,995          0         16       1      13.9
    direct path write temp             7,225          0         13       2       9.1
    process startup                      117          1          7      58       0.1
    latch: library cache                 306          0          5      15       0.4
    direct path read temp            152,490          0          4       0     192.3
    db file parallel write               342          0          4      11       0.4
    log file sync                        309          3          4      13       0.4
    db file parallel read                359          0          3       8       0.5
    latch: cache buffers lru ch           80          0          2      19       0.1
    control file parallel write        1,325          0          1       1       1.7
    latch: row cache objects              26          0          1      51       0.0
    latch: cache buffers chains          138        138          1       9       0.2
    log file switch completion             3          0          1     399       0.0
    buffer busy waits                     94          0          1      10       0.1
    latch: shared pool                    44          0          0       6       0.1
    control file sequential rea        1,258          0          0       0       1.6
    latch: object queue header             3          0          0      41       0.0
    SQL*Net message to client          5,866          0          0       0       7.4
    LGWR wait for redo copy              495          1          0       0       0.6
    direct path read                      58          0          0       1       0.1
    latch: session allocation              6          0          0       6       0.0
    latch: In memory undo latch            3          0          0      10       0.0
    SQL*Net break/reset to clie           62          0          0       0       0.1
    control file single write             40          0          0       1       0.1
    latch: redo allocation                12          0          0       2       0.0
    latch free                             2          0          0      11       0.0
    enq: TX - index contention             1          0          0      21       0.0
    latch: messages                        8          0          0       2       0.0
    log file single write                  2          0          0       4       0.0
    direct path write                     99          0          0       0       0.1
    SQL*Net more data to client          237          0          0       0       0.3
    log file sequential read               2          0          0       2       0.0
    latch: library cache lock              1          0          0       3       0.0
    latch: enqueue hash chains             3          0          0       0       0.0
    SQL*Net more data from clie            2          0          0       0       0.0
    SQL*Net message from client        5,855          0     23,607    4032       7.4
    jobq slave wait                    3,441      3,334      9,925    2884       4.3
    Queue Monitor Wait                 1,537        623      3,532    2298       1.9
    Queue Monitor Slave Wait             503          0      3,532    7022       0.6
    wakeup time manager                   12          0      3,527  293898       0.0
    virtual circuit status               120        120      3,512   29266       0.2
    class slave wait                       2          2         10    4883       0.0
    Background Wait Events  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> 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           10,995          0         16       1      13.9
    process startup                      117          1          7      58       0.1
    db file sequential read            1,255          0          4       3       1.6
    db file parallel write               342          0          4      11       0.4
    control file parallel write        1,329          0          1       1       1.7
    db file scattered read               151          0          1       7       0.2
    latch: cache buffers lru ch           32          0          0      15       0.0
    latch: library cache                   5          0          0      69       0.0
    control file sequential rea          213          0          0       1       0.3
    latch: cache buffers chains            2          2          0      34       0.0
    LGWR wait for redo copy              495          1          0       0       0.6
    control file single write             40          0          0       1       0.1
    latch: redo allocation                12          0          0       2       0.0
    latch: messages                        8          0          0       2       0.0
    latch: object queue header             2          0          0       8       0.0
    log file single write                  2          0          0       4       0.0
    direct path write                     25          0          0       0       0.0
    buffer busy waits                      1          0          0       7       0.0
    latch: shared pool                     2          0          0       2       0.0
    log file sequential read               2          0          0       2       0.0
    direct path read                      22          0          0       0       0.0
    rdbms ipc message                 15,461     10,346     26,675    1725      19.5
    Queue Monitor Wait                 1,537        623      3,532    2298       1.9
    Queue Monitor Slave Wait             503          0      3,532    7022       0.6
    wakeup time manager                   12          0      3,527  293898       0.0
    smon timer                           175          8      3,418   19530       0.2
    Time Model Statistics  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> ordered by Time (seconds) desc
                                                           Time      % Total
    Statistic Name                                     (seconds)     DB Time
    sql execute elapsed time                            2,708.75      100.35
    DB time                                             2,699.22      100.00
    DB CPU                                                546.94       20.26
    background elapsed time                               113.64        4.21
    parse time elapsed                                     90.88        3.37
    hard parse elapsed time                                59.03        2.19
    PL/SQL execution elapsed time                          56.46        2.09
    Java execution elapsed time                             8.99         .33
    background cpu time                                     8.18         .30
    PL/SQL compilation elapsed time                         4.55         .17
    connection management call elapsed time                 1.08         .04
    failed parse elapsed time                                .73         .03
    hard parse (sharing criteria) elapsed time               .70         .03
    hard parse (bind mismatch) elapsed time                  .61         .02
    sequence load elapsed time                               .41         .02
    inbound PL/SQL rpc elapsed time                          .00         .00
    failed parse (out of shared memory) elapsed t            .00         .00
    Operating System Statistics  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    Statistic Name                                   Value
    AVG_BUSY_TICKS                                 771,364
    AVG_IDLE_TICKS                                 346,024
    AVG_IN_BYTES                             3,812,632,576
    AVG_IOWAIT_TICKS                                38,470
    AVG_OUT_BYTES                            1,141,137,408
    AVG_SYS_TICKS                                    2,786
    AVG_USER_TICKS                                  13,588
    BUSY_TICKS                                   3,085,837
    IDLE_TICKS                                   1,384,395
    IN_BYTES                                15,250,530,304
    IOWAIT_TICKS                                   154,103
    OS_CPU_WAIT_TIME                                70,200
    OUT_BYTES                                4,564,549,632
    RSRC_MGR_CPU_WAIT_TIME                               0
    SYS_TICKS                                       11,439
    USER_TICKS                                      54,613
    Service Statistics  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> ordered by DB Time
                                                                 Physical    Logical
    Service Name                      DB Time (s)   DB CPU (s)      Reads      Reads
    xxxx                              2,032.9        519.7  1,804,948  5,709,611
    SYS$USERS                               666.3         27.2    219,320    501,732
    SYS$BACKGROUND                            0.0          0.0      4,565     28,708
    xxxxXDB                               0.0          0.0          0          0
    Service Wait Class Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> 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 centisecond (100th of a second)
    Service Name
    User I/O  User I/O  Concurcy  Concurcy     Admin     Admin   Network   Network
    Total Wts   Wt Time Total Wts   Wt Time Total Wts   Wt Time Total Wts   Wt Time
    xxxx
       374696    127922         0         0         0         0      3701         7
    SYS$USERS
        18820     12406       172       222         0         0      2129         0
    SYS$BACKGROUND
         2218       783         0         0         0         0         0         0
    SQL ordered by Elapsed Time  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> Resources reported for PL/SQL code includes the resources used by all SQL
       statements called by the code.
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
    <<<<<<<<<<<<<<<<<<<<<<<<<<<SQLs Deleted >>>>>>>>>>>>      
    SQL ordered by Sharable Memory  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
                      No data exists for this section of the report.
    SQL ordered by Version Count  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
                      No data exists for this section of the report.
    Instance Activity Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    Statistic                                     Total     per Second     per Trans
    CPU used by this session                     53,470           14.9          67.4
    CPU used when call started                   51,928           14.5          65.5
    CR blocks created                             5,298            1.5           6.7
    Cached Commit SCN referenced                192,226           53.5         242.4
    Commit SCN cached                             3,613            1.0           4.6
    DB time                                   1,253,838          349.0       1,581.1
    DBWR checkpoint buffers written               4,304            1.2           5.4
    DBWR checkpoints                                  1            0.0           0.0
    DBWR transaction table writes                    59            0.0           0.1
    DBWR undo block writes                        5,557            1.6           7.0
    IMU CR rollbacks                                  1            0.0           0.0
    IMU Flushes                                     191            0.1           0.2
    IMU Redo allocation size                    860,820          239.6       1,085.5
    IMU commits                                     381            0.1           0.5
    IMU contention                                    5            0.0           0.0
    IMU ktichg flush                                  1            0.0           0.0
    IMU undo allocation size                  1,839,872          512.1       2,320.1
    SQL*Net roundtrips to/from clien              5,591            1.6           7.1
    active txn count during cleanout                948            0.3           1.2
    application wait time                             4            0.0           0.0
    background checkpoints completed                  1            0.0           0.0
    background checkpoints started                    1            0.0           0.0
    background timeouts                          10,366            2.9          13.1
    buffer is not pinned count                2,387,595          664.6       3,010.8
    buffer is pinned count                      792,051          220.5         998.8
    bytes received via SQL*Net from             333,467           92.8         420.5
    bytes sent via SQL*Net to client          2,449,972          682.0       3,089.5
    calls to get snapshot scn: kcmgs            319,869           89.0         403.4
    calls to kcmgas                              17,576            4.9          22.2
    calls to kcmgcs                               1,912            0.5           2.4
    change write time                             2,175            0.6           2.7
    cleanout - number of ktugct call              4,589            1.3           5.8
    cluster key scan block gets                 579,340          161.3         730.6
    cluster key scans                           283,013           78.8         356.9
    commit cleanout failures: block                   1            0.0           0.0
    commit cleanout failures: buffer                  1            0.0           0.0
    commit cleanout failures: callba                  1            0.0           0.0
    commit cleanout failures: cannot                  5            0.0           0.0
    commit cleanouts                             25,713            7.2          32.4
    commit cleanouts successfully co             25,705            7.2          32.4
    commit txn count during cleanout              4,110            1.1           5.2
    concurrency wait time                           650            0.2           0.8
    consistent changes                            7,352            2.1           9.3
    consistent gets                           5,509,829        1,533.7       6,948.1
    consistent gets - examination             1,061,141          295.4       1,338.1
    consistent gets direct                           39            0.0           0.1
    consistent gets from cache                5,509,790        1,533.7       6,948.0
    cursor authentications                          310            0.1           0.4
    data blocks consistent reads - u              6,747            1.9           8.5
    db block changes                            710,092          197.7         895.5
    db block gets                               725,044          201.8         914.3
    db block gets direct                         14,789            4.1          18.7
    db block gets from cache                    710,255          197.7         895.7
    deferred (CURRENT) block cleanou             14,036            3.9          17.7
    dirty buffers inspected                       9,309            2.6          11.7
    enqueue conversions                             926            0.3           1.2
    enqueue releases                             92,643           25.8         116.8
    enqueue requests                             92,643           25.8         116.8
    enqueue waits                                     1            0.0           0.0
    execute count                               261,199           72.7         329.4
    Instance Activity Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    Statistic                                     Total     per Second     per Trans
    free buffer inspected                     1,719,681          478.7       2,168.6
    free buffer requested                     1,804,893          502.4       2,276.0
    heap block compress                           1,617            0.5           2.0
    hot buffers moved to head of LRU            295,841           82.4         373.1
    immediate (CR) block cleanout ap              3,664            1.0           4.6
    immediate (CURRENT) block cleano              6,108            1.7           7.7
    index fast full scans (full)                    533            0.2           0.7
    index fetch by key                          582,804          162.2         734.9
    index scans kdiixs1                         328,534           91.5         414.3
    leaf node 90-10 splits                          190            0.1           0.2
    leaf node splits                                353            0.1           0.5
    logons cumulative                               426            0.1           0.5
    messages received                             5,699            1.6           7.2
    messages sent                                 5,699            1.6           7.2
    no buffer to keep pinned count                    0            0.0           0.0
    no work - consistent read gets            4,088,134        1,137.9       5,155.3
    opened cursors cumulative                    46,867           13.1          59.1
    parse count (failures)                           27            0.0           0.0
    parse count (hard)                            4,933            1.4           6.2
    parse count (total)                          51,443           14.3          64.9
    parse time cpu                                1,748            0.5           2.2
    parse time elapsed                            8,012            2.2          10.1
    physical read IO requests                   390,490          108.7         492.4
    physical reads                            2,028,713          564.7       2,558.3
    physical reads cache                      1,793,229          499.2       2,261.3
    physical reads cache prefetch             1,557,452          433.5       1,964.0
    physical reads direct                       235,484           65.6         297.0
    physical reads direct (lob)                      36            0.0           0.1
    physical reads direct temporary             235,426           65.5         296.9
    physical reads prefetch warmup                6,031            1.7           7.6
    physical write IO requests                   15,092            4.2          19.0
    physical writes                             196,287           54.6         247.5
    physical writes direct                      179,731           50.0         226.7
    physical writes direct (lob)                     39            0.0           0.1
    physical writes direct temporary            179,664           50.0         226.6
    physical writes from cache                   16,556            4.6          20.9
    physical writes non checkpoint              194,791           54.2         245.6
    pinned buffers inspected                          2            0.0           0.0
    prefetch warmup blocks aged out               1,292            0.4           1.6
    prefetched blocks aged out befor            293,795           81.8         370.5
    process last non-idle time                    1,954            0.5           2.5
    recursive calls                           1,997,982          556.1       2,519.5
    recursive cpu usage                          50,834           14.2          64.1
    redo blocks written                         224,755           62.6         283.4
    redo buffer allocation retries                    3            0.0           0.0
    redo entries                                357,063           99.4         450.3
    redo log space requests                           3            0.0           0.0
    redo log space wait time                        123            0.0           0.2
    redo ordering marks                           5,391            1.5           6.8
    redo size                               109,558,292       30,495.9     138,156.7
    redo synch time                                 398            0.1           0.5
    redo synch writes                               300            0.1           0.4
    redo wastage                              1,486,252          413.7       1,874.2
    redo write time                               1,657            0.5           2.1
    redo writer latching time                         7            0.0           0.0
    redo writes                                   5,499            1.5           6.9
    rollback changes - undo records               5,688            1.6           7.2
    rows fetched via callback                    96,659           26.9         121.9
    session connect time                              0            0.0           0.0
    session logical reads                     6,234,873        1,735.5       7,862.4
    Instance Activity Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    Statistic                                     Total     per Second     per Trans
    session pga memory                      162,220,520       45,154.5     204,565.6
    session pga memory max                  341,641,032       95,096.7     430,821.0
    session uga memory                  790,286,168,264  219,978,374.3 #############
    session uga memory max                  267,584,080       74,482.8     337,432.6
    shared hash latch upgrades - no             327,865           91.3         413.5
    shared hash latch upgrades - wai                 47            0.0           0.1
    sorts (disk)                                     44            0.0           0.1
    sorts (memory)                               20,909            5.8          26.4
    sorts (rows)                            124,334,820       34,609.0     156,790.4
    summed dirty queue length                    10,849            3.0          13.7
    switch current to new buffer                    125            0.0           0.2
    table fetch by rowid                        362,785          101.0         457.5
    table fetch continued row                     1,811            0.5           2.3
    table scan blocks gotten                  2,989,662          832.2       3,770.1
    table scan rows gotten                  102,945,486       28,655.2     129,817.8
    table scans (long tables)                        65            0.0           0.1
    table scans (short tables)                    8,082            2.3          10.2
    transaction rollbacks                            72            0.0           0.1
    undo change vector size                  40,524,316       11,280.1      51,102.5
    user I/O wait time                          140,959           39.2         177.8
    user calls                                    7,168            2.0           9.0
    user commits                                    654            0.2           0.8
    user rollbacks                                  139            0.0           0.2
    workarea executions - onepass                    30            0.0           0.0
    workarea executions - optimal                13,486            3.8          17.0
    write clones created in foregrou                  6            0.0           0.0
              -------------------------------------------------------------contd on next ...
    Edited by: LazyDBA10g on Jul 8, 2009 4:50 AM

    Instance Activity Stats - Absolute Values  DB/Inst: xxxx/xxxx  Snaps: 1
    -> Statistics with absolute values (should not be diffed)
    -> Statistics identified by '(derived)' come from sources other than SYSSTAT
    Statistic                            Begin Value       End Value
    opened cursors current                     1,397           3,387
    logons current                                23              36
    Instance Activity Stats - Thread Activity  DB/Inst: xxxx/xxxx  Snaps: 16
    Statistic                                     Total  per Hour
    log switches (derived)                            1      1.00
    Tablespace IO Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> 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)
    TEMP2
           153,326      43    0.2     1.6        6,040        2          0    0.0
    AA_DATA
           115,909      32    5.8     7.6          217        0          0    0.0
    AA_WEB
            57,358      16    9.1    12.8        2,200        1          0    0.0
    AA_INDEX
            43,576      12    3.3     3.3          738        0          0    0.0
    AA_WEB_IDX
            11,475       3    2.9     1.1            6        0          0    0.0
    SYSTEM
             5,575       2    3.8     1.4        2,528        1         61   16.1
    SYSAUX
             3,017       1    5.3     1.4        2,401        1          5    0.0
    UNDOTBS1
               262       0    5.0     1.0          955        0         28    0.0
    AA_LOB
                36       0   13.6     5.5            3        0          0    0.0
    USERS
                 3       0   33.3     1.0            3        0          0    0.0
    EXAMPLE
                 1       0   40.0     1.0            1        0          0    0.0
    File IO Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> 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)
    EXAMPLE                  /AAA/oradata/xxxx/example01.dbf
                 1       0   40.0     1.0            1        0          0    0.0
    SYSAUX                   /AAA/oradata/xxxx/sysaux01.dbf
             3,017       1    5.3     1.4        2,401        1          5    0.0
    SYSTEM                   /AAA/oradata/xxxx/system01.dbf
             5,575       2    3.8     1.4        2,528        1         61   16.1
    TEMP2                    /AAA/oradata/xxxx/TEMP02.DBFf
           153,324      43    0.2     1.6        6,040        2          0
    TEMP2                    /AAA/oradata/xxxx/TEMP03.DBF
                 2       0    5.0     1.0            0        0          0
    UNDOTBS1                 /AAA/oradata/xxxx/undotbs01.dbf
               181       0    4.9     1.0          307        0          3    0.0
    UNDOTBS1                 /AAA/oradata/xxxx/undotbs02.dbf
                70       0    5.6     1.0          157        0         20    0.0
    UNDOTBS1                 /AAA/oradata/xxxx/undotbs021.dbf
                11       0    2.7     1.0          491        0          5    0.0
    USERS                    /AAA/oradata/xxxx/users01.dbf
                 1       0   50.0     1.0            1        0          0    0.0
    USERS                    /AAA/oradata/xxxx/users02.dbf
                 1       0   30.0     1.0            1        0          0    0.0
    USERS                    /AAA/oradata/xxxx/users03.dbf
                 1       0   20.0     1.0            1        0          0    0.0
    AA_DATA              /AAA/oradata/xxxx/AA_DATA01.DBF
            28,830       8    5.8     7.6           80        0          0    0.0
    AA_DATA              /AAA/oradata/xxxx/AA_DATA02.DBF
            30,068       8    5.8     7.5           34        0          0    0.0
    AA_DATA              /AAA/oradata/xxxx/AA_DATA03.DBF
            28,669       8    5.8     7.5           56        0          0    0.0
    AA_DATA              /AAA/oradata/xxxx/AA_DATA04.DBF
            28,342       8    5.9     7.7           47        0          0    0.0
    AA_INDEX             /AAA/oradata/xxxx/AA_INDEX01.DBF
            22,286       6    3.1     3.2          439        0          0    0.0
    AA_INDEX             /AAA/oradata/xxxx/AA_INDEX02.DBF
            21,290       6    3.4     3.3          299        0          0    0.0
    AA_LOB               /AAA/oradata/xxxx/AA_LOB01.DBF
                20       0   11.0     5.4            1        0          0    0.0
    AA_LOB               /AAA/oradata/xxxx/AA_LOB02.DBF
                11       0   17.3     5.5            1        0          0    0.0
    AA_LOB               /AAA/oradata/xxxx/AA_LOB03.DBF
                 5       0   16.0     6.2            1        0          0    0.0
    AA_WEB               /AAA/oradata/xxxx/AA_WEB01.DBF
            28,640       8    9.2    12.8        1,079        0          0    0.0
    AA_WEB               /AAA/oradata/xxxx/AA_WEB02.DBF
            28,718       8    9.0    12.8        1,121        0          0    0.0
    AA_WEB_IDX           /AAA/oradata/xxxx/AA_WEB_IDX01.DBF
             5,068       1    2.8     1.2            2        0          0    0.0
    AA_WEB_IDX           /AAA/oradata/xxxx/AA_WEB_IDX02.DBF
             6,407       2    2.9     1.1            4        0          0    0.0
    Buffer Pool Statistics  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> Standard block size Pools  D: default,  K: keep,  R: recycle
    -> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
                                                                Free Writ     Buffer
         Number of Pool         Buffer     Physical    Physical Buff Comp       Busy
    P      Buffers Hit%           Gets        Reads      Writes Wait Wait      Waits
    D      190,848   71      6,220,953    1,793,255      16,556    0    0         94
    Instance Recovery Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> 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     8        155       955      5359     360000      5359
    E     0     9        311      1177      4572     360000      4572
    Buffer Pool Advisory  DB/Inst: xxxx/xxxx  Snap: 16599
    -> 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            144    .1           17,892          1.97          3,571,363
    D            288    .2           35,784          1.62          2,936,281
    D            432    .3           53,676          1.57          2,850,391
    D            576    .4           71,568          1.44          2,616,052
    D            720    .5           89,460          1.33          2,414,217
    D            864    .6          107,352          1.15          2,091,986
    D          1,008    .7          125,244          1.04          1,882,876
    D          1,152    .8          143,136          1.02          1,857,287
    D          1,296    .8          161,028          1.02          1,844,981
    D          1,440    .9          178,920          1.01          1,830,107
    D          1,536   1.0          190,848          1.00          1,816,003
    D          1,584   1.0          196,812          0.98          1,785,023
    D          1,728   1.1          214,704          0.93          1,688,213
    D          1,872   1.2          232,596          0.89          1,613,261
    D          2,016   1.3          250,488          0.88          1,594,176
    D          2,160   1.4          268,380          0.87          1,584,933
    D          2,304   1.5          286,272          0.87          1,582,965
    D          2,448   1.6          304,164          0.86          1,569,802
    D          2,592   1.7          322,056          0.86          1,569,169
    D          2,736   1.8          339,948          0.86          1,568,758
    D          2,880   1.9          357,840          0.86          1,568,194
    PGA Aggr Summary  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> PGA cache hit % - percentage of W/A (WorkArea) data processed only in-memory
    PGA Cache Hit %   W/A MB Processed  Extra W/A MB Read/Written
               88.0              4,058                        552
    PGA Aggr Target Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> B: Begin snap   E: End snap (rows dentified with B or E contain data
       which is absolute i.e. not diffed over the interval)
    -> 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  %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        500        432       57.5        0.0     .0     .0     .0     25,600
    E        500        428       70.2        0.0     .0     .0     .0     25,600
    PGA Aggr Target Histogram  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> Optimal Executions are purely in-memory operations
      Low     High
    Optimal Optimal    Total Execs  Optimal Execs 1-Pass Execs M-Pass Execs
         2K      4K         11,726         11,726            0            0
        64K    128K            256            256            0            0
       128K    256K            206            206            0            0
       256K    512K            583            583            0            0
       512K   1024K            363            363            0            0
         1M      2M            124            124            0            0
         2M      4M            107            107            0            0
         4M      8M             66             64            2            0
         8M     16M             49             35           14            0
        16M     32M             52             39           13            0
        32M     64M              3              2            1            0
        64M    128M              4              4            0            0
       128M    256M              2              2            0            0
    PGA Memory Advisory  DB/Inst: xxxx/xxxx  Snap: 16599
    -> 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
            63     0.1          4,098.7          2,609.3     61.0          0
           125     0.3          4,098.7          1,521.6     73.0          0
           250     0.5          4,098.7          1,354.7     75.0          0
           375     0.8          4,098.7          1,109.3     79.0          0
           500     1.0          4,098.7            373.4     92.0          0
           600     1.2          4,098.7             71.6     98.0          0
           700     1.4          4,098.7             41.6     99.0          0
           800     1.6          4,098.7             41.6     99.0          0
           900     1.8          4,098.7              0.0    100.0          0
         1,000     2.0          4,098.7              0.0    100.0          0
         1,500     3.0          4,098.7              0.0    100.0          0
         2,000     4.0          4,098.7              0.0    100.0          0
         3,000     6.0          4,098.7              0.0    100.0          0
         4,000     8.0          4,098.7              0.0    100.0          0
    Shared Pool Advisory  DB/Inst: xxxx/xxxx  Snap: 16599
    -> 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.
                                            Est LC Est LC  Est LC Est LC
        Shared    SP   Est LC                 Time   Time    Load   Load      Est LC
          Pool  Size     Size       Est LC   Saved  Saved    Time   Time         Mem
       Size(M) Factr      (M)      Mem Obj     (s)  Factr     (s)  Factr    Obj Hits
           224    .2      130        9,174     380    1.0      91    1.0     408,867
           352    .3      171       12,647     381    1.0      90    1.0     409,226
           480    .4      171       12,647     381    1.0      90    1.0     409,226
           608    .5      171       12,647     381    1.0      90    1.0     409,226
           736    .6      171       12,647     381    1.0      90    1.0     409,226
           864    .7      171       12,647     381    1.0      90    1.0     409,226
           992    .8      171       12,647     381    1.0      90    1.0     409,226
         1,120    .9      171       12,647     381    1.0      90    1.0     409,226
         1,248   1.0      171       12,647     381    1.0      90    1.0     409,226
         1,376   1.1      171       12,647     381    1.0      90    1.0     409,226
         1,504   1.2      171       12,647     381    1.0      90    1.0     409,226
         1,632   1.3      171       12,647     381    1.0      90    1.0     409,226
         1,760   1.4      171       12,647     381    1.0      90    1.0     409,226
         1,888   1.5      171       12,647     381    1.0      90    1.0     409,226
         2,016   1.6      171       12,647     381    1.0      90    1.0     409,226
         2,144   1.7      171       12,647     381    1.0      90    1.0     409,226
         2,272   1.8      171       12,647     381    1.0      90    1.0     409,226
         2,400   1.9      171       12,647     381    1.0      90    1.0     409,226
         2,528   2.0      171       12,647     381    1.0      90    1.0     409,226
    Java Pool Advisory  DB/Inst: xxxx/xxxx  Snap: 16599
                                            Est LC Est LC  Est LC Est LC
          Java    JP   Est LC                 Time   Time    Load   Load      Est LC
          Pool  Size     Size       Est LC   Saved  Saved    Time   Time         Mem
       Size(M) Factr      (M)      Mem Obj     (s)  Factr     (s)  Factr    Obj Hits
            32    .1        6          142       2    1.0      23    1.0         142
            64    .3        6          142       2    1.0      23    1.0         142
            96    .4        6          142       2    1.0      23    1.0         142
           128    .5        6          142       2    1.0      23    1.0         142
           160    .6        6          142       2    1.0      23    1.0         142
           192    .8        6          142       2    1.0      23    1.0         142
           224    .9        6          142       2    1.0      23    1.0         142
           256   1.0        6          142       2    1.0      23    1.0         142
           288   1.1        6          142       2    1.0      23    1.0         142
           320   1.3        6          142       2    1.0      23    1.0         142
           352   1.4        6          142       2    1.0      23    1.0         142
           384   1.5        6          142       2    1.0      23    1.0         142
           416   1.6        6          142       2    1.0      23    1.0         142
           448   1.8        6          142       2    1.0      23    1.0         142
           480   1.9        6          142       2    1.0      23    1.0         142
           512   2.0        6          142       2    1.0      23    1.0         142
    Buffer Wait Statistics  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> ordered by wait time desc, waits desc
    Class                    Waits Total Wait Time (s)  Avg Time (ms)
    data block                  66                   1             15
    undo block                  25                   0              0
    undo header                  3                   0              0
    Enqueue Activity  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> Enqueue stats gathered prior to 10i should not be compared with 10i data
    -> ordered by Wait Time desc, Waits desc
    Enqueue Type (Request Reason)
        Requests    Succ Gets Failed Gets       Waits  Wt Time (s) Av Wt Time(ms)
    TX-Transaction (index contention)
               1            1           0           1            0          22.00
    Undo Segment Summary  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> 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   Snap OutOf    uS/uR/uU/
    TS#       Blocks           Trans  Len (s) Concurcy TooOld Space    eS/eR/eU
       1        5,497           6,716    2,708        4      0     0 0/0/0/0/0/0
    Undo Segment Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> ordered by Time desc
                        Undo          Num Max Qry  Max Tx   Snap OutOf   uS/uR/uU/
    End Time          Blocks        Trans Len (s)   Concy TooOld Space   eS/eR/eU
    07-Jul 17:24          26          161   2,708       1      0     0 0/0/0/0/0/0
    07-Jul 17:14          27          143   2,108       2      0     0 0/0/0/0/0/0
    07-Jul 17:04          27          226   1,508       1      0     0 0/0/0/0/0/0
    07-Jul 16:54       1,565        1,734     204       4      0     0 0/0/0/0/0/0
    07-Jul 16:44       2,985        3,078     145       4      0     0 0/0/0/0/0/0
    07-Jul 16:34         867        1,374       0       4      0     0 0/0/0/0/0/0
    Latch Activity  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> "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 Name                     Requests   Miss  /Miss    (s)     Requests   Miss
    Consistent RBA                    5,501    0.0             0            0
    FOB s.o list latch                  523    0.0             0            0
    In memory undo latch              4,267    0.1    1.0      0          728    1.2
    JOX SGA heap latch                   22    0.0             0            0
    JS queue state obj latch         25,992    0.0             0            0
    JS slv state obj latch              338    0.0             0            0
    KTF sga enqueue                       8    0.0             0        1,092    0.0
    KWQMN job cache list lat             12    0.0             0            0
    KWQP Prop Status                    415    0.0             0            0
    MQL Tracking Latch                    0                    0           72    0.0
    Memory Management Latch          18,075    0.0             0        1,207    0.0
    PL/SQL warning settings           1,607    0.0             0            0
    SQL memory manager latch              1    0.0             0        1,206    0.0
    SQL memory manager worka        127,457    0.0    0.0      0            0
    SWRF Alerted Metric Elem         13,029    0.0             0            0
    Shared B-Tree                     2,523    0.0             0            0
    active checkpoint queue           1,560    0.0             0            0
    active service list               6,791    0.0             0            0
    archive control                       8    0.0             0            0
    begin backup scn array               40    0.0             0            0
    cache buffer handles              4,560    0.0             0            0
    cache buffers chains         14,704,024    0.0    0.2      1    3,447,993    0.0
    cache buffers lru chain          62,381    0.3    0.4      2    3,121,799    0.4
    channel handle pool latc            759    0.0             0            0
    channel operations paren         14,505    0.0             0            0
    checkpoint queue latch           67,923    0.0             0       16,481    0.0
    child cursor hash table          36,508    0.0             0            0
    client/application info              16    0.0             0            0
    compile environment latc          1,063    0.0             0            0
    cursor bind value captur            125    0.0             0          384    1.0
    dictionary lookup                   107    0.0             0            0
    dml lock allocation              52,017    0.1    0.0      0            0
    dummy allocation                    839    0.4    0.0      0            0
    enqueue hash chains             186,347    0.0    0.1      0            0
    enqueues                        122,225    0.0    0.0      0            0
    event group latch                   230    0.0             0            0
    file cache latch                    153    0.0             0            0
    global KZLD latch for me            110    0.0             0            0
    hash table column usage             512    0.0             0      138,833    0.0
    hash table modification             125    0.0             0            0
    internal temp table obje              3    0.0             0            0
    job workq parent latch                0                    0          388    0.0
    job_queue_processes para            172    0.0             0            0
    ksuosstats global area              243    0.0             0            0
    ktm global data                     175    0.0             0            0
    kwqbsn:qsga                       2,523    0.0             0            0
    lgwr LWN SCN                      6,225    0.0             0            0
    library cache                 1,069,757    0.1    0.3      5        2,857  227.5
    library cache load lock          10,002    0.0             0            0
    library cache lock              277,733    0.0    0.0      0            0
    library cache lock alloc          4,092    0.0             0            0
    library cache pin               776,264    0.0    0.0      0            0
    library cache pin alloca          4,018    0.0             0            0
    list of block allocation          1,044    0.0             0            0
    loader state object free            460    0.0             0            0
    longop free list parent           1,357    0.0             0       19,547    0.0
    message pool operations             334    0.0             0            0
    messages                         37,979    0.0    0.9      0            0
    mostly latch-free SCN             6,237    0.0    0.0      0            0
    multiblock read objects         351,202    0.0    0.0      0            0
    Latch Activity  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> "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 requestscontd..............
    Edited by: LazyDBA10g on Jul 8, 2009 4:51 AM

  • Shared pool & application

    Hi, I am using Oracle Applications 9 with DB 9ir2, and I like to know if exists any documentation that say the minimal MB that I must assign to the parameter SHARED_POOL_SIZE in my database. Actually I have 608 MB in the shared pool, but in the V$SHARED_POOL_ADVICE I view that I can reduce the size to 250 MB.
    Someone know this?
    How could I know looking in the Statspack report If the Shared Pool is right sized or If I need increase or decrease the size?
    Please, I need help on this.
    Thanks a lot!

    Thanks for the answer. Look my shared pool statistics taken of the statspack report:
    Shared Pool Statistics        Begin   End
                 Memory Usage %:   85.53   86.25
        % SQL with executions>1:   29.59   25.75
      % Memory for SQL w/exec>1:   46.08   42.59I need to decrease or increase the Shared Pool? This is a database for an Application 9, exists some minimal value to set for the shared_pool_size?
    This is the advisory of the shared pool taken of the statspack report:
    Shared Pool Advisory:
    -> 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
            352    .6        320       83,387    6,248,540     1.0     231,336,205
            416    .7        383       97,436    6,248,634     1.0     231,363,978
            480    .8        446      112,332    6,248,704     1.0     231,389,862
            544    .9        509      126,814    6,248,752     1.0     231,409,576
            608   1.0        572      140,750    6,248,816     1.0     231,427,940
            672   1.1        635      158,171    6,248,842     1.0     231,440,024
            736   1.2        698      173,436    6,248,872     1.0     231,452,513
            800   1.3        761      187,288    6,248,898     1.0     231,464,942
            864   1.4        824      202,502    6,248,914     1.0     231,474,703
            928   1.5        887      216,446    6,248,936     1.0     231,484,732
            992   1.6        950      231,262    6,248,961     1.0     231,496,133
          1,056   1.7      1,013      246,756    6,248,980     1.0     231,511,179
          1,120   1.8      1,076      263,345    6,248,992     1.0     231,519,974
          1,184   1.9      1,139      281,102    6,249,008     1.0     231,529,713
          1,248   2.1      1,212      301,883    6,249,050     1.0     231,538,207
              -------------------------------------------------------------Thanks a lot!

  • Is it recommened to flush shared pool after taking statistics??

    Hi, all.
    The database is 2 node RAC 10.2.0.2.0 on 32-bit windows 2003 EE SP1.
    I stoped the default statistics-gathering-job of GATHER_STATS_JOB
    because it takes statistics of all objects in database and it runs everyday.
    In addition, it seems to cause "library cache related" wait events in a RAC
    environment.
    I have a plan to take statistics of ONLY an application schema, not all objects
    of a database, by using GATHER_SCHEMA_STATS procedure.
    Is it recommended to flush shared pool after taking statistics of an application
    schema??
    Thanks and Regards.

    Is it recommended to flush shared pool after taking
    statistics of an application
    schema??neednt cause whenever you gather stats either its system or not oracle age out the plan and regenerate the new plan on the basis of new gathered stats,see how oracle is smart.
    SQL> create table t as select rownum a,object_name
      2    from all_objects
      3  /
    Table created. 
    SQL> alter system flush shared_pool
      2  /
    System altered.
    SQL> alter session set sql_trace=true
      2  /
    Session altered.
    SQL> declare
      2   va  t.a%type;
      3  begin
      4   for i in 1..100
      5   loop
      6    execute immediate 'analyze table t compute system statistics';
      7    select a into va
      8      from t
      9     where a=i;
    10   end loop;
    11  end;
    12  /
    PL/SQL procedure successfully completed.
    SELECT a from t
       where a=:b1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute    100      0.12       0.11          0          0          0           0
    Fetch      100      0.26       0.32          0      11800          0         100
    total      201      0.39       0.44          0      11800          0         100
    Misses in library cache during parse: 1
    Misses in library cache during execute: 99
    Optimizer goal: CHOOSE
    Parsing user id: 59     (recursive depth: 1)
    Rows     Row Source Operation
          1  TABLE ACCESS FULL T
    Misses in library cache during execute: 99 shows you aging out the plan after every gathering stats.
    Khurram

  • AWR Report -- Buffer Pool Advisory

    Hi,
    does anyone know in that kind of measurement the "Estimated Phys Reads (thousands)" from buffer pool advisory is ?
    I mean in seconds ? in hours ? addicted to the time period the report was written ?
    http://img.ly/images/6379055/full
    Thanks a lot
    *T                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Re,
    OK it makes it a little bit clearer.
    What I now think to understand is that the "Estimated Phys Reads (thousands) no represents the
    current workload of the system it only gives clue that there will be a change around 3 times more blocks was red.
    Right ?
    But if it is like that why these numbers are changing from one to another report....
    So again another image.... Maybe my problem is that I try to set the current workload (phys block reads) in comparison with the "Estimated Phy Reads from the Advisory....
    Our AWR reports are generated every hour.
    http://img.ly/qNfn
    Sorry for my understanding problem... I also will try to check if the views gave other information than the ARW report.
    *T                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • AWR Report - no data!!

    Oracle Version: 11.1.0.7 64x
    OS Version: Windows 2008 Server 64x
    Hi There,
    We're just trying to generate a awr report for one of our databases and the report is coming out with no data.
    statistics_level parameter is set to "TYPICAL"; any idea to what's going on please?
    Thanks
    SQL>
    SQL> @?/rdbms/admin/awrrpt.sql
    Current Instance
    ~~~~~~~~~~~~~~~~
       DB Id    DB Name      Inst Num Instance
    1391811405 WEBTST              1 webtst
    Specify the Report Type
    ~~~~~~~~~~~~~~~~~~~~~~~
    Would you like an HTML report, or a plain text report?
    Enter 'html' for an HTML report, or 'text' for plain text
    Defaults to 'html'
    Enter value for report_type: text
    Type Specified:  text
    Instances in this Workload Repository schema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       DB Id     Inst Num DB Name      Instance     Host
    * 1391811405        1 WEBTST       webtst       WEBDBTST
    Using 1391811405 for database Id
    Using          1 for instance number
    Specify the number of days of snapshots to choose from
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Entering the number of days (n) will result in the most recent
    (n) days of snapshots being listed.  Pressing <return> without
    specifying a number lists all completed snapshots.
    Enter value for num_days: 1
    Listing the last day's Completed Snapshots
                                                            Snap
    Instance     DB Name        Snap Id    Snap Started    Level
    webtst       WEBTST           43973 12 May 2011 00:00      1
                                  43974 12 May 2011 01:00      1
                                  43975 12 May 2011 02:00      1
                                  43976 12 May 2011 03:00      1
                                  43977 12 May 2011 04:00      1
                                  43978 12 May 2011 05:00      1
                                  43979 12 May 2011 06:00      1
                                  43980 12 May 2011 07:00      1
                                  43981 12 May 2011 08:00      1
                                  43982 12 May 2011 09:00      1
                                  43983 12 May 2011 10:00      1
                                  43984 12 May 2011 11:00      1
                                  43985 12 May 2011 11:02      1
    Specify the Begin and End Snapshot Ids
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Enter value for begin_snap: 43984
    Begin Snapshot Id specified: 43984
    Enter value for end_snap: 43985
    End   Snapshot Id specified: 43985
    Specify the Report Name
    ~~~~~~~~~~~~~~~~~~~~~~~
    The default report file name is awrrpt_1_43984_43985.txt.  To use this name,
    press <return> to continue, otherwise enter an alternative.
    Enter value for report_name:
    Using the report name awrrpt_1_43984_43985.txt
    WARNING (-20023)
    ORA-20023: Missing start and end values for time model stat: parse time elapsed
    WARNING (-20023)
    ORA-20023: Missing start and end values for time model stat: DB CPU
    WARNING (-20016)
    ORA-20016: Missing value for SGASTAT: free memory
    WARNING (-20016)
    ORA-20016: Missing value for SGASTAT: free memory
    WARNING (-20009)
    ORA-20009: Missing System Statistic logons current
    WARNING (-20009)
    ORA-20009: Missing System Statistic logons current
    WARNING (-20009)
    ORA-20009: Missing System Statistic opened cursors current
    WARNING (-20009)
    ORA-20009: Missing System Statistic opened cursors current
    WARNING (-20023)
    ORA-20023: Missing start and end values for time model stat: sql execute elapsed
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter undo_management
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter db_block_size
    WARNING (-20016)
    ORA-20016: Missing value for SGASTAT: log_buffer
    WARNING (-20023)
    ORA-20023: Missing start and end values for time model stat: DB time
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter timed_statistics
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter timed_statistics
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter statistics_level
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter statistics_level
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter sga_target
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter pga_aggregate_target
    WARNING (-20023)
    ORA-20023: Missing start and end values for time model stat: background cpu time
    WARNING (-20023)
    ORA-20023: Missing start and end values for time model stat: background elapsed
    WARNING (-20023)
    ORA-20023: Missing start and end values for time model stat: connection manageme
    WARNING (-20016)
    ORA-20016: Missing value for SGASTAT: buffer_cache
    WARNING (-20016)
    ORA-20016: Missing value for SGASTAT: buffer_cache
    WARNING: Since the DB Time is less than one second, there was
             minimal foreground activity in the snapshot period.
             Some of the percentage values will be invalid.
    WORKLOAD REPOSITORY report for
    DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC
    WEBTST        1391811405 webtst              1 29-Apr-11 04:50 11.1.0.7.0  NO
    Host Name        Platform                         CPUs Cores Sockets Memory(GB)
    WEBDBTST         Microsoft Windows x86 64-bit                           .00
                  Snap Id      Snap Time      Sessions Curs/Sess
    Begin Snap:     43984 12-May-11 11:00:01
      End Snap:     43985 12-May-11 11:02:00
       Elapsed:                1.98 (mins)
       DB Time:                0.00 (mins)
    Cache Sizes                       Begin        End
    ~~~~~~~~~~~                  ---------- ----------
                   Buffer Cache:MM  Std Block Size:K
               Shared Pool Size:         0M         0M      Log Buffer:K
    ORA-01403: no data found
    Error encountered in Report Summary
    Continuing to Report Sections
    Time Model Statistics              DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Operating System Statistics         DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Operating System Statistics - DetailDB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Foreground Wait Class               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
    -> 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 %  of Total DB time            .00 (s)
    -> Total FG Wait Time:    (s)  DB CPU time:            .00 (s)
                                                                      Avg
                                          %Time       Total Wait     wait
    Wait Class                      Waits -outs         Time (s)     (ms)  %DB time
    DB CPU                                                     0              100.0
    Foreground Wait Events             DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Background Wait Events             DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Wait Event Histogram               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Service Statistics                 DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Service Wait Class Stats            DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by Elapsed Time        DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by CPU Time            DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by Gets                DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by Reads               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by Executions          DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by Parse Calls         DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by Sharable Memory     DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by Version Count       DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Instance Activity Stats            DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Instance Activity Stats - Absolute ValuesDB/Inst: WEBTST/webtst  Snaps: 43984
                      No data exists for this section of the report.
    Instance Activity Stats - Thread ActivityDB/Inst: WEBTST/webtst  Snaps: 43984-
                      No data exists for this section of the report.
    Tablespace IO Stats                DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    File IO Stats                      DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Buffer Pool Statistics             DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Instance Recovery Stats             DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Buffer Pool Advisory                       DB/Inst: WEBTST/webtst  Snap: 43985
                      No data exists for this section of the report.
    PGA Aggr Summary                   DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    PGA Aggr Target Stats               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    PGA Aggr Target Histogram           DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    PGA Memory Advisory                        DB/Inst: WEBTST/webtst  Snap: 43985
                      No data exists for this section of the report.
    Shared Pool Advisory                      DB/Inst: WEBTST/webtst  Snap: 43985
                      No data exists for this section of the report.
    SGA Target Advisory                        DB/Inst: WEBTST/webtst  Snap: 43985
                      No data exists for this section of the report.
    Streams Pool Advisory                      DB/Inst: WEBTST/webtst  Snap: 43985
                      No data exists for this section of the report.
    Java Pool Advisory                         DB/Inst: WEBTST/webtst  Snap: 43985
                      No data exists for this section of the report.
    Buffer Wait Statistics              DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Enqueue Activity                   DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Undo Segment Summary               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Undo Segment Stats                  DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Latch Activity                     DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Latch Sleep Breakdown              DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Latch Miss Sources                 DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Mutex Sleep Summary                 DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Parent Latch Statistics            DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Child Latch Statistics              DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Segments by Row Lock Waits         DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Segments by ITL Waits               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Segments by Buffer Busy Waits       DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Dictionary Cache Stats             DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Library Cache Activity              DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Memory Dynamic Components          DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Memory Resize Operations Summary    DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Memory Resize Ops                   DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Process Memory Summary             DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    sum
    SGA breakdown difference            DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Streams CPU/IO Usage               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Streams Capture                     DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Streams Apply                       DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Buffered Queues                     DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Buffered Subscribers                DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Rule Set                            DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Persistent Queues                   DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Persistent Subscribers              DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Resource Limit Stats                      DB/Inst: WEBTST/webtst  Snap: 43985
                      No data exists for this section of the report.
    init.ora Parameters                DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    End of Report

    SQL> show parameter statistics
    NAME                                 TYPE        VALUE
    optimizer_use_pending_statistics     boolean     FALSE
    statistics_level                     string      TYPICAL
    timed_os_statistics                  integer     0
    timed_statistics                     boolean     TRUE
    SQL>
    SQL> SELECT statistics_name,
      2             session_status,
      3             system_status,
      4             activation_level,
      5             session_settable
      6      FROM   v$statistics_level
      7      ORDER BY statistics_name;
    STATISTICS_NAME                                                  SESSION_ SYSTEM_S ACTIVAT SES
    Active Session History                                           ENABLED  ENABLED  TYPICAL NO
    Adaptive Thresholds Enabled                                      ENABLED  ENABLED  TYPICAL NO
    Automated Maintenance Tasks                                      ENABLED  ENABLED  TYPICAL NO
    Bind Data Capture                                                ENABLED  ENABLED  TYPICAL NO
    Buffer Cache Advice                                              ENABLED  ENABLED  TYPICAL NO
    Global Cache Statistics                                          ENABLED  ENABLED  TYPICAL NO
    Longops Statistics                                               ENABLED  ENABLED  TYPICAL NO
    MTTR Advice                                                      DISABLED DISABLED TYPICAL NO
    Modification Monitoring                                          ENABLED  ENABLED  TYPICAL NO
    PGA Advice                                                       ENABLED  ENABLED  TYPICAL NO
    Plan Execution Sampling                                          ENABLED  ENABLED  TYPICAL YES
    Plan Execution Statistics                                        DISABLED DISABLED ALL     YES
    SQL Monitoring                                                   ENABLED  ENABLED  TYPICAL YES
    Segment Level Statistics                                         ENABLED  ENABLED  TYPICAL NO
    Shared Pool Advice                                               ENABLED  ENABLED  TYPICAL NO
    Streams Pool Advice                                              ENABLED  ENABLED  TYPICAL NO
    Threshold-based Alerts                                           ENABLED  ENABLED  TYPICAL NO
    Time Model Events                                                ENABLED  ENABLED  TYPICAL YES
    Timed OS Statistics                                              DISABLED DISABLED ALL     YES
    Timed Statistics                                                 ENABLED  ENABLED  TYPICAL YES
    Ultrafast Latch Statistics                                       ENABLED  ENABLED  TYPICAL NO
    Undo Advisor, Alerts and Fast Ramp up                            ENABLED  ENABLED  TYPICAL NO
    V$IOSTAT_* statistics                                            ENABLED  ENABLED  TYPICAL NO
    23 rows selected.
    SQL>Thanks
    Edited by: rsar001 on May 12, 2011 11:33 AM

  • Blank awr report shown in oracle standars edition 11g (11.2.0.1.0)

    Hi, friends ..
    I am using Oracle 11g standars edition(11.2.0.1.0) on solaris 10 platform.I do have a very strange probleem..when iam trying to capture awr report i am getting a blank
    awr report contain ing nothing...like below section
    ---------------------------------------------------------------------------->
    WARNING: Since the DB Time is less than one second, there was minimal foreground activity in the snapshot period. Some of the percentage values will be invalid.
    WORKLOAD REPOSITORY report for
    DB Name DB Id Instance Inst num Startup Time Release RAC
    DISDB 771054785 disdb 1 30-Dec-10 10:12 11.2.0.1.0 NO
    Host Name Platform CPUs Cores Sockets Memory (GB)
    dissemination-new Solaris Operating System (x86-64) .00
    Snap Id Snap Time Sessions Cursors/Session
    Begin Snap: 1 30-Dec-10 11:30:21
    End Snap: 2 30-Dec-10 12:30:52
    Elapsed: 60.51 (mins)
    DB Time: 0.00 (mins)
    Report Summary
    Cache Sizes
    Begin End
    Buffer Cache: M M Std Block Size: K
    Shared Pool Size: 0M 0M Log Buffer: K
    Load Profile
    Per Second Per Transaction Per Exec Per Call
    DB Time(s): 0.0 0.0 0.00 0.00
    DB CPU(s): 0.0 0.0 0.00 0.00
    Redo size:
    Logical reads: 0.0 1.0
    Block changes: 0.0 1.0
    Physical reads: 0.0 1.0
    Physical writes: 0.0 1.0
    User calls: 0.0 1.0
    Parses: 0.0 1.0
    Hard parses:
    W/A MB processed: 0.0 0.0
    Logons:
    Executes: 0.0 1.0
    Rollbacks:
    Transactions: 0.0
    Instance Efficiency Percentages (Target 100%)
    Buffer Nowait %: Redo NoWait %:
    Buffer Hit %: In-memory Sort %:
    Library Hit %: Soft Parse %:
    Execute to Parse %: 0.00 Latch Hit %:
    Parse CPU to Parse Elapsd %: % Non-Parse CPU:
    Shared Pool Statisitics Not Available
    Top 5 Timed Foreground Events
    Event Waits Time(s) Avg wait (ms) % DB time Wait Class
    DB CPU 0 100.00
    Host CPU (CPUs: Cores: Sockets: )
    Load Average Begin Load Average End %User %System %WIO %Idle
    Instance CPU
    %Total CPU %Busy CPU %DB time waiting for CPU (Resource Manager)
    Memory Statistics
    Begin End
    Host Mem (MB):
    SGA use (MB):
    PGA use (MB):
    % Host Mem used for SGA+PGA:
    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
    Back to Top
    Wait Events Statistics
    Time Model Statistics
    Operating System Statistics
    Operating System Statistics - Detail
    Foreground Wait Class
    Foreground Wait Events
    Background Wait Events
    Wait Event Histogram
    Wait Event Histogram Detail (64 msec to 2 sec)
    Wait Event Histogram Detail (4 sec to 2 min)
    Wait Event Histogram Detail (4 min to 1 hr)
    Service Statistics
    Service Wait Class Stats
    Back to Top
    Time Model Statistics
    No data exists for this section of the report.
    Back to Wait Events Statistics
    Back to Top
    Operating System Statistics
    No data exists for this section of the report.
    Back to Wait Events Statistics
    Back to Top
    Operating System Statistics - Detail
    No data exists for this section of the report.
    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 % of Total DB time .00 (s)
    Total FG Wait Time: (s) DB CPU time: .00 (s)
    Wait Class Waits %Time -outs Total Wait Time (s) Avg wait (ms) %DB time
    DB CPU 0 100.00
    Back to Wait Events Statistics
    Back to Top
    Foreground Wait Events
    No data exists for this section of the report.
    Back to Wait Events Statistics
    Back to Top
    Background Wait Events
    No data exists for this section of the report.
    Back to Wait Events Statistics
    Back to Top
    Wait Event Histogram
    No data exists for this section of the report.
    Back to Wait Events Statistics
    Back to Top
    Wait Event Histogram Detail (64 msec to 2 sec)
    No data exists for this section of the report.
    Back to Wait Events Statistics
    Back to Top
    Wait Event Histogram Detail (4 sec to 2 min)
    No data exists for this section of the report.
    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
    No data exists for this section of the report.
    Back to Wait Events Statistics
    Back to Top
    Service Wait Class Stats
    No data exists for this section of the report.
    Back to Wait Events Statistics
    Back to Top
    SQL Statistics
    SQL ordered by Elapsed Time
    SQL ordered by CPU Time
    SQL ordered by User I/O Wait Time
    SQL ordered by Gets
    SQL ordered by Reads
    SQL ordered by Physical Reads (UnOptimized)
    SQL ordered by Executions
    SQL ordered by Parse Calls
    SQL ordered by Sharable Memory
    SQL ordered by Version Count
    Complete List of SQL Text
    Back to Top
    SQL ordered by Elapsed Time
    No data exists for this section of the report.
    Back to SQL Statistics
    Back to Top
    SQL ordered by CPU Time
    No data exists for this section of the report.
    Back to SQL Statistics
    Back to Top
    SQL ordered by User I/O Wait Time
    No data exists for this section of the report.
    Back to SQL Statistics
    Back to Top
    SQL ordered by Gets
    No data exists for this section of the report.
    Back to SQL Statistics
    Back to Top
    SQL ordered by Reads
    No data exists for this section of the report.
    Back to SQL Statistics
    Back to Top
    SQL ordered by Physical Reads (UnOptimized)
    No data exists for this section of the report.
    Back to SQL Statistics
    Back to Top
    SQL ordered by Executions
    No data exists for this section of the report.
    Back to SQL Statistics
    Back to Top
    SQL ordered by Parse Calls
    No data exists for this section of the report.
    Back to SQL Statistics
    Back to Top
    SQL ordered by Sharable Memory
    No data exists for this section of the report.
    Back to SQL Statistics
    Back to Top
    SQL ordered by Version Count
    No data exists for this section of the report.
    Back to SQL Statistics
    Back to Top
    Complete List of SQL Text
    No data exists for this section of the report.
    Back to SQL Statistics
    Back to Top
    Instance Activity Statistics
    Instance Activity Stats
    Instance Activity Stats - Absolute Values
    Instance Activity Stats - Thread Activity
    Back to Top
    Instance Activity Stats
    No data exists for this section of the report.
    Back to Instance Activity Statistics
    Back to Top
    Instance Activity Stats - Absolute Values
    No data exists for this section of the report.
    Back to Instance Activity Statistics
    Back to Top
    Instance Activity Stats - Thread Activity
    No data exists for this section of the report.
    Back to Instance Activity Statistics
    Back to Top
    IO Stats
    IOStat by Function summary
    IOStat by Filetype summary
    IOStat by Function/Filetype summary
    Tablespace IO Stats
    File IO Stats
    Back to Top
    IOStat by Function summary
    No data exists for this section of the report.
    Back to IO Stats
    Back to Top
    IOStat by Filetype summary
    No data exists for this section of the report.
    Back to IO Stats
    Back to Top
    IOStat by Function/Filetype summary
    No data exists for this section of the report.
    Back to IO Stats
    Back to Top
    Tablespace IO Stats
    No data exists for this section of the report.
    Back to IO Stats
    Back to Top
    File IO Stats
    No data exists for this section of the report.
    Back to IO Stats
    Back to Top
    Buffer Pool Statistics
    Buffer Pool Statistics
    Checkpoint Activity
    Back to Top
    Buffer Pool Statistics
    No data exists for this section of the report.
    Back to Buffer Pool Statistics
    Back to Top
    Checkpoint Activity
    No data exists for this section of the report.
    Back to Buffer Pool Statistics
    Back to Top
    Advisory Statistics
    Instance Recovery Stats
    MTTR Advisory
    Buffer Pool Advisory
    PGA Aggr Summary
    PGA Aggr Target Stats
    PGA Aggr Target Histogram
    PGA Memory Advisory
    Shared Pool Advisory
    SGA Target Advisory
    Streams Pool Advisory
    Java Pool Advisory
    Back to Top
    Instance Recovery Stats
    No data exists for this section of the report.
    Back to Advisory Statistics
    Back to Top
    MTTR Advisory
    No data exists for this section of the report.
    Back to Advisory Statistics
    Back to Top
    Buffer Pool Advisory
    No data exists for this section of the report.
    Back to Advisory Statistics
    Back to Top
    PGA Aggr Summary
    No data exists for this section of the report.
    Back to Advisory Statistics
    Back to Top
    PGA Aggr Target Stats
    No data exists for this section of the report.
    Back to Advisory Statistics
    Back to Top
    PGA Aggr Target Histogram
    No data exists for this section of the report.
    Back to Advisory Statistics
    Back to Top
    PGA Memory Advisory
    No data exists for this section of the report.
    Back to Advisory Statistics
    Back to Top
    Shared Pool Advisory
    No data exists for this section of the report.
    Back to Advisory Statistics
    Back to Top
    SGA Target Advisory
    No data exists for this section of the report.
    Back to Advisory Statistics
    Back to Top
    Streams Pool Advisory
    No data exists for this section of the report.
    Back to Advisory Statistics
    Back to Top
    Java Pool Advisory
    No data exists for this section of the report.
    Back to Advisory Statistics
    Back to Top
    Wait Statistics
    Buffer Wait Statistics
    Enqueue Activity
    Back to Top
    Buffer Wait Statistics
    No data exists for this section of the report.
    Back to Wait Statistics
    Back to Top
    Enqueue Activity
    No data exists for this section of the report.
    Back to Wait Statistics
    Back to Top
    Undo Statistics
    Undo Segment Summary
    Undo Segment Stats
    Back to Top
    Undo Segment Summary
    No data exists for this section of the report.
    Back to Undo Statistics
    Back to Top
    Undo Segment Stats
    No data exists for this section of the report.
    Back to Undo Statistics
    Back to Top
    Latch Statistics
    Latch Activity
    Latch Sleep Breakdown
    Latch Miss Sources
    Mutex Sleep Summary
    Parent Latch Statistics
    Child Latch Statistics
    Back to Top
    Latch Activity
    No data exists for this section of the report.
    Back to Latch Statistics
    Back to Top
    Latch Sleep Breakdown
    No data exists for this section of the report.
    Back to Latch Statistics
    Back to Top
    Latch Miss Sources
    No data exists for this section of the report.
    Back to Latch Statistics
    Back to Top
    Mutex Sleep Summary
    No data exists for this section of the report.
    Back to Latch Statistics
    Back to Top
    Parent Latch Statistics
    No data exists for this section of the report.
    Back to Latch Statistics
    Back to Top
    Child Latch Statistics
    No data exists for this section of the report.
    Back to Latch Statistics
    Back to Top
    Segment Statistics
    Segments by Logical Reads
    Segments by Physical Reads
    Segments by Physical Read Requests
    Segments by UnOptimized Reads
    Segments by Optimized Reads
    Segments by Direct Physical Reads
    Segments by Physical Writes
    Segments by Physical Write Requests
    Segments by Direct Physical Writes
    Segments by Table Scans
    Segments by DB Blocks Changes
    Segments by Row Lock Waits
    Segments by ITL Waits
    Segments by Buffer Busy Waits
    Back to Top
    Segments by Logical Reads
    Total Logical Reads: 1
    Captured Segments account for 4.6E+06% of Total
    Owner Tablespace Name Object Name Subobject Name Obj. Type Logical Reads %Total
    SYS SYSTEM I_SYSAUTH1 INDEX 15,008 1500800.00
    SYS SYSTEM I_OBJ2 INDEX 4,752 475200.00
    SYS SYSTEM TAB$ TABLE 2,176 217600.00
    SYS SYSTEM I_JOB_NEXT INDEX 1,856 185600.00
    SYS SYSTEM SYS_C00646 INDEX 1,664 166400.00
    Back to Segment Statistics
    Back to Top
    Segments by Physical Reads
    Total Physical Reads: 1
    Captured Segments account for 400.0% of Total
    Owner Tablespace Name Object Name Subobject Name Obj. Type Physical Reads %Total
    SYS SYSAUX WRH$_SYSMETRIC_SUMMARY_INDEX INDEX 3 300.00
    SYS SYSTEM KOTAD$ TABLE 1 100.00
    Back to Segment Statistics
    Back to Top
    Segments by Physical Read Requests
    Total Physical Read Requests: 1
    Captured Segments account for 400.0% of Total
    Owner Tablespace Name Object Name Subobject Name Obj. Type Phys Read Requests %Total
    SYS SYSAUX WRH$_SYSMETRIC_SUMMARY_INDEX INDEX 3 300.00
    SYS SYSTEM KOTAD$ TABLE 1 100.00
    Back to Segment Statistics
    Back to Top
    Segments by UnOptimized Reads
    Total UnOptimized Read Requests: 1
    Captured Segments account for 400.0% of Total
    Owner Tablespace Name Object Name Subobject Name Obj. Type UnOptimized Reads %Total
    SYS SYSAUX WRH$_SYSMETRIC_SUMMARY_INDEX INDEX 3 300.00
    SYS SYSTEM KOTAD$ TABLE 1 100.00
    Back to Segment Statistics
    Back to Top
    Segments by Optimized Reads
    No data exists for this section of the report.
    Back to Segment Statistics
    Back to Top
    Segments by Direct Physical Reads
    No data exists for this section of the report.
    Back to Segment Statistics
    Back to Top
    Segments by Physical Writes
    Total Physical Writes: 1
    Captured Segments account for 1.1E+04% of Total
    Owner Tablespace Name Object Name Subobject Name Obj. Type Physical Writes %Total
    SYSMAN SYSAUX MGMT_METRICS_RAW_PK INDEX 27 2700.00
    SYS SYSAUX WRH$_SYSMETRIC_HISTORY TABLE 16 1600.00
    SYS SYSAUX WRH$_SYSMETRIC_HISTORY_INDEX INDEX 16 1600.00
    SYSMAN SYSAUX MGMT_SYSTEM_PERF_LOG_IDX_01 INDEX 9 900.00
    SYS SYSAUX SMON_SCN_TIME TABLE 9 900.00
    Back to Segment Statistics
    Back to Top
    Segments by Physical Write Requests
    Total Physical Write Requestss: 1
    Captured Segments account for 5.1E+03% of Total
    Owner Tablespace Name Object Name Subobject Name Obj. Type Phys Write Requests %Total
    SYSMAN SYSAUX MGMT_METRICS_RAW_PK INDEX 11 1100.00
    SYS SYSAUX SMON_SCN_TIME TABLE 9 900.00
    SYSMAN SYSAUX MGMT_SYSTEM_PERF_LOG_IDX_01 INDEX 6 600.00
    SYSMAN SYSAUX MGMT_CURRENT_METRICS_PK INDEX 4 400.00
    SYS SYSTEM I_JOB_NEXT INDEX 2 200.00
    Back to Segment Statistics
    Back to Top
    Segments by Direct Physical Writes
    No data exists for this section of the report.
    Back to Segment Statistics
    Back to Top
    Segments by Table Scans
    Total Table Scans: 1
    Captured Segments account for 900.0% of Total
    Owner Tablespace Name Object Name Subobject Name Obj. Type Table Scans %Total
    SYS SYSTEM I_OBJ2 INDEX 9 900.00
    Back to Segment Statistics
    Back to Top
    Segments by DB Blocks Changes
    % of Capture shows % of DB Block Changes for each top segment compared
    with total DB Block Changes for all segments captured by the Snapshot
    Owner Tablespace Name Object Name Subobject Name Obj. Type DB Block Changes % of Capture
    SYS SYSTEM I_JOB_NEXT INDEX 896 58.95
    SYSMAN SYSAUX MGMT_METRICS_RAW_PK INDEX 160 10.53
    SYSMAN SYSAUX MGMT_CURRENT_METRICS_PK INDEX 112 7.37
    SYS SYSAUX SMON_SCN_TIME TABLE 80 5.26
    SYSMAN SYSAUX MGMT_SYSTEM_PERF_LOG_IDX_01 INDEX 64 4.21
    Back to Segment Statistics
    Back to Top
    Segments by Row Lock Waits
    No data exists for this section of the report.
    Back to Segment Statistics
    Back to Top
    Segments by ITL Waits
    No data exists for this section of the report.
    Back to Segment Statistics
    Back to Top
    Segments by Buffer Busy Waits
    No data exists for this section of the report.
    Back to Segment Statistics
    Back to Top
    Dictionary Cache Stats
    No data exists for this section of the report.
    Back to Top
    Library Cache Activity
    No data exists for this section of the report.
    Back to Top
    Memory Statistics
    Memory Dynamic Components
    Memory Resize Operations Summary
    Memory Resize Ops
    Process Memory Summary
    SGA Memory Summary
    SGA breakdown difference
    Back to Top
    Memory Dynamic Components
    No data exists for this section of the report.
    Back to Memory Statistics
    Back to Top
    Memory Resize Operations Summary
    No data exists for this section of the report.
    Back to Memory Statistics
    Back to Top
    Memory Resize Ops
    No data exists for this section of the report.
    Back to Memory Statistics
    Back to Top
    Process Memory Summary
    No data exists for this section of the report.
    Back to Memory Statistics
    Back to Top
    Back to Memory Statistics
    Back to Top
    SGA breakdown difference
    No data exists for this section of the report.
    Back to Memory Statistics
    Back to Top
    Streams Statistics
    Streams CPU/IO Usage
    Streams Capture
    Streams Capture Rate
    Streams Apply
    Streams Apply Rate
    Buffered Queues
    Buffered Queue Subscribers
    Rule Set
    Persistent Queues
    Persistent Queues Rate
    Persistent Queue Subscribers
    Back to Top
    Streams CPU/IO Usage
    No data exists for this section of the report.
    Back to Streams Statistics
    Back to Top
    Streams Capture
    No data exists for this section of the report.
    Back to Streams Statistics
    Back to Top
    Streams Capture Rate
    No data exists for this section of the report.
    Back to Streams Statistics
    Back to Top
    Streams Apply
    No data exists for this section of the report.
    Back to Streams Statistics
    Back to Top
    Streams Apply Rate
    No data exists for this section of the report.
    Back to Streams Statistics
    Back to Top
    Buffered Queues
    No data exists for this section of the report.
    Back to Streams Statistics
    Back to Top
    Buffered Queue Subscribers
    No data exists for this section of the report.
    Back to Streams Statistics
    Back to Top
    Rule Set
    No data exists for this section of the report.
    Back to Streams Statistics
    Back to Top
    Persistent Queues
    No data exists for this section of the report.
    Back to Streams Statistics
    Back to Top
    Persistent Queues Rate
    No data exists for this section of the report.
    Back to Streams Statistics
    Back to Top
    Persistent Queue Subscribers
    No data exists for this section of the report.
    Back to Streams Statistics
    Back to Top
    Resource Limit Stats
    No data exists for this section of the report.
    Back to Top
    Shared Server Statistics
    Shared Servers Activity
    Shared Servers Rates
    Shared Servers Utilization
    Shared Servers Common Queue
    Shared Servers Dispatchers
    Back to Top
    Shared Servers Activity
    No data exists for this section of the report.
    Back to Shared Server Statistics
    Back to Top
    Shared Servers Rates
    No data exists for this section of the report.
    Back to Shared Server Statistics
    Back to Top
    Shared Servers Utilization
    No data exists for this section of the report.
    Back to Shared Server Statistics
    Back to Top
    Shared Servers Common Queue
    No data exists for this section of the report.
    Back to Shared Server Statistics
    Back to Top
    Shared Servers Dispatchers
    No data exists for this section of the report.
    Back to Shared Server Statistics
    Back to Top
    init.ora Parameters
    No data exists for this section of the report.
    Back to Top
    Dynamic Remastering Stats
    No data exists for this section of the report.
    Back to Top
    End of Report
    ---------------------------------------------->>
    here intresting is that i also can't have the memory section view also.i trien to clear awr repositary and recreate it..bounce database,also tried taking different snap value.But does notmake any change.can u tell me why tha happening..and how can i get a good awr report.

    Hi there,
    I have covered this in my blog entry on the subject. Check that link out for more licensing information and other resources.
    The problem you are experiencing is caused by the fact that AWR is part of the DIAGNOSTIC and TUNING packs of Oracle 11g, which as of 11g is no longer a standard feature of the database but rather an optional extra which must be licensed in addition to your default Oracle Standard Edition package. In terms of the licensing, you just need to license it as an optional extra so that you will actually be using it legally, and then you can go ahead and enable it.
    While it may be an additional licensed item, it is actually installed on your DB by default, but is just not enabled. So, once you have cleared the licensing issue, you will be free to enable diagnostics by setting the new database parameter, CONTROL_MANAGEMENT_PACK_ACCESS. You can do this by running the following as a dba:
    <pre>alter system set control_management_pack_access="DIAGNOSTIC+TUNING" scope=both;</pre>
    After running this command, your database will start accumulating diagnostic information. Note that you will need to wait until new snapshots are created in which the new diagnostic information will be available. I found that although most of the information became available after setting CONTROL_MANAGEMENT_PACK_ACCESS, it was only once the database was restarted that all of the information became available. I have seen many people reporting similar behavior.
    Old snapshots will obviously continue to give the errors because they did not have the diagnostic information available at the time.

  • Analysing AWR report

    DB version:10gR2
    After looking at Top 5 wait events and SQL statistics, what is the next most important thing i should be looking for in an AWR report?

    This would depend on the top events that you have seen. For example, if you have seen that in the top 5 wait events, there was very high DB File Scattered Read , it means that there are statements which are predominantly going for full table access. So you should look upon for those queries. Or if there is a high Latch Contetion, for example, Shared Pool Latch Conteions ,it means that there are lots of sttement which are going for hard parse and are contending for this latch. So you should look for those sql which are having more cnstants and are not using bind varaibles.
    So its not a standard way but it is depending on what you see. Over Jonathan Lewis's blog, there is an excellent series of how to read Statspack report. I shall suggest to read it. This would make a good base to go through with AWR report also.
    HTH
    Aman....

  • Understanding the AWR report

    Hello,
    Just to start off on the right path I would like you to know that I am a Java developer trying to understand the AWR report. To give a quick overview of my problem :
    I have built a load test framework using JMeter and trying to send SOAP requests to my weblogic server. Each of these requests are getting converted multiple Insert, Update and Merge statements and getting executed on the Oracle 10g productions grade DB server. When I run the AWR report, under the "SQL ordered by Executions (Global)" I see statements that have run for 2 billion times. The JDBC connection to the database is configured to have a maximum of 40 connections and I do not see all of them being used up. The issue now is I am NOT generating that kind of load yet. I am creating around 15000 SOAP requests in an hour and I am expecting around 1million records to hit the database. The test runs fine for a couple of hours and then the server starts failing because the database is not responding back properly. When I run the statistics query on tables "gv$session s, gv$sqlarea t, gv$process p" to get the pending sessions in the database I have seen anywhere between 30 - 62 pending sessions with a activity time of more than 300 minutes.
    I am sure I am not sending in 2 billion requests from the LoadTest env that I have developed but the AWR report says so. I want to know if there is a possible reason for this behavior. The stuck threads start occurring on the Weblogic server after 30 mins I start the test. Below is the exception I got on weblogic just in case it helps
    2014-10-06 19:26:04,960[[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)']ERROR DAOUtil -- DAOUtil@SQLException > weblogic.jdbc.extensions.ConnectionDeadSQLException: weblogic.common.resourcepool.ResourceDeadException: Could not create pool connection. The DBMS driver exception was: Closed Connection
        at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:249)
        at weblogic.jdbc.pool.Driver.connect(Driver.java:160)
        at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:642)
        at weblogic.jdbc.jts.Driver.connect(Driver.java:124)
        at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:338)
        at com.bci.rms.ea.common.eautil.dao.DAOUtil.getConnectionFromDataSource(DAOUtil.java:222)
    Looking forward for reply/questions...
    Thanks in Advance,
    Sameer.

    Hello,
    Just to start off on the right path I would like you to know that I am a Java developer trying to understand the AWR report. To give a quick overview of my problem :
    I have built a load test framework using JMeter and trying to send SOAP requests to my weblogic server. Each of these requests are getting converted multiple Insert, Update and Merge statements and getting executed on the Oracle 10g productions grade DB server. When I run the AWR report, under the "SQL ordered by Executions (Global)" I see statements that have run for 2 billion times. The JDBC connection to the database is configured to have a maximum of 40 connections and I do not see all of them being used up. The issue now is I am NOT generating that kind of load yet. I am creating around 15000 SOAP requests in an hour and I am expecting around 1million records to hit the database. The test runs fine for a couple of hours and then the server starts failing because the database is not responding back properly. When I run the statistics query on tables "gv$session s, gv$sqlarea t, gv$process p" to get the pending sessions in the database I have seen anywhere between 30 - 62 pending sessions with a activity time of more than 300 minutes.
    I am sure I am not sending in 2 billion requests from the LoadTest env that I have developed but the AWR report says so. I want to know if there is a possible reason for this behavior. The stuck threads start occurring on the Weblogic server after 30 mins I start the test. Below is the exception I got on weblogic just in case it helps
    2014-10-06 19:26:04,960[[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)']ERROR DAOUtil -- DAOUtil@SQLException > weblogic.jdbc.extensions.ConnectionDeadSQLException: weblogic.common.resourcepool.ResourceDeadException: Could not create pool connection. The DBMS driver exception was: Closed Connection
        at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:249)
        at weblogic.jdbc.pool.Driver.connect(Driver.java:160)
        at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:642)
        at weblogic.jdbc.jts.Driver.connect(Driver.java:124)
        at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:338)
        at com.bci.rms.ea.common.eautil.dao.DAOUtil.getConnectionFromDataSource(DAOUtil.java:222)
    Looking forward for reply/questions...
    Thanks in Advance,
    Sameer.

  • Contention for latches related to the shared pool was consuming significant

    We are having performance issue on our database. When I look at the AWR, I see that there is a contention for latches. Below is the AWR Report.
    ADDM Report for Task 'ADDM:1775307360_12808'
    Analysis Period
    AWR snapshot range from 12807 to 12808.
    Time period starts at 10-MAY-11 01.00.15 PM
    Time period ends at 10-MAY-11 02.00.23 PM
    Analysis Target
    Database 'ADVFDWP' with DB ID 1775307360.
    Database version 11.1.0.7.0.
    ADDM performed an analysis of all instances.
    Activity During the Analysis Period
    Total database time was 27827 seconds.
    The average number of active sessions was 7.71.
    Summary of Findings
    Description Active Sessions Recommendations
    Percent of Activity
    1 Shared Pool Latches 6.43 | 83.42 0
    2 Top SQL by DB Time 2.41 | 31.24 3
    3 "Concurrency" Wait Class 2.18 | 28.22 0
    4 PL/SQL Execution 1.53 | 19.86 1
    5 "User I/O" wait Class 1.33 | 17.24 0
    6 Hard Parse 1.24 | 16.14 0
    7 Undersized Buffer Cache .83 | 10.73 0
    8 CPU Usage .7 | 9.02 0
    9 Top SQL By I/O .31 | 4.04 1
    10 Top Segments by I/O .24 | 3.12 1
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Findings and Recommendations
    Finding 1: Shared Pool Latches
    Impact is 6.43 active sessions, 83.42% of total activity.
    Contention for latches related to the shared pool was consuming significant
    database time in some instances.
    Instances that were significantly affected by this finding:
    Number Name Percent Impact ADDM Task Name
    1 ADVFDWP1 99.31 ADDM:1775307360_1_12808
    Check the ADDM analysis of affected instances for recommendations.
    Finding 2: Top SQL by DB Time
    Impact is 2.41 active sessions, 31.24% of total activity.
    SQL statements consuming significant database time were found.
    Recommendation 1: SQL Tuning
    Estimated benefit is 1.07 active sessions, 13.82% of total activity.
    Action
    Run SQL Tuning Advisor on the SQL statement with SQL_ID "fdk73nhpt93a5".
    Related Object
    SQL statement with SQL_ID fdk73nhpt93a5.
    INSERT INTO SFCDM.F_LOAN_PTFL_MOL_SNPSHT SELECT * FROM
    F_LOAN_PTFL_MOL_SNPSHT_STG
    Recommendation 2: SQL Tuning
    Estimated benefit is 1 active sessions, 12.96% of total activity.
    Action
    Tune the PL/SQL block with SQL_ID "7nvgzsgy9ydn9". Refer to the "Tuning
    PL/SQL Applications" chapter of Oracle's "PL/SQL User's Guide and
    Reference".
    Related Object
    SQL statement with SQL_ID 7nvgzsgy9ydn9.
    begin
    insert into SFCDM.F_LOAN_PTFL_MOL_SNPSHT select * from
    F_LOAN_PTFL_MOL_SNPSHT_STG;
    end;
    Recommendation 3: SQL Tuning
    Estimated benefit is .4 active sessions, 5.2% of total activity.
    Action
    Investigate the SQL statement with SQL_ID "fcvfq2gzmxu0t" for possible
    performance improvements.
    Related Object
    SQL statement with SQL_ID fcvfq2gzmxu0t.
    select
    a11.DT_YR_MO DT_YR_MO,
    a11.IND_SCRTZD IND_SCRTZD,
    a13.CD_LNSTAT CD_LNSTAT_INTGRTD,
    sum(a11.CNT_LOAN) WJXBFS1,
    sum(a11.AMT_PART_EOP_UPB) WJXBFS2,
    sum(a11.AMT_LST_VLD_PART_UPB) WJXBFS3
    from
    SFCDM.F_LOAN_PTFL_MOL_SNPSHT
    a11
    join
    SFCDM.D_DETD_LNSTAT_CURR
    a12
    on
    (a11.ID_CYCL_CLOS_DETD_LNSTAT_SRGT = a12.ID_DETD_LNSTAT_SRGT)
    join
    SFCDM.D_LNSTAT_CD
    a13
    on
    (a12.ID_LNSTAT_CD_SRGT = a13.ID_LNSTAT_CD_SRGT)
    join
    SFCDM.D_LOAN_CHARTC_CURR_MINI
    a14
    on
    (a11.ID_LOAN_CHARTC_SRGT = a14.ID_LOAN_CHARTC_SRGT)
    where
    (a11.DT_YR_MO in (201103)
    and a14.CD_SFCRM_LOAN_BUS_LI not in ('L', 'T', 'W')
    and a13.CD_LNSTAT in (14)
    and not exists
    (select * from SFCDM.F_LOAN_PTFL_MOL_SNPSHT s
    where s.id_loan_syst_gend = a11.id_loan_syst_gend
    and s.dt_yr_mo

    It is worth checking the actual size of the shared pool e.g.
    select pool,sum(bytes)/1024/1024/1024 from v$sgastat group by pool;
    the parameters you ahve posted suggest you have set a minimum but no maximum, so it could very large.
    Next up is looking for unhared SQL i.e.
    select column1 from some_table where column2='A_VALUE';
    select column1 from some_table where column2='Another_Value';
    where the code should be using binds instead of literals for security and performance reasons, a simple way to find this is to look in v$sql for sql having the same plan_hash_value but different sql_Ids and compare the sql_fulltext of each statement.
    Also a possibility is sql with many child cursors, this is trickier as the cause may vary and may not be easy to fix. check th econtents of v$sql for sql that have high values in the child_number column anmd investigate the contents of v$sql_shared_cursor for the reason there are multiple child cursors.
    Chris

  • Total of %db time column is greater than 100 in AWR report

    Hello,
    I have a query regarding "To 5 timed foreground events" section of AWR report.
    On many occassions I found that the sum of all the values in the %db time column as mentioned above is grater than 100.
    How can percentage be greater than 100?
    Event
    Waits
    Time(s)
    Avg wait (ms)
    % DB time
    Wait Class
    DB CPU
    29,212
    98.18
    latch: shared pool
    2,291
    286
    125
    0.96
    Concurrency
    direct path read
    147,998
    112
    1
    0.38
    User I/O
    library cache: mutex X
    4,831
    92
    19
    0.31
    Concurrency
    log file sync
    36,736
    72
    2
    0.24
    Commit
    In the above case the total comes up to just 100.07 % but I have seen reports where the total goes beyond 120 % -130 %.
    Can you explain why this happens, please?
    Thanks,
    Rushi

    Can someone explain above situation, please?

  • PGA advisory in AWR Report

    Hi!
    So, how should I increase it now? I couldn't follow.
    Could someone guide?
    Warning:  pga_aggregate_target was set too low for current workload, as this
              value was exceeded during this interval.  Use the PGA Advisory view
              to help identify a different value for pga_aggregate_target.
    PGA Aggr Target Stats                       DB/Inst: test/test  Snaps: 6220-6221
    -> B: Begin snap   E: End snap (rows dentified with B or E contain data
       which is absolute i.e. not diffed over the interval)
    -> 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  %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         54          4       80.3        0.0     .0     .0     .0      4,096
    E         54          4       80.5        0.3     .4  100.0     .0      2,113
              -------------------------------------------------------------Thanks a ton in advance.

    Thanks
    I did that but still no improvement in the performance
    I noticed this on the screen after running the awr report
    SGA breakdown difference                    DB/Inst: Test/test  Snaps: 6221-6222
    -> ordered by Pool, Name
    -> N/A value for Begin MB or End MB indicates the size of that Pool/Name was
       insignificant, or zero in that snapshot
    Pool   Name                                 Begin MB         End MB  % Diff
    java   free memory                              24.0           24.0    0.00
    shared ASH buffers                               8.0            8.0    0.00
    shared CCursor                                  14.7           14.0   -5.18
    shared Heap0: KGL                                4.2            3.6  -12.21
    shared KCB Table Scan Buffer                     3.8            3.8    0.00
    shared KGLS heap                                 9.8            7.4  -24.41
    shared KQR M PO                                  2.9            2.2  -25.67
    shared KSFD SGA I/O b                            3.8            3.8    0.00
    shared PCursor                                   5.5            5.1   -7.07
    shared PL/SQL MPCODE                             4.2            4.9   16.34
    shared free memory                              16.8           21.5   27.41
    shared library cache                             8.5            8.4   -0.65
    shared row cache                                 3.6            3.6    0.00
    shared sql area                                 75.0           75.9    1.17
    shared sql area:PLSQL                            2.9            2.9   -0.67
           buffer_cache                             48.0           48.0    0.00
           fixed_sga                                 1.2            1.2    0.00
           log_buffer                                2.8            2.8    0.00Does the negative values show something which is not right?
    Please advice

Maybe you are looking for

  • How to downgrade from Windows 8 to Windows 7 new s2030

    HI I just bought a new Lenovo S20-30 becasue I read a review somewhere that it comes with pre-installed Windows 7 drivers. Does anyone know how I set the ball rolling to install Windows 7 please? Will I need to get discs or can I download it all? Tha

  • Remoting with CFC

    I'm using Flash remoting to send usage statistics from a movie up to a coldfusion component for processing and storage. System works great -- at least the individual calls are working -- but when I try to execute all these calls multiple times throug

  • Lenovo ThinkPad Helix Mini DisplayPor​t Monitor not Detected

    My ThinkPad Helix does not detect the connection of a known good Mini DisplayPort to VGA adapter, VGA cable, and monitor. Windows 8.1 Pro Intel HD Graphics 4000 Driver 10.18.10.3958 Thanks for any troubleshooting tips.

  • SAPextractor error using MySQL Server database in OrgChart

    Hi Experts: We are now using MySQL Server database for Nakisa OrgChart 2.0. Source-SAP details were specified and test connection to database is successful.  We encountered the following errors when we performed the extraction. Processing Function Re

  • Authorization issue with iPad2

    Wgen trying to authorize my iPad 2 as a device i =et the following message - "This account has ben activated too many times" PLease help