SlideShare a Scribd company logo
1 of 73
Using AWR For Wait Analysis Mike Ault, Oracle Guru March  2011 The World’s Fastest Storage® for over thirty years!
Michael R. Ault, Oracle Guru ,[object Object]
 Nuclear Chemist/Programmer 10 years
 Kennedy Western University Graduate
 Bachelors Degree Computer Science
 Certified in all Oracle Versions Since 6
 Oracle DBA, author, since 1990,[object Object]
StatspackAnalyzer.com Free Statspack/AWR Analysis  Sponsored by Texas Memory Systems ,[object Object]
Straightforward tuning advice,[object Object]
What Is AWR? A background process A set of tables A set of reports Takes snapshots of statistics every hour Takes snapshot of high-cost SQL every hour
Preparation for Analysis Know your systems normal performance fingerprint Be familiar with Concepts and Tuning Guides Have “normal” AWR/Statspacks for comparison
Top-Down Approach Report starts with settings overview Next provides Top-5 waits Use the Waits to guide further investigation
AWR Report Header WORKLOAD REPOSITORY report for DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB        4030696936 aultdb1             1 04-Aug-08 10:16 11.1.0.6.0  YES Host Name        Platform                         CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3       Linux IA (32-bit)                   2     1       1       2.97               Snap Id      Snap Time      Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap:        91 04-Aug-08 12:00:15        41       1.2   End Snap:        92 04-Aug-08 13:00:28        47       1.1 Elapsed:               60.22 (mins)    DB Time:              139.52 (mins) Cache Sizes                       Begin        End ~~~~~~~~~~~                  ---------- ----------                Buffer Cache:     1,312M     1,312M  Std Block Size:         8K            Shared Pool Size:       224M       224M      Log Buffer:    10,604K
AWR Report Header WORKLOAD REPOSITORY report for DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB        4030696936 aultdb1             1 04-Aug-08 10:16 11.1.0.6.0  YES Host Name        Platform                         CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3       Linux IA (32-bit)                   2     1       1       2.97               Snap Id      Snap Time      Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap:        91 04-Aug-08 12:00:15        41       1.2   End Snap:        92 04-Aug-08 13:00:28        47       1.1 Elapsed:               60.22 (mins)    DB Time:              139.52 (mins) Cache Sizes                       Begin        End ~~~~~~~~~~~                  ---------- ----------                Buffer Cache:     1,312M     1,312M  Std Block Size:         8K            Shared Pool Size:       224M       224M      Log Buffer:    10,604K
AWR Report Header WORKLOAD REPOSITORY report for DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB        4030696936 aultdb1             1 04-Aug-08 10:16 11.1.0.6.0  YES Host Name        Platform                         CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3       Linux IA (32-bit)                   2     1       1       2.97               Snap Id      Snap Time      Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap:        91 04-Aug-08 12:00:15        41       1.2   End Snap:        92 04-Aug-08 13:00:28        47       1.1 Elapsed:               60.22 (mins)    DB Time:              139.52 (mins) Cache Sizes                       Begin        End ~~~~~~~~~~~                  ---------- ----------                Buffer Cache:     1,312M     1,312M  Std Block Size:         8K            Shared Pool Size:       224M       224M      Log Buffer:    10,604K
AWR Report Header WORKLOAD REPOSITORY report for DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB        4030696936 aultdb1             1 04-Aug-08 10:16 11.1.0.6.0  YES Host Name        Platform                         CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3       Linux IA (32-bit)                   2     1       1       2.97               Snap Id      Snap Time      Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap:        91 04-Aug-08 12:00:15        41       1.2   End Snap:        92 04-Aug-08 13:00:28        47       1.1 Elapsed:               60.22 (mins)    DB Time:              139.52 (mins) Cache Sizes                       Begin        End ~~~~~~~~~~~                  ---------- ----------                Buffer Cache:     1,312M     1,312M  Std Block Size:         8K            Shared Pool Size:       224M       224M      Log Buffer:    10,604K
AWR Report Header WORKLOAD REPOSITORY report for DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB        4030696936 aultdb1             1 04-Aug-08 10:16 11.1.0.6.0  YES Host Name        Platform                         CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3       Linux IA (32-bit)                   2     1       1       2.97               Snap Id      Snap Time      Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap:        91 04-Aug-08 12:00:15        41       1.2   End Snap:        92 04-Aug-08 13:00:28        47       1.1 Elapsed:               60.22 (mins)    DB Time:              139.52 (mins) Cache Sizes                       Begin        End ~~~~~~~~~~~                  ---------- ----------                Buffer Cache:     1,312M     1,312M  Std Block Size:         8K            Shared Pool Size:       224M       224M      Log Buffer:    10,604K
AWR Report Header WORKLOAD REPOSITORY report for DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB        4030696936 aultdb1             1 04-Aug-08 10:16 11.1.0.6.0  YES Host Name        Platform                         CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3       Linux IA (32-bit)                   2     1       1       2.97               Snap Id      Snap Time      Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap:        91 04-Aug-08 12:00:15        41       1.2   End Snap:        92 04-Aug-08 13:00:28        47       1.1 Elapsed:               60.22 (mins)    DB Time:              139.52 (mins) Cache Sizes                       Begin        End ~~~~~~~~~~~                  ---------- ----------                Buffer Cache:     1,312M     1,312M  Std Block Size:         8K            Shared Pool Size:       224M       224M      Log Buffer:    10,604K
AWR Report Header WORKLOAD REPOSITORY report for DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB        4030696936 aultdb1             1 04-Aug-08 10:16 11.1.0.6.0  YES Host Name        Platform                         CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3       Linux IA (32-bit)                   2     1       1       2.97               Snap Id      Snap Time      Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap:        91 04-Aug-08 12:00:15        41       1.2   End Snap:        92 04-Aug-08 13:00:28        47       1.1 Elapsed:               60.22 (mins)    DB Time:              139.52 (mins) Cache Sizes                       Begin        End ~~~~~~~~~~~                  ---------- ----------                Buffer Cache:     1,312M     1,312M  Std Block Size:         8K            Shared Pool Size:       224M       224M      Log Buffer:    10,604K
AWR Report Header WORKLOAD REPOSITORY report for DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB        4030696936 aultdb1             1 04-Aug-08 10:16 11.1.0.6.0  YES Host Name        Platform                         CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3       Linux IA (32-bit)                   2     1       1       2.97               Snap Id      Snap Time      Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap:        91 04-Aug-08 12:00:15        41       1.2   End Snap:        92 04-Aug-08 13:00:28        47       1.1 Elapsed:               60.22 (mins)    DB Time:              139.52 (mins) Cache Sizes                       Begin        End ~~~~~~~~~~~                  ---------- ----------                Buffer Cache:     1,312M     1,312M  Std Block Size:         8K            Shared Pool Size:       224M       224M      Log Buffer:    10,604K
AWR Report Header WORKLOAD REPOSITORY report for DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB        4030696936 aultdb1             1 04-Aug-08 10:16 11.1.0.6.0  YES Host Name        Platform                         CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3       Linux IA (32-bit)                   2     1       1       2.97               Snap Id      Snap Time      Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap:        91 04-Aug-08 12:00:15        41       1.2   End Snap:        92 04-Aug-08 13:00:28        47       1.1 Elapsed:               60.22 (mins)    DB Time:              139.52 (mins) Cache Sizes                       Begin        End ~~~~~~~~~~~                  ---------- ----------                Buffer Cache:     1,312M     1,312M  Std Block Size:         8K            Shared Pool Size:       224M       224M      Log Buffer:    10,604K
Know Your Load Type! Online Transaction Processing Few reads Many writes Many small transactions Look for redo/undo and sequential read issues Decision Support/Data Warehouse Many reads Few writes (other then possible temp) Few transactions Look for sort/workarea and scattered read issues Mixed or Hybrid
Load Profile Section Load Profile              Per Second    Per Transaction   Per Exec   Per Call ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------       DB Time(s):                2.3                7.1       0.63       1.05        DB CPU(s):                0.3                0.9       0.07       0.13        Redo size:              800.5            2,461.8    Logical reads:            6,307.6           19,396.7    Block changes:                3.6               10.9   Physical reads:            2,704.9            8,317.8  Physical writes:               86.9              267.3       User calls:                2.2                6.8           Parses:                2.0                6.1      Hard parses:                0.0                0.1 W/A MB processed:          932,965.4        2,868,990.9           Logons:                0.1                0.2         Executes:                3.7               11.3        Rollbacks:                0.1                0.3     Transactions:                0.3
Load Profile Section Load Profile              Per Second    Per Transaction   Per Exec   Per Call ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------       DB Time(s):                2.3                7.1       0.63       1.05        DB CPU(s):                0.3                0.9       0.07       0.13        Redo size:              800.5            2,461.8    Logical reads:            6,307.6           19,396.7    Block changes:                3.6               10.9   Physical reads:            2,704.9            8,317.8  Physical writes:               86.9              267.3       User calls:                2.2                6.8           Parses:                2.0                6.1      Hard parses:                0.0                0.1 W/A MB processed:          932,965.4        2,868,990.9           Logons:                0.1                0.2         Executes:                3.7               11.3        Rollbacks:                0.1                0.3     Transactions:                0.3
Load Profile Section Load Profile              Per Second    Per Transaction   Per Exec   Per Call ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------       DB Time(s):                2.3                7.1       0.63       1.05        DB CPU(s):                0.3                0.9       0.07       0.13        Redo size:              800.5            2,461.8    Logical reads:            6,307.6           19,396.7    Block changes:                3.6               10.9   Physical reads:            2,704.9            8,317.8  Physical writes:               86.9              267.3       User calls:                2.2                6.8           Parses:                2.0                6.1      Hard parses:                0.0                0.1 W/A MB processed:          932,965.4        2,868,990.9           Logons:                0.1                0.2         Executes:                3.7               11.3        Rollbacks:                0.1                0.3     Transactions:                0.3
Load Profile Section Load Profile              Per Second    Per Transaction   Per Exec   Per Call ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------       DB Time(s):                2.3                7.1       0.63       1.05        DB CPU(s):                0.3                0.9       0.07       0.13        Redo size:              800.5            2,461.8    Logical reads:            6,307.6           19,396.7    Block changes:                3.6               10.9   Physical reads:            2,704.9            8,317.8  Physical writes:               86.9              267.3       User calls:                2.2                6.8           Parses:                2.0                6.1      Hard parses:                0.0                0.1 W/A MB processed:          932,965.4        2,868,990.9           Logons:                0.1                0.2         Executes:                3.7               11.3        Rollbacks:                0.1                0.3     Transactions:                0.3
Load Profile Section Load Profile              Per Second    Per Transaction   Per Exec   Per Call ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------       DB Time(s):                2.3                7.1       0.63       1.05        DB CPU(s):                0.3                0.9       0.07       0.13        Redo size:              800.5            2,461.8    Logical reads:            6,307.6           19,396.7    Block changes:                3.6               10.9   Physical reads:            2,704.9            8,317.8  Physical writes:               86.9              267.3       User calls:                2.2                6.8           Parses:                2.0                6.1      Hard parses:                0.0                0.1 W/A MB processed:          932,965.4        2,868,990.9           Logons:                0.1                0.2         Executes:                3.7               11.3        Rollbacks:                0.1                0.3     Transactions:                0.3
Load Profile Section Load Profile              Per Second    Per Transaction   Per Exec   Per Call ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------       DB Time(s):                2.3                7.1       0.63       1.05        DB CPU(s):                0.3                0.9       0.07       0.13        Redo size:              800.5            2,461.8    Logical reads:            6,307.6           19,396.7    Block changes:                3.6               10.9   Physical reads:            2,704.9            8,317.8  Physical writes:               86.9              267.3       User calls:                2.2                6.8           Parses:                2.0                6.1      Hard parses:                0.0                0.1 W/A MB processed:          932,965.4        2,868,990.9           Logons:                0.1                0.2         Executes:                3.7               11.3        Rollbacks:                0.1                0.3     Transactions:                0.3
Load Profile Section Load Profile              Per Second    Per Transaction   Per Exec   Per Call ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------       DB Time(s):                2.3                7.1       0.63       1.05        DB CPU(s):                0.3                0.9       0.07       0.13        Redo size:              800.5            2,461.8    Logical reads:            6,307.6           19,396.7    Block changes:                3.6               10.9   Physical reads:            2,704.9            8,317.8  Physical writes:               86.9              267.3       User calls:                2.2                6.8           Parses:                2.0                6.1      Hard parses:                0.0                0.1 W/A MB processed:          932,965.4        2,868,990.9           Logons:                0.1                0.2         Executes:                3.7               11.3        Rollbacks:                0.1                0.3     Transactions:                0.3
Load Profile Section Load Profile              Per Second    Per Transaction   Per Exec   Per Call ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------       DB Time(s):                2.3                7.1       0.63       1.05        DB CPU(s):                0.3                0.9       0.07       0.13        Redo size:              800.5            2,461.8    Logical reads:            6,307.6           19,396.7    Block changes:                3.6               10.9   Physical reads:            2,704.9            8,317.8  Physical writes:               86.9              267.3       User calls:                2.2                6.8           Parses:                2.0                6.1      Hard parses:                0.0                0.1 W/A MB processed:          932,965.4        2,868,990.9           Logons:                0.1                0.2         Executes:                3.7               11.3        Rollbacks:                0.1                0.3     Transactions:                0.3
What Are Your Efficiencies Should be close to 100% Parse issues usually are a result of: Bad bind variable usage Insufficient memory Will also be co-indicated by low percentage of memory for multiple SQL execution
Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             Buffer Nowait %:  100.00       Redo NoWait %:   99.97             Buffer  Hit   %:   96.09    In-memory Sort %:  100.00             Library Hit   %:   98.17        Soft Parse %:   97.88          Execute to Parse %:   45.80         Latch Hit %:   99.95 Parse CPU to ParseElapsd %:    0.00     % Non-Parse CPU:   99.77 Shared Pool Statistics        Begin    End                               ------  ------              Memory Usage %:   81.53   85.39     % SQL with executions>1:   79.29   79.48   % Memory for SQL w/exec>1:   76.73   78.19
Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             Buffer Nowait %:  100.00       Redo NoWait %:   99.97             Buffer  Hit   %:   96.09    In-memory Sort %:  100.00             Library Hit   %:   98.17        Soft Parse %:   97.88          Execute to Parse %:   45.80         Latch Hit %:   99.95 Parse CPU to ParseElapsd %:    0.00     % Non-Parse CPU:   99.77 Shared Pool Statistics        Begin    End                               ------  ------              Memory Usage %:   81.53   85.39     % SQL with executions>1:   79.29   79.48   % Memory for SQL w/exec>1:   76.73   78.19
Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             Buffer Nowait %:  100.00       Redo NoWait %:   99.97             Buffer  Hit   %:   96.09    In-memory Sort %:  100.00             Library Hit   %:   98.17        Soft Parse %:   97.88          Execute to Parse %:   45.80         Latch Hit %:   99.95 Parse CPU to ParseElapsd %:    0.00     % Non-Parse CPU:   99.77 Shared Pool Statistics        Begin    End                               ------  ------              Memory Usage %:   81.53   85.39     % SQL with executions>1:   79.29   79.48   % Memory for SQL w/exec>1:   76.73   78.19
Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             Buffer Nowait %:  100.00       Redo NoWait %:   99.97             Buffer  Hit   %:   96.09    In-memory Sort %:  100.00             Library Hit   %:   98.17        Soft Parse %:   97.88          Execute to Parse %:   45.80         Latch Hit %:   99.95 Parse CPU to ParseElapsd %:    0.00     % Non-Parse CPU:   99.77 Shared Pool Statistics        Begin    End                               ------  ------              Memory Usage %:   81.53   85.39     % SQL with executions>1:   79.29   79.48   % Memory for SQL w/exec>1:   76.73   78.19
Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             Buffer Nowait %:  100.00       Redo NoWait %:   99.97             Buffer  Hit   %:   96.09    In-memory Sort %:  100.00             Library Hit   %:   98.17        Soft Parse %:   97.88          Execute to Parse %:   45.80         Latch Hit %:   99.95 Parse CPU to ParseElapsd %:    0.00     % Non-Parse CPU:   99.77 Shared Pool Statistics        Begin    End                               ------  ------              Memory Usage %:   81.53   85.39     % SQL with executions>1:   79.29   79.48   % Memory for SQL w/exec>1:   76.73   78.19
Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             Buffer Nowait %:  100.00       Redo NoWait %:   99.97             Buffer  Hit   %:   96.09    In-memory Sort %:  100.00             Library Hit   %:   98.17        Soft Parse %:   97.88          Execute to Parse %:   45.80         Latch Hit %:   99.95 Parse CPU to ParseElapsd %:    0.00     % Non-Parse CPU:   99.77 Shared Pool Statistics        Begin    End                               ------  ------              Memory Usage %:   81.53   85.39     % SQL with executions>1:   79.29   79.48   % Memory for SQL w/exec>1:   76.73   78.19
Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             Buffer Nowait %:  100.00       Redo NoWait %:   99.97             Buffer  Hit   %:   96.09    In-memory Sort %:  100.00             Library Hit   %:   98.17        Soft Parse %:   97.88          Execute to Parse %:   45.80         Latch Hit %:   99.95 Parse CPU to ParseElapsd %:    0.00     % Non-Parse CPU:   99.77 Shared Pool Statistics        Begin    End                               ------  ------              Memory Usage %:   81.53   85.39     % SQL with executions>1:   79.29   79.48   % Memory for SQL w/exec>1:   76.73   78.19
Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             Buffer Nowait %:  100.00       Redo NoWait %:   99.97             Buffer  Hit   %:   96.09    In-memory Sort %:  100.00             Library Hit   %:   98.17        Soft Parse %:   97.88          Execute to Parse %:   45.80         Latch Hit %:   99.95 Parse CPU to ParseElapsd %:    0.00     % Non-Parse CPU:   99.77 Shared Pool Statistics        Begin    End                               ------  ------              Memory Usage %:   81.53   85.39     % SQL with executions>1:   79.29   79.48   % Memory for SQL w/exec>1:   76.73   78.19
Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             Buffer Nowait %:  100.00       Redo NoWait %:   99.97             Buffer  Hit   %:   96.09    In-memory Sort %:  100.00             Library Hit   %:   98.17        Soft Parse %:   97.88          Execute to Parse %:   45.80         Latch Hit %:   99.95 Parse CPU to ParseElapsd %:    0.00     % Non-Parse CPU:   99.77 Shared Pool Statistics        Begin    End                               ------  ------              Memory Usage %:   81.53   85.39     % SQL with executions>1:   79.29   79.48   % Memory for SQL w/exec>1:   76.73   78.19
Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             Buffer Nowait %:  100.00       Redo NoWait %:   99.97             Buffer  Hit   %:   96.09    In-memory Sort %:  100.00             Library Hit   %:   98.17        Soft Parse %:   97.88          Execute to Parse %:   45.80         Latch Hit %:   99.95 Parse CPU to ParseElapsd %:    0.00     % Non-Parse CPU:   99.77 Shared Pool Statistics        Begin    End                               ------  ------              Memory Usage %:   81.53   85.39     % SQL with executions>1:   79.29   79.48   % Memory for SQL w/exec>1:   76.73   78.19
Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             Buffer Nowait %:  100.00       Redo NoWait %:   99.97             Buffer  Hit   %:   96.09    In-memory Sort %:  100.00             Library Hit   %:   98.17        Soft Parse %:   97.88          Execute to Parse %:   45.80         Latch Hit %:   99.95 Parse CPU to ParseElapsd %:    0.00     % Non-Parse CPU:   99.77 Shared Pool Statistics        Begin    End                               ------  ------              Memory Usage %:   81.53   85.39     % SQL with executions>1:   79.29   79.48   % Memory for SQL w/exec>1:   76.73   78.19
Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             Buffer Nowait %:  100.00       Redo NoWait %:   99.97             Buffer  Hit   %:   96.09    In-memory Sort %:  100.00             Library Hit   %:   98.17        Soft Parse %:   97.88          Execute to Parse %:   45.80         Latch Hit %:   99.95 Parse CPU to ParseElapsd %:    0.00     % Non-Parse CPU:   99.77 Shared Pool Statistics        Begin    End                               ------  ------              Memory Usage %:   81.53   85.39     % SQL with executions>1:   79.29   79.48   % Memory for SQL w/exec>1:   76.73   78.19
Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             Buffer Nowait %:  100.00       Redo NoWait %:   99.97             Buffer  Hit   %:   96.09    In-memory Sort %:  100.00             Library Hit   %:   98.17        Soft Parse %:   97.88          Execute to Parse %:   45.80         Latch Hit %:   99.95 Parse CPU to ParseElapsd %:    0.00     % Non-Parse CPU:   99.77 Shared Pool Statistics        Begin    End                               ------  ------              Memory Usage %:   81.53   85.39     % SQL with executions>1:   79.29   79.48   % Memory for SQL w/exec>1:   76.73   78.19
Top 5 Waits Section Critical to look closely at this section Use highest wait times to guide investigation DB FILE type waits – physical IO BUFFER type waits – Logical IO LOG type waits – Redo related PX – Parallel Query GC – Global Cache (RAC related) Undo – Undo or rollback segment related
Top 5 Waits Section Top 5 Timed Foreground Events ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg                                                           wait   % DB Event                                 Waits     Time(s)   (ms)   time Wait Class ------------------------------ ------------ ----------- ------ ------ ---------- db file sequential read             465,020       3,969      9   47.4 User I/O DB CPU                                              995          11.9 db file parallel read                 2,251         322    143    3.8 User I/O db file scattered read               15,268         153     10    1.8 User I/O gc current block 2-way              108,739         116      1    1.4 Cluster
Top 5 Waits Section Top 5 Timed Foreground Events ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg                                                           wait   % DB Event                                 Waits     Time(s)   (ms)   time Wait Class ------------------------------ ------------ ----------- ------ ------ ---------- db file sequential read             465,020       3,969      9   47.4 User I/O DB CPU                                              995          11.9 db file parallel read                 2,251         322    143    3.8 User I/O db file scattered read               15,268         153     10    1.8 User I/O gc current block 2-way              108,739         116      1    1.4 Cluster
Top 5 Waits Section Top 5 Timed Foreground Events ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg                                                           wait   % DB Event                                 Waits     Time(s)   (ms)   time Wait Class ------------------------------ ------------ ----------- ------ ------ ---------- db file sequential read             465,020       3,969      9   47.4 User I/O DB CPU                                              995          11.9 db file parallel read                 2,251         322    143    3.8 User I/O db file scattered read               15,268         153     10    1.8 User I/O gc current block 2-way              108,739         116      1    1.4 Cluster
Top 5 Waits Section Top 5 Timed Foreground Events ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg                                                           wait   % DB Event                                 Waits     Time(s)   (ms)   time Wait Class ------------------------------ ------------ ----------- ------ ------ ---------- db file sequential read             465,020       3,969      9   47.4 User I/O DB CPU                                              995          11.9 db file parallel read                 2,251         322    143    3.8 User I/O db file scattered read               15,268         153     10    1.8 User I/O gc current block 2-way              108,739         116      1    1.4 Cluster
Top 5 Waits Section Top 5 Timed Foreground Events ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg                                                           wait   % DB Event                                 Waits     Time(s)   (ms)   time Wait Class ------------------------------ ------------ ----------- ------ ------ ---------- db file sequential read             465,020       3,969      9   47.4 User I/O DB CPU                                              995          11.9 db file parallel read                 2,251         322    143    3.8 User I/O db file scattered read               15,268         153     10    1.8 User I/O gc current block 2-way              108,739         116      1    1.4 Cluster
Top 5 Waits Section Top 5 Timed Foreground Events ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg                                                           wait   % DB Event                                 Waits     Time(s)   (ms)   time Wait Class ------------------------------ ------------ ----------- ------ ------ ---------- db file sequential read             465,020       3,969      9   47.4 User I/O DB CPU                                              995          11.9 db file parallel read                 2,251         322    143    3.8 User I/O db file scattered read               15,268         153     10    1.8 User I/O gc current block 2-way              108,739         116      1    1.4 Cluster
DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables,  bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables,  bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables,  bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables,  bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables,  bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables,  bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables,  bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables,  bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
Buffer Type Waits latch: cache buffers chains – Hot blocks, check for hot objects free buffer waits – Insufficient buffers, processes holding buffers too  	long, IO subsystem over loaded buffer busy waits – See what is causing them further along in report gc buffer busy – Overloaded interconnect, find problem objects and tune log buffer space – High load, too small a log buffer, increase log buffer size latch: cache buffers lru chain – Freelist issues, hot blocks latch: cache buffer handles – Freelist issues, hot blocks buffer busy - See what is causing them further along in report no free buffers – Insufficient buffers, dbwr contention
Buffer Type Waits latch: cache buffers chains – Hot blocks, check for hot objects free buffer waits – Insufficient buffers, processes holding buffers  	too long, IO subsystem over loaded buffer busy waits – See what is causing them further along in report gc buffer busy – Overloaded interconnect, find problem objects and tune log buffer space – High load, too small a log buffer, increase log buffer size latch: cache buffers lru chain – Freelist issues, hot blocks latch: cache buffer handles – Freelist issues, hot blocks buffer busy - See what is causing them further along in report no free buffers – Insufficient buffers, dbwr contention
Buffer Type Waits latch: cache buffers chains – Hot blocks, check for hot objects free buffer waits – Insufficient buffers, processes holding buffers too  long, IO subsystem over loaded buffer busy waits – See what is causing them further along in report gc buffer busy – Overloaded interconnect, find problem objects and tune log buffer space – High load, too small a log buffer, increase log buffer size latch: cache buffers lru chain – Freelist issues, hot blocks latch: cache buffer handles – Freelist issues, hot blocks buffer busy - See what is causing them further along in report no free buffers – Insufficient buffers, dbwr contention
Buffer Type Waits latch: cache buffers chains – Hot blocks, check for hot objects free buffer waits – Insufficient buffers, processes holding buffers too long, IO subsystem over loaded buffer busy waits – See what is causing them further along in report gc buffer busy – Overloaded interconnect, find problem objects and tune log buffer space – High load, too small a log buffer, increase log buffer size latch: cache buffers lru chain – Freelist issues, hot blocks latch: cache buffer handles – Freelist issues, hot blocks buffer busy - See what is causing them further along in report no free buffers – Insufficient buffers, dbwr contention
Buffer Type Waits latch: cache buffers chains – Hot blocks, check for hot objects free buffer waits – Insufficient buffers, processes holding buffers too long, IO subsystem over loaded buffer busy waits – See what is causing them further along in report gc buffer busy – Overloaded interconnect, find problem objects and tune log buffer space – High load, too small a log buffer, increase log buffer size latch: cache buffers lru chain – Freelist issues, hot blocks latch: cache buffer handles – Freelist issues, hot blocks buffer busy - See what is causing them further along in report no free buffers – Insufficient buffers, dbwr contention
Log Type Waits log file parallel write – Look  for log file contention log buffer space – Look at increasing log buffer size log file switch (checkpoint incomplete) – May indicate excessive db files or slow IO subsystem log file switch (archiving needed) – Indicates archive files are written too slowly log file switch completion – May need more log files per thread log file sync – Could indicate excessive commits
Log Type Waits log file parallel write – Look  for log file contention log buffer space – Look at increasing log buffer size log file switch (checkpoint incomplete) – May indicate excessive db files or slow IO subsystem log file switch (archiving needed) – Indicates archive files are written too slowly log file switch completion – May need more log files per thread log file sync – Could indicate excessive commits
Log Type Waits log file parallel write – Look  for log file contention log buffer space – Look at increasing log buffer size log file switch (checkpoint incomplete) – May indicate excessive db files or slow IO subsystem log file switch (archiving needed) – Indicates archive files are written too slowly log file switch completion – May need more log files per thread log file sync – Could indicate excessive commits
Log Type Waits log file parallel write – Look  for log file contention log buffer space – Look at increasing log buffer size log file switch (checkpoint incomplete) – May indicate excessive db files or slow IO subsystem log file switch (archiving needed) – Indicates archive files are written too slowly log file switch completion – May need more log files per thread log file sync – Could indicate excessive commits
PX Type Waits PX Deq: Msg Fragment – PEM maybe too small PX qref latch - Data is produced faster than it is consumed, look at PEM PX Deq Credit: send blkd – Look at PEM size and parallel query into non-parallel DML
GC Events gccr multi block request – Full table or index scans gc current multi block request – Full table or index scans gccr block 2-way – Blocks are busy in another instance, check for block level contention or hot blocks gccr block 3-way – Blocks are busy in another instance, check for block level contention or hot blocks gccr block busy – Blocks are busy in another instance, check for block level contention or hot blocks gccr block congested – cr block congestion, check for hot blocks or busy interconnect gccr block lost – Indicates interconnect issues and contention gc current block 2-way – Blocks are busy in another instance, check for block level contention or hot blocks gc current block 3-way – Blocks are busy in another instance, check for block level contention or hot blocks gc current block busy – Block is already involved in GC operation, shows hot blocks or congestion gc current block congested – current block congestion, check for hot blocks or busy interconnect gc current block lost - Indicates interconnect issues and contention
GC Events gccr multi block request – Full table or index scans gc current multi block request – Full table or index scans gccr block 2-way – Blocks are busy in another instance, check for block level contention or hot blocks gccr block 3-way – Blocks are busy in another instance, check for block level contention or hot blocks gccr block busy – Blocks are busy in another instance, check for block level contention or hot blocks gccr block congested – cr block congestion, check for hot blocks or busy interconnect gccr block lost – Indicates interconnect issues and contention gc current block 2-way – Blocks are busy in another instance, check for block level contention or hot blocks gc current block 3-way – Blocks are busy in another instance, check for block level contention or hot blocks gc current block busy – Block is already involved in GC operation, shows hot blocks or congestion gc current block congested – current block congestion, check for hot blocks or busy interconnect gc current block lost - Indicates interconnect issues and contention
GC Events gccr multi block request – Full table or index scans gc current multi block request – Full table or index scans gccr block 2-way – Blocks are busy in another instance, check for block level contention or hot blocks gccr block 3-way – Blocks are busy in another instance, check for block level contention or hot blocks gccr block busy – Blocks are busy in another instance, check for block level contention or hot blocks gccr block congested – cr block congestion, check for hot blocks or busy interconnect gccr block lost – Indicates interconnect issues and contention gc current block 2-way – Blocks are busy in another instance, check for block level contention or hot blocks gc current block 3-way – Blocks are busy in another instance, check for block level contention or hot blocks gc current block busy – Block is already involved in GC operation, shows hot blocks or congestion gc current block congested – current block congestion, check for hot blocks or busy interconnect gc current block lost - Indicates interconnect issues and contention
Undo Events undo segment extension – If excessive, tune undo latch: In memory undo latch – If excessive could be bug, check for your version, may have to turn off in memory undo wait for a undo record – Usually only during recovery of large transactions, look at turning off parallel undo recovery.

More Related Content

What's hot

Ash masters : advanced ash analytics on Oracle
Ash masters : advanced ash analytics on Oracle Ash masters : advanced ash analytics on Oracle
Ash masters : advanced ash analytics on Oracle Kyle Hailey
 
Christo kutrovsky oracle, memory & linux
Christo kutrovsky   oracle, memory & linuxChristo kutrovsky   oracle, memory & linux
Christo kutrovsky oracle, memory & linuxKyle Hailey
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsEnkitec
 
AWR Ambiguity: Performance reasoning when the numbers don't add up
AWR Ambiguity: Performance reasoning when the numbers don't add upAWR Ambiguity: Performance reasoning when the numbers don't add up
AWR Ambiguity: Performance reasoning when the numbers don't add upJohn Beresniewicz
 
Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014John Beresniewicz
 
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022Sandesh Rao
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsJohn Beresniewicz
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratopSandesh Rao
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACPaulo Fagundes
 
Schema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cSchema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cuzzal basak
 
UKOUG, Oracle Transaction Locks
UKOUG, Oracle Transaction LocksUKOUG, Oracle Transaction Locks
UKOUG, Oracle Transaction LocksKyle Hailey
 
SQL Tuning, takes 3 to tango
SQL Tuning, takes 3 to tangoSQL Tuning, takes 3 to tango
SQL Tuning, takes 3 to tangoMauro Pagano
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)Gustavo Rene Antunez
 
OOUG: Oracle transaction locking
OOUG: Oracle transaction lockingOOUG: Oracle transaction locking
OOUG: Oracle transaction lockingKyle Hailey
 

What's hot (20)

AWR reports-Measuring CPU
AWR reports-Measuring CPUAWR reports-Measuring CPU
AWR reports-Measuring CPU
 
Ash masters : advanced ash analytics on Oracle
Ash masters : advanced ash analytics on Oracle Ash masters : advanced ash analytics on Oracle
Ash masters : advanced ash analytics on Oracle
 
Christo kutrovsky oracle, memory & linux
Christo kutrovsky   oracle, memory & linuxChristo kutrovsky   oracle, memory & linux
Christo kutrovsky oracle, memory & linux
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
AWR Ambiguity: Performance reasoning when the numbers don't add up
AWR Ambiguity: Performance reasoning when the numbers don't add upAWR Ambiguity: Performance reasoning when the numbers don't add up
AWR Ambiguity: Performance reasoning when the numbers don't add up
 
Analyzing awr report
Analyzing awr reportAnalyzing awr report
Analyzing awr report
 
Using Statspack and AWR for Memory Monitoring and Tuning
Using Statspack and AWR for Memory Monitoring and TuningUsing Statspack and AWR for Memory Monitoring and Tuning
Using Statspack and AWR for Memory Monitoring and Tuning
 
Ash and awr deep dive hotsos
Ash and awr deep dive hotsosAsh and awr deep dive hotsos
Ash and awr deep dive hotsos
 
B35 Inside rac by Julian Dyke
B35 Inside rac by Julian DykeB35 Inside rac by Julian Dyke
B35 Inside rac by Julian Dyke
 
Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014
 
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
 
Redo internals ppt
Redo internals pptRedo internals ppt
Redo internals ppt
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RAC
 
Schema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cSchema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12c
 
UKOUG, Oracle Transaction Locks
UKOUG, Oracle Transaction LocksUKOUG, Oracle Transaction Locks
UKOUG, Oracle Transaction Locks
 
SQL Tuning, takes 3 to tango
SQL Tuning, takes 3 to tangoSQL Tuning, takes 3 to tango
SQL Tuning, takes 3 to tango
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)
 
OOUG: Oracle transaction locking
OOUG: Oracle transaction lockingOOUG: Oracle transaction locking
OOUG: Oracle transaction locking
 

Viewers also liked

Performance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And WhatPerformance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And Whatudaymoogala
 
Reading AWR or Statspack Report - Straight to the Goal
Reading AWR or Statspack Report - Straight to the GoalReading AWR or Statspack Report - Straight to the Goal
Reading AWR or Statspack Report - Straight to the GoalFranck Pachot
 
Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Kernel Training
 
FlashSystems 2016 update
FlashSystems 2016 updateFlashSystems 2016 update
FlashSystems 2016 updateJoe Krotz
 
Oracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience SharingOracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience SharingYury Velikanov
 
Oracle SQL tuning with SQL Plan Management
Oracle SQL tuning with SQL Plan ManagementOracle SQL tuning with SQL Plan Management
Oracle SQL tuning with SQL Plan ManagementBjoern Rost
 
3 ways to reduce Oracle license costs
3 ways to reduce Oracle license costs3 ways to reduce Oracle license costs
3 ways to reduce Oracle license costsWilliam Macleod
 
Awr1page - Sanity checking time instrumentation in AWR reports
Awr1page - Sanity checking time instrumentation in AWR reportsAwr1page - Sanity checking time instrumentation in AWR reports
Awr1page - Sanity checking time instrumentation in AWR reportsJohn Beresniewicz
 
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan StabilityUsing SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan StabilityCarlos Sierra
 
My Experience Using Oracle SQL Plan Baselines 11g/12c
My Experience Using Oracle SQL Plan Baselines 11g/12cMy Experience Using Oracle SQL Plan Baselines 11g/12c
My Experience Using Oracle SQL Plan Baselines 11g/12cNelson Calero
 
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DBHow a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DBCarlos Sierra
 
Benchmarking Oracle I/O Performance with Orion by Alex Gorbachev
Benchmarking Oracle I/O Performance with Orion by Alex GorbachevBenchmarking Oracle I/O Performance with Orion by Alex Gorbachev
Benchmarking Oracle I/O Performance with Orion by Alex GorbachevAlex Gorbachev
 
Oracle AWR Data mining
Oracle AWR Data miningOracle AWR Data mining
Oracle AWR Data miningYury Velikanov
 
Oracle SQL Performance Tuning and Optimization v26 chapter 1
Oracle SQL Performance Tuning and Optimization v26 chapter 1Oracle SQL Performance Tuning and Optimization v26 chapter 1
Oracle SQL Performance Tuning and Optimization v26 chapter 1Kevin Meade
 
Lecture 5 1_mass_and_density
Lecture 5 1_mass_and_densityLecture 5 1_mass_and_density
Lecture 5 1_mass_and_densityKhairul Azhar
 
Lecture 8 2_magnetic_force
Lecture 8 2_magnetic_forceLecture 8 2_magnetic_force
Lecture 8 2_magnetic_forceKhairul Azhar
 

Viewers also liked (20)

Performance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And WhatPerformance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
 
Reading AWR or Statspack Report - Straight to the Goal
Reading AWR or Statspack Report - Straight to the GoalReading AWR or Statspack Report - Straight to the Goal
Reading AWR or Statspack Report - Straight to the Goal
 
Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning
 
Using AWR for SQL Analysis
Using AWR for SQL AnalysisUsing AWR for SQL Analysis
Using AWR for SQL Analysis
 
AWR, ASH with EM13 at HotSos 2016
AWR, ASH with EM13 at HotSos 2016AWR, ASH with EM13 at HotSos 2016
AWR, ASH with EM13 at HotSos 2016
 
FlashSystems 2016 update
FlashSystems 2016 updateFlashSystems 2016 update
FlashSystems 2016 update
 
Oracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience SharingOracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience Sharing
 
Oracle SQL tuning with SQL Plan Management
Oracle SQL tuning with SQL Plan ManagementOracle SQL tuning with SQL Plan Management
Oracle SQL tuning with SQL Plan Management
 
3 ways to reduce Oracle license costs
3 ways to reduce Oracle license costs3 ways to reduce Oracle license costs
3 ways to reduce Oracle license costs
 
Awr1page - Sanity checking time instrumentation in AWR reports
Awr1page - Sanity checking time instrumentation in AWR reportsAwr1page - Sanity checking time instrumentation in AWR reports
Awr1page - Sanity checking time instrumentation in AWR reports
 
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan StabilityUsing SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
 
My Experience Using Oracle SQL Plan Baselines 11g/12c
My Experience Using Oracle SQL Plan Baselines 11g/12cMy Experience Using Oracle SQL Plan Baselines 11g/12c
My Experience Using Oracle SQL Plan Baselines 11g/12c
 
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DBHow a Developer can Troubleshoot a SQL performing poorly on a Production DB
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
 
Benchmarking Oracle I/O Performance with Orion by Alex Gorbachev
Benchmarking Oracle I/O Performance with Orion by Alex GorbachevBenchmarking Oracle I/O Performance with Orion by Alex Gorbachev
Benchmarking Oracle I/O Performance with Orion by Alex Gorbachev
 
Oracle AWR Data mining
Oracle AWR Data miningOracle AWR Data mining
Oracle AWR Data mining
 
Oracle SQL Performance Tuning and Optimization v26 chapter 1
Oracle SQL Performance Tuning and Optimization v26 chapter 1Oracle SQL Performance Tuning and Optimization v26 chapter 1
Oracle SQL Performance Tuning and Optimization v26 chapter 1
 
Oracle sql tuning
Oracle sql tuningOracle sql tuning
Oracle sql tuning
 
Lecture 5 1_mass_and_density
Lecture 5 1_mass_and_densityLecture 5 1_mass_and_density
Lecture 5 1_mass_and_density
 
Lecture 8 2_magnetic_force
Lecture 8 2_magnetic_forceLecture 8 2_magnetic_force
Lecture 8 2_magnetic_force
 
Marijuana
MarijuanaMarijuana
Marijuana
 

Similar to Using AWR/Statspack for Wait Analysis

Awrrpt 1 3004_3005
Awrrpt 1 3004_3005Awrrpt 1 3004_3005
Awrrpt 1 3004_3005Kam Chan
 
Thomas+Niewel+ +Oracletuning
Thomas+Niewel+ +OracletuningThomas+Niewel+ +Oracletuning
Thomas+Niewel+ +Oracletuningafa reg
 
Troubleshooting Complex Oracle Performance Problems with Tanel Poder
Troubleshooting Complex Oracle Performance Problems with Tanel PoderTroubleshooting Complex Oracle Performance Problems with Tanel Poder
Troubleshooting Complex Oracle Performance Problems with Tanel PoderTanel Poder
 
AWR, ADDM, ASH, Metrics and Advisors.ppt
AWR, ADDM, ASH, Metrics and Advisors.pptAWR, ADDM, ASH, Metrics and Advisors.ppt
AWR, ADDM, ASH, Metrics and Advisors.pptbugzbinny
 
Oracle Open World Thursday 230 ashmasters
Oracle Open World Thursday 230 ashmastersOracle Open World Thursday 230 ashmasters
Oracle Open World Thursday 230 ashmastersKyle Hailey
 
EMC Dteata domain advanced command troubleshoot
EMC Dteata domain advanced command troubleshootEMC Dteata domain advanced command troubleshoot
EMC Dteata domain advanced command troubleshootsolarisyougood
 
Oow2007 performance
Oow2007 performanceOow2007 performance
Oow2007 performanceRicky Zhu
 
Oracle 10g Performance: chapter 00 statspack
Oracle 10g Performance: chapter 00 statspackOracle 10g Performance: chapter 00 statspack
Oracle 10g Performance: chapter 00 statspackKyle Hailey
 
Troubleshooting Complex Performance issues - Oracle SEG$ contention
Troubleshooting Complex Performance issues - Oracle SEG$ contentionTroubleshooting Complex Performance issues - Oracle SEG$ contention
Troubleshooting Complex Performance issues - Oracle SEG$ contentionTanel Poder
 
Build an High-Performance and High-Durable Block Storage Service Based on Ceph
Build an High-Performance and High-Durable Block Storage Service Based on CephBuild an High-Performance and High-Durable Block Storage Service Based on Ceph
Build an High-Performance and High-Durable Block Storage Service Based on CephRongze Zhu
 
System Capa Planning_DBA oracle edu
System Capa Planning_DBA oracle eduSystem Capa Planning_DBA oracle edu
System Capa Planning_DBA oracle edu엑셈
 
SQLIO - measuring storage performance
SQLIO - measuring storage performanceSQLIO - measuring storage performance
SQLIO - measuring storage performancevalerian_ceaus
 
Rman duplicate-database-on-the-same-host1
Rman duplicate-database-on-the-same-host1Rman duplicate-database-on-the-same-host1
Rman duplicate-database-on-the-same-host1hunghtc83
 
11thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp0111thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp01Karam Abuataya
 
11 Things About11g
11 Things About11g11 Things About11g
11 Things About11gfcamachob
 

Similar to Using AWR/Statspack for Wait Analysis (20)

Awrrpt 1 3004_3005
Awrrpt 1 3004_3005Awrrpt 1 3004_3005
Awrrpt 1 3004_3005
 
Using AWR for IO Subsystem Analysis
Using AWR for IO Subsystem AnalysisUsing AWR for IO Subsystem Analysis
Using AWR for IO Subsystem Analysis
 
Thomas+Niewel+ +Oracletuning
Thomas+Niewel+ +OracletuningThomas+Niewel+ +Oracletuning
Thomas+Niewel+ +Oracletuning
 
Troubleshooting Complex Oracle Performance Problems with Tanel Poder
Troubleshooting Complex Oracle Performance Problems with Tanel PoderTroubleshooting Complex Oracle Performance Problems with Tanel Poder
Troubleshooting Complex Oracle Performance Problems with Tanel Poder
 
AWR, ADDM, ASH, Metrics and Advisors.ppt
AWR, ADDM, ASH, Metrics and Advisors.pptAWR, ADDM, ASH, Metrics and Advisors.ppt
AWR, ADDM, ASH, Metrics and Advisors.ppt
 
Oracle Open World Thursday 230 ashmasters
Oracle Open World Thursday 230 ashmastersOracle Open World Thursday 230 ashmasters
Oracle Open World Thursday 230 ashmasters
 
EMC Dteata domain advanced command troubleshoot
EMC Dteata domain advanced command troubleshootEMC Dteata domain advanced command troubleshoot
EMC Dteata domain advanced command troubleshoot
 
Oow2007 performance
Oow2007 performanceOow2007 performance
Oow2007 performance
 
Oracle 10g Performance: chapter 00 statspack
Oracle 10g Performance: chapter 00 statspackOracle 10g Performance: chapter 00 statspack
Oracle 10g Performance: chapter 00 statspack
 
Troubleshooting Complex Performance issues - Oracle SEG$ contention
Troubleshooting Complex Performance issues - Oracle SEG$ contentionTroubleshooting Complex Performance issues - Oracle SEG$ contention
Troubleshooting Complex Performance issues - Oracle SEG$ contention
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
 
Build an High-Performance and High-Durable Block Storage Service Based on Ceph
Build an High-Performance and High-Durable Block Storage Service Based on CephBuild an High-Performance and High-Durable Block Storage Service Based on Ceph
Build an High-Performance and High-Durable Block Storage Service Based on Ceph
 
System Capa Planning_DBA oracle edu
System Capa Planning_DBA oracle eduSystem Capa Planning_DBA oracle edu
System Capa Planning_DBA oracle edu
 
Rmoug ashmaster
Rmoug ashmasterRmoug ashmaster
Rmoug ashmaster
 
SQLIO - measuring storage performance
SQLIO - measuring storage performanceSQLIO - measuring storage performance
SQLIO - measuring storage performance
 
Rman duplicate-database-on-the-same-host1
Rman duplicate-database-on-the-same-host1Rman duplicate-database-on-the-same-host1
Rman duplicate-database-on-the-same-host1
 
11thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp0111thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp01
 
11 Things About11g
11 Things About11g11 Things About11g
11 Things About11g
 
ceph-barcelona-v-1.2
ceph-barcelona-v-1.2ceph-barcelona-v-1.2
ceph-barcelona-v-1.2
 
Ceph barcelona-v-1.2
Ceph barcelona-v-1.2Ceph barcelona-v-1.2
Ceph barcelona-v-1.2
 

Recently uploaded

Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 

Recently uploaded (20)

Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

Using AWR/Statspack for Wait Analysis

  • 1. Using AWR For Wait Analysis Mike Ault, Oracle Guru March 2011 The World’s Fastest Storage® for over thirty years!
  • 2.
  • 4. Kennedy Western University Graduate
  • 5. Bachelors Degree Computer Science
  • 6. Certified in all Oracle Versions Since 6
  • 7.
  • 8.
  • 9.
  • 10. What Is AWR? A background process A set of tables A set of reports Takes snapshots of statistics every hour Takes snapshot of high-cost SQL every hour
  • 11. Preparation for Analysis Know your systems normal performance fingerprint Be familiar with Concepts and Tuning Guides Have “normal” AWR/Statspacks for comparison
  • 12. Top-Down Approach Report starts with settings overview Next provides Top-5 waits Use the Waits to guide further investigation
  • 13. AWR Report Header WORKLOAD REPOSITORY report for DB Name DB Id Instance Inst Num Startup Time Release RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YES Host Name Platform CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3 Linux IA (32-bit) 2 1 1 2.97 Snap Id Snap Time Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap: 91 04-Aug-08 12:00:15 41 1.2 End Snap: 92 04-Aug-08 13:00:28 47 1.1 Elapsed: 60.22 (mins) DB Time: 139.52 (mins) Cache Sizes Begin End ~~~~~~~~~~~ ---------- ---------- Buffer Cache: 1,312M 1,312M Std Block Size: 8K Shared Pool Size: 224M 224M Log Buffer: 10,604K
  • 14. AWR Report Header WORKLOAD REPOSITORY report for DB Name DB Id Instance Inst Num Startup Time Release RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YES Host Name Platform CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3 Linux IA (32-bit) 2 1 1 2.97 Snap Id Snap Time Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap: 91 04-Aug-08 12:00:15 41 1.2 End Snap: 92 04-Aug-08 13:00:28 47 1.1 Elapsed: 60.22 (mins) DB Time: 139.52 (mins) Cache Sizes Begin End ~~~~~~~~~~~ ---------- ---------- Buffer Cache: 1,312M 1,312M Std Block Size: 8K Shared Pool Size: 224M 224M Log Buffer: 10,604K
  • 15. AWR Report Header WORKLOAD REPOSITORY report for DB Name DB Id Instance Inst Num Startup Time Release RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YES Host Name Platform CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3 Linux IA (32-bit) 2 1 1 2.97 Snap Id Snap Time Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap: 91 04-Aug-08 12:00:15 41 1.2 End Snap: 92 04-Aug-08 13:00:28 47 1.1 Elapsed: 60.22 (mins) DB Time: 139.52 (mins) Cache Sizes Begin End ~~~~~~~~~~~ ---------- ---------- Buffer Cache: 1,312M 1,312M Std Block Size: 8K Shared Pool Size: 224M 224M Log Buffer: 10,604K
  • 16. AWR Report Header WORKLOAD REPOSITORY report for DB Name DB Id Instance Inst Num Startup Time Release RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YES Host Name Platform CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3 Linux IA (32-bit) 2 1 1 2.97 Snap Id Snap Time Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap: 91 04-Aug-08 12:00:15 41 1.2 End Snap: 92 04-Aug-08 13:00:28 47 1.1 Elapsed: 60.22 (mins) DB Time: 139.52 (mins) Cache Sizes Begin End ~~~~~~~~~~~ ---------- ---------- Buffer Cache: 1,312M 1,312M Std Block Size: 8K Shared Pool Size: 224M 224M Log Buffer: 10,604K
  • 17. AWR Report Header WORKLOAD REPOSITORY report for DB Name DB Id Instance Inst Num Startup Time Release RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YES Host Name Platform CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3 Linux IA (32-bit) 2 1 1 2.97 Snap Id Snap Time Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap: 91 04-Aug-08 12:00:15 41 1.2 End Snap: 92 04-Aug-08 13:00:28 47 1.1 Elapsed: 60.22 (mins) DB Time: 139.52 (mins) Cache Sizes Begin End ~~~~~~~~~~~ ---------- ---------- Buffer Cache: 1,312M 1,312M Std Block Size: 8K Shared Pool Size: 224M 224M Log Buffer: 10,604K
  • 18. AWR Report Header WORKLOAD REPOSITORY report for DB Name DB Id Instance Inst Num Startup Time Release RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YES Host Name Platform CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3 Linux IA (32-bit) 2 1 1 2.97 Snap Id Snap Time Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap: 91 04-Aug-08 12:00:15 41 1.2 End Snap: 92 04-Aug-08 13:00:28 47 1.1 Elapsed: 60.22 (mins) DB Time: 139.52 (mins) Cache Sizes Begin End ~~~~~~~~~~~ ---------- ---------- Buffer Cache: 1,312M 1,312M Std Block Size: 8K Shared Pool Size: 224M 224M Log Buffer: 10,604K
  • 19. AWR Report Header WORKLOAD REPOSITORY report for DB Name DB Id Instance Inst Num Startup Time Release RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YES Host Name Platform CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3 Linux IA (32-bit) 2 1 1 2.97 Snap Id Snap Time Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap: 91 04-Aug-08 12:00:15 41 1.2 End Snap: 92 04-Aug-08 13:00:28 47 1.1 Elapsed: 60.22 (mins) DB Time: 139.52 (mins) Cache Sizes Begin End ~~~~~~~~~~~ ---------- ---------- Buffer Cache: 1,312M 1,312M Std Block Size: 8K Shared Pool Size: 224M 224M Log Buffer: 10,604K
  • 20. AWR Report Header WORKLOAD REPOSITORY report for DB Name DB Id Instance Inst Num Startup Time Release RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YES Host Name Platform CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3 Linux IA (32-bit) 2 1 1 2.97 Snap Id Snap Time Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap: 91 04-Aug-08 12:00:15 41 1.2 End Snap: 92 04-Aug-08 13:00:28 47 1.1 Elapsed: 60.22 (mins) DB Time: 139.52 (mins) Cache Sizes Begin End ~~~~~~~~~~~ ---------- ---------- Buffer Cache: 1,312M 1,312M Std Block Size: 8K Shared Pool Size: 224M 224M Log Buffer: 10,604K
  • 21. AWR Report Header WORKLOAD REPOSITORY report for DB Name DB Id Instance Inst Num Startup Time Release RAC ------------ ----------- ------------ -------- --------------- ----------- --- AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YES Host Name Platform CPUs Cores Sockets Memory(GB) ---------------- -------------------------------- ---- ----- ------- ---------- aultlinux3 Linux IA (32-bit) 2 1 1 2.97 Snap Id Snap Time Sessions Curs/Sess --------- ------------------- -------- --------- Begin Snap: 91 04-Aug-08 12:00:15 41 1.2 End Snap: 92 04-Aug-08 13:00:28 47 1.1 Elapsed: 60.22 (mins) DB Time: 139.52 (mins) Cache Sizes Begin End ~~~~~~~~~~~ ---------- ---------- Buffer Cache: 1,312M 1,312M Std Block Size: 8K Shared Pool Size: 224M 224M Log Buffer: 10,604K
  • 22. Know Your Load Type! Online Transaction Processing Few reads Many writes Many small transactions Look for redo/undo and sequential read issues Decision Support/Data Warehouse Many reads Few writes (other then possible temp) Few transactions Look for sort/workarea and scattered read issues Mixed or Hybrid
  • 23. Load Profile Section Load Profile Per Second Per Transaction Per Exec Per Call ~~~~~~~~~~~~ --------------- --------------- ---------- ---------- DB Time(s): 2.3 7.1 0.63 1.05 DB CPU(s): 0.3 0.9 0.07 0.13 Redo size: 800.5 2,461.8 Logical reads: 6,307.6 19,396.7 Block changes: 3.6 10.9 Physical reads: 2,704.9 8,317.8 Physical writes: 86.9 267.3 User calls: 2.2 6.8 Parses: 2.0 6.1 Hard parses: 0.0 0.1 W/A MB processed: 932,965.4 2,868,990.9 Logons: 0.1 0.2 Executes: 3.7 11.3 Rollbacks: 0.1 0.3 Transactions: 0.3
  • 24. Load Profile Section Load Profile Per Second Per Transaction Per Exec Per Call ~~~~~~~~~~~~ --------------- --------------- ---------- ---------- DB Time(s): 2.3 7.1 0.63 1.05 DB CPU(s): 0.3 0.9 0.07 0.13 Redo size: 800.5 2,461.8 Logical reads: 6,307.6 19,396.7 Block changes: 3.6 10.9 Physical reads: 2,704.9 8,317.8 Physical writes: 86.9 267.3 User calls: 2.2 6.8 Parses: 2.0 6.1 Hard parses: 0.0 0.1 W/A MB processed: 932,965.4 2,868,990.9 Logons: 0.1 0.2 Executes: 3.7 11.3 Rollbacks: 0.1 0.3 Transactions: 0.3
  • 25. Load Profile Section Load Profile Per Second Per Transaction Per Exec Per Call ~~~~~~~~~~~~ --------------- --------------- ---------- ---------- DB Time(s): 2.3 7.1 0.63 1.05 DB CPU(s): 0.3 0.9 0.07 0.13 Redo size: 800.5 2,461.8 Logical reads: 6,307.6 19,396.7 Block changes: 3.6 10.9 Physical reads: 2,704.9 8,317.8 Physical writes: 86.9 267.3 User calls: 2.2 6.8 Parses: 2.0 6.1 Hard parses: 0.0 0.1 W/A MB processed: 932,965.4 2,868,990.9 Logons: 0.1 0.2 Executes: 3.7 11.3 Rollbacks: 0.1 0.3 Transactions: 0.3
  • 26. Load Profile Section Load Profile Per Second Per Transaction Per Exec Per Call ~~~~~~~~~~~~ --------------- --------------- ---------- ---------- DB Time(s): 2.3 7.1 0.63 1.05 DB CPU(s): 0.3 0.9 0.07 0.13 Redo size: 800.5 2,461.8 Logical reads: 6,307.6 19,396.7 Block changes: 3.6 10.9 Physical reads: 2,704.9 8,317.8 Physical writes: 86.9 267.3 User calls: 2.2 6.8 Parses: 2.0 6.1 Hard parses: 0.0 0.1 W/A MB processed: 932,965.4 2,868,990.9 Logons: 0.1 0.2 Executes: 3.7 11.3 Rollbacks: 0.1 0.3 Transactions: 0.3
  • 27. Load Profile Section Load Profile Per Second Per Transaction Per Exec Per Call ~~~~~~~~~~~~ --------------- --------------- ---------- ---------- DB Time(s): 2.3 7.1 0.63 1.05 DB CPU(s): 0.3 0.9 0.07 0.13 Redo size: 800.5 2,461.8 Logical reads: 6,307.6 19,396.7 Block changes: 3.6 10.9 Physical reads: 2,704.9 8,317.8 Physical writes: 86.9 267.3 User calls: 2.2 6.8 Parses: 2.0 6.1 Hard parses: 0.0 0.1 W/A MB processed: 932,965.4 2,868,990.9 Logons: 0.1 0.2 Executes: 3.7 11.3 Rollbacks: 0.1 0.3 Transactions: 0.3
  • 28. Load Profile Section Load Profile Per Second Per Transaction Per Exec Per Call ~~~~~~~~~~~~ --------------- --------------- ---------- ---------- DB Time(s): 2.3 7.1 0.63 1.05 DB CPU(s): 0.3 0.9 0.07 0.13 Redo size: 800.5 2,461.8 Logical reads: 6,307.6 19,396.7 Block changes: 3.6 10.9 Physical reads: 2,704.9 8,317.8 Physical writes: 86.9 267.3 User calls: 2.2 6.8 Parses: 2.0 6.1 Hard parses: 0.0 0.1 W/A MB processed: 932,965.4 2,868,990.9 Logons: 0.1 0.2 Executes: 3.7 11.3 Rollbacks: 0.1 0.3 Transactions: 0.3
  • 29. Load Profile Section Load Profile Per Second Per Transaction Per Exec Per Call ~~~~~~~~~~~~ --------------- --------------- ---------- ---------- DB Time(s): 2.3 7.1 0.63 1.05 DB CPU(s): 0.3 0.9 0.07 0.13 Redo size: 800.5 2,461.8 Logical reads: 6,307.6 19,396.7 Block changes: 3.6 10.9 Physical reads: 2,704.9 8,317.8 Physical writes: 86.9 267.3 User calls: 2.2 6.8 Parses: 2.0 6.1 Hard parses: 0.0 0.1 W/A MB processed: 932,965.4 2,868,990.9 Logons: 0.1 0.2 Executes: 3.7 11.3 Rollbacks: 0.1 0.3 Transactions: 0.3
  • 30. Load Profile Section Load Profile Per Second Per Transaction Per Exec Per Call ~~~~~~~~~~~~ --------------- --------------- ---------- ---------- DB Time(s): 2.3 7.1 0.63 1.05 DB CPU(s): 0.3 0.9 0.07 0.13 Redo size: 800.5 2,461.8 Logical reads: 6,307.6 19,396.7 Block changes: 3.6 10.9 Physical reads: 2,704.9 8,317.8 Physical writes: 86.9 267.3 User calls: 2.2 6.8 Parses: 2.0 6.1 Hard parses: 0.0 0.1 W/A MB processed: 932,965.4 2,868,990.9 Logons: 0.1 0.2 Executes: 3.7 11.3 Rollbacks: 0.1 0.3 Transactions: 0.3
  • 31. What Are Your Efficiencies Should be close to 100% Parse issues usually are a result of: Bad bind variable usage Insufficient memory Will also be co-indicated by low percentage of memory for multiple SQL execution
  • 32. Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buffer Nowait %: 100.00 Redo NoWait %: 99.97 Buffer Hit %: 96.09 In-memory Sort %: 100.00 Library Hit %: 98.17 Soft Parse %: 97.88 Execute to Parse %: 45.80 Latch Hit %: 99.95 Parse CPU to ParseElapsd %: 0.00 % Non-Parse CPU: 99.77 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 81.53 85.39 % SQL with executions>1: 79.29 79.48 % Memory for SQL w/exec>1: 76.73 78.19
  • 33. Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buffer Nowait %: 100.00 Redo NoWait %: 99.97 Buffer Hit %: 96.09 In-memory Sort %: 100.00 Library Hit %: 98.17 Soft Parse %: 97.88 Execute to Parse %: 45.80 Latch Hit %: 99.95 Parse CPU to ParseElapsd %: 0.00 % Non-Parse CPU: 99.77 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 81.53 85.39 % SQL with executions>1: 79.29 79.48 % Memory for SQL w/exec>1: 76.73 78.19
  • 34. Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buffer Nowait %: 100.00 Redo NoWait %: 99.97 Buffer Hit %: 96.09 In-memory Sort %: 100.00 Library Hit %: 98.17 Soft Parse %: 97.88 Execute to Parse %: 45.80 Latch Hit %: 99.95 Parse CPU to ParseElapsd %: 0.00 % Non-Parse CPU: 99.77 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 81.53 85.39 % SQL with executions>1: 79.29 79.48 % Memory for SQL w/exec>1: 76.73 78.19
  • 35. Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buffer Nowait %: 100.00 Redo NoWait %: 99.97 Buffer Hit %: 96.09 In-memory Sort %: 100.00 Library Hit %: 98.17 Soft Parse %: 97.88 Execute to Parse %: 45.80 Latch Hit %: 99.95 Parse CPU to ParseElapsd %: 0.00 % Non-Parse CPU: 99.77 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 81.53 85.39 % SQL with executions>1: 79.29 79.48 % Memory for SQL w/exec>1: 76.73 78.19
  • 36. Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buffer Nowait %: 100.00 Redo NoWait %: 99.97 Buffer Hit %: 96.09 In-memory Sort %: 100.00 Library Hit %: 98.17 Soft Parse %: 97.88 Execute to Parse %: 45.80 Latch Hit %: 99.95 Parse CPU to ParseElapsd %: 0.00 % Non-Parse CPU: 99.77 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 81.53 85.39 % SQL with executions>1: 79.29 79.48 % Memory for SQL w/exec>1: 76.73 78.19
  • 37. Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buffer Nowait %: 100.00 Redo NoWait %: 99.97 Buffer Hit %: 96.09 In-memory Sort %: 100.00 Library Hit %: 98.17 Soft Parse %: 97.88 Execute to Parse %: 45.80 Latch Hit %: 99.95 Parse CPU to ParseElapsd %: 0.00 % Non-Parse CPU: 99.77 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 81.53 85.39 % SQL with executions>1: 79.29 79.48 % Memory for SQL w/exec>1: 76.73 78.19
  • 38. Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buffer Nowait %: 100.00 Redo NoWait %: 99.97 Buffer Hit %: 96.09 In-memory Sort %: 100.00 Library Hit %: 98.17 Soft Parse %: 97.88 Execute to Parse %: 45.80 Latch Hit %: 99.95 Parse CPU to ParseElapsd %: 0.00 % Non-Parse CPU: 99.77 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 81.53 85.39 % SQL with executions>1: 79.29 79.48 % Memory for SQL w/exec>1: 76.73 78.19
  • 39. Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buffer Nowait %: 100.00 Redo NoWait %: 99.97 Buffer Hit %: 96.09 In-memory Sort %: 100.00 Library Hit %: 98.17 Soft Parse %: 97.88 Execute to Parse %: 45.80 Latch Hit %: 99.95 Parse CPU to ParseElapsd %: 0.00 % Non-Parse CPU: 99.77 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 81.53 85.39 % SQL with executions>1: 79.29 79.48 % Memory for SQL w/exec>1: 76.73 78.19
  • 40. Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buffer Nowait %: 100.00 Redo NoWait %: 99.97 Buffer Hit %: 96.09 In-memory Sort %: 100.00 Library Hit %: 98.17 Soft Parse %: 97.88 Execute to Parse %: 45.80 Latch Hit %: 99.95 Parse CPU to ParseElapsd %: 0.00 % Non-Parse CPU: 99.77 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 81.53 85.39 % SQL with executions>1: 79.29 79.48 % Memory for SQL w/exec>1: 76.73 78.19
  • 41. Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buffer Nowait %: 100.00 Redo NoWait %: 99.97 Buffer Hit %: 96.09 In-memory Sort %: 100.00 Library Hit %: 98.17 Soft Parse %: 97.88 Execute to Parse %: 45.80 Latch Hit %: 99.95 Parse CPU to ParseElapsd %: 0.00 % Non-Parse CPU: 99.77 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 81.53 85.39 % SQL with executions>1: 79.29 79.48 % Memory for SQL w/exec>1: 76.73 78.19
  • 42. Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buffer Nowait %: 100.00 Redo NoWait %: 99.97 Buffer Hit %: 96.09 In-memory Sort %: 100.00 Library Hit %: 98.17 Soft Parse %: 97.88 Execute to Parse %: 45.80 Latch Hit %: 99.95 Parse CPU to ParseElapsd %: 0.00 % Non-Parse CPU: 99.77 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 81.53 85.39 % SQL with executions>1: 79.29 79.48 % Memory for SQL w/exec>1: 76.73 78.19
  • 43. Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buffer Nowait %: 100.00 Redo NoWait %: 99.97 Buffer Hit %: 96.09 In-memory Sort %: 100.00 Library Hit %: 98.17 Soft Parse %: 97.88 Execute to Parse %: 45.80 Latch Hit %: 99.95 Parse CPU to ParseElapsd %: 0.00 % Non-Parse CPU: 99.77 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 81.53 85.39 % SQL with executions>1: 79.29 79.48 % Memory for SQL w/exec>1: 76.73 78.19
  • 44. Load Profile Section Instance Efficiency Percentages (Target 100%) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buffer Nowait %: 100.00 Redo NoWait %: 99.97 Buffer Hit %: 96.09 In-memory Sort %: 100.00 Library Hit %: 98.17 Soft Parse %: 97.88 Execute to Parse %: 45.80 Latch Hit %: 99.95 Parse CPU to ParseElapsd %: 0.00 % Non-Parse CPU: 99.77 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 81.53 85.39 % SQL with executions>1: 79.29 79.48 % Memory for SQL w/exec>1: 76.73 78.19
  • 45. Top 5 Waits Section Critical to look closely at this section Use highest wait times to guide investigation DB FILE type waits – physical IO BUFFER type waits – Logical IO LOG type waits – Redo related PX – Parallel Query GC – Global Cache (RAC related) Undo – Undo or rollback segment related
  • 46. Top 5 Waits Section Top 5 Timed Foreground Events ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg wait % DB Event Waits Time(s) (ms) time Wait Class ------------------------------ ------------ ----------- ------ ------ ---------- db file sequential read 465,020 3,969 9 47.4 User I/O DB CPU 995 11.9 db file parallel read 2,251 322 143 3.8 User I/O db file scattered read 15,268 153 10 1.8 User I/O gc current block 2-way 108,739 116 1 1.4 Cluster
  • 47. Top 5 Waits Section Top 5 Timed Foreground Events ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg wait % DB Event Waits Time(s) (ms) time Wait Class ------------------------------ ------------ ----------- ------ ------ ---------- db file sequential read 465,020 3,969 9 47.4 User I/O DB CPU 995 11.9 db file parallel read 2,251 322 143 3.8 User I/O db file scattered read 15,268 153 10 1.8 User I/O gc current block 2-way 108,739 116 1 1.4 Cluster
  • 48. Top 5 Waits Section Top 5 Timed Foreground Events ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg wait % DB Event Waits Time(s) (ms) time Wait Class ------------------------------ ------------ ----------- ------ ------ ---------- db file sequential read 465,020 3,969 9 47.4 User I/O DB CPU 995 11.9 db file parallel read 2,251 322 143 3.8 User I/O db file scattered read 15,268 153 10 1.8 User I/O gc current block 2-way 108,739 116 1 1.4 Cluster
  • 49. Top 5 Waits Section Top 5 Timed Foreground Events ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg wait % DB Event Waits Time(s) (ms) time Wait Class ------------------------------ ------------ ----------- ------ ------ ---------- db file sequential read 465,020 3,969 9 47.4 User I/O DB CPU 995 11.9 db file parallel read 2,251 322 143 3.8 User I/O db file scattered read 15,268 153 10 1.8 User I/O gc current block 2-way 108,739 116 1 1.4 Cluster
  • 50. Top 5 Waits Section Top 5 Timed Foreground Events ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg wait % DB Event Waits Time(s) (ms) time Wait Class ------------------------------ ------------ ----------- ------ ------ ---------- db file sequential read 465,020 3,969 9 47.4 User I/O DB CPU 995 11.9 db file parallel read 2,251 322 143 3.8 User I/O db file scattered read 15,268 153 10 1.8 User I/O gc current block 2-way 108,739 116 1 1.4 Cluster
  • 51. Top 5 Waits Section Top 5 Timed Foreground Events ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg wait % DB Event Waits Time(s) (ms) time Wait Class ------------------------------ ------------ ----------- ------ ------ ---------- db file sequential read 465,020 3,969 9 47.4 User I/O DB CPU 995 11.9 db file parallel read 2,251 322 143 3.8 User I/O db file scattered read 15,268 153 10 1.8 User I/O gc current block 2-way 108,739 116 1 1.4 Cluster
  • 52. DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables, bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
  • 53. DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables, bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
  • 54. DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables, bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
  • 55. DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables, bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
  • 56. DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables, bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
  • 57. DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables, bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
  • 58. DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables, bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
  • 59. DB File Type Waits DB File Sequential Reads – memory starvation, non-selective indexes DB File Scattered Reads – full table scans, insufficient indexing Direct Path Writes – Appends, data loads Direct Path Reads – Parallel slaves used to retrieve data DB File Parallel Writes – Backup and partition use DB File Parallel Reads – Partition use DB File Single Write – File header writes, excessive data files Direct path read temp – Temp file activity (sorts, hashes, temp tables, bitmaps) Direct path write temp – Temp file activity (sorts, hashes, temp tables, bitmaps)
  • 60. Buffer Type Waits latch: cache buffers chains – Hot blocks, check for hot objects free buffer waits – Insufficient buffers, processes holding buffers too long, IO subsystem over loaded buffer busy waits – See what is causing them further along in report gc buffer busy – Overloaded interconnect, find problem objects and tune log buffer space – High load, too small a log buffer, increase log buffer size latch: cache buffers lru chain – Freelist issues, hot blocks latch: cache buffer handles – Freelist issues, hot blocks buffer busy - See what is causing them further along in report no free buffers – Insufficient buffers, dbwr contention
  • 61. Buffer Type Waits latch: cache buffers chains – Hot blocks, check for hot objects free buffer waits – Insufficient buffers, processes holding buffers too long, IO subsystem over loaded buffer busy waits – See what is causing them further along in report gc buffer busy – Overloaded interconnect, find problem objects and tune log buffer space – High load, too small a log buffer, increase log buffer size latch: cache buffers lru chain – Freelist issues, hot blocks latch: cache buffer handles – Freelist issues, hot blocks buffer busy - See what is causing them further along in report no free buffers – Insufficient buffers, dbwr contention
  • 62. Buffer Type Waits latch: cache buffers chains – Hot blocks, check for hot objects free buffer waits – Insufficient buffers, processes holding buffers too long, IO subsystem over loaded buffer busy waits – See what is causing them further along in report gc buffer busy – Overloaded interconnect, find problem objects and tune log buffer space – High load, too small a log buffer, increase log buffer size latch: cache buffers lru chain – Freelist issues, hot blocks latch: cache buffer handles – Freelist issues, hot blocks buffer busy - See what is causing them further along in report no free buffers – Insufficient buffers, dbwr contention
  • 63. Buffer Type Waits latch: cache buffers chains – Hot blocks, check for hot objects free buffer waits – Insufficient buffers, processes holding buffers too long, IO subsystem over loaded buffer busy waits – See what is causing them further along in report gc buffer busy – Overloaded interconnect, find problem objects and tune log buffer space – High load, too small a log buffer, increase log buffer size latch: cache buffers lru chain – Freelist issues, hot blocks latch: cache buffer handles – Freelist issues, hot blocks buffer busy - See what is causing them further along in report no free buffers – Insufficient buffers, dbwr contention
  • 64. Buffer Type Waits latch: cache buffers chains – Hot blocks, check for hot objects free buffer waits – Insufficient buffers, processes holding buffers too long, IO subsystem over loaded buffer busy waits – See what is causing them further along in report gc buffer busy – Overloaded interconnect, find problem objects and tune log buffer space – High load, too small a log buffer, increase log buffer size latch: cache buffers lru chain – Freelist issues, hot blocks latch: cache buffer handles – Freelist issues, hot blocks buffer busy - See what is causing them further along in report no free buffers – Insufficient buffers, dbwr contention
  • 65. Log Type Waits log file parallel write – Look for log file contention log buffer space – Look at increasing log buffer size log file switch (checkpoint incomplete) – May indicate excessive db files or slow IO subsystem log file switch (archiving needed) – Indicates archive files are written too slowly log file switch completion – May need more log files per thread log file sync – Could indicate excessive commits
  • 66. Log Type Waits log file parallel write – Look for log file contention log buffer space – Look at increasing log buffer size log file switch (checkpoint incomplete) – May indicate excessive db files or slow IO subsystem log file switch (archiving needed) – Indicates archive files are written too slowly log file switch completion – May need more log files per thread log file sync – Could indicate excessive commits
  • 67. Log Type Waits log file parallel write – Look for log file contention log buffer space – Look at increasing log buffer size log file switch (checkpoint incomplete) – May indicate excessive db files or slow IO subsystem log file switch (archiving needed) – Indicates archive files are written too slowly log file switch completion – May need more log files per thread log file sync – Could indicate excessive commits
  • 68. Log Type Waits log file parallel write – Look for log file contention log buffer space – Look at increasing log buffer size log file switch (checkpoint incomplete) – May indicate excessive db files or slow IO subsystem log file switch (archiving needed) – Indicates archive files are written too slowly log file switch completion – May need more log files per thread log file sync – Could indicate excessive commits
  • 69. PX Type Waits PX Deq: Msg Fragment – PEM maybe too small PX qref latch - Data is produced faster than it is consumed, look at PEM PX Deq Credit: send blkd – Look at PEM size and parallel query into non-parallel DML
  • 70. GC Events gccr multi block request – Full table or index scans gc current multi block request – Full table or index scans gccr block 2-way – Blocks are busy in another instance, check for block level contention or hot blocks gccr block 3-way – Blocks are busy in another instance, check for block level contention or hot blocks gccr block busy – Blocks are busy in another instance, check for block level contention or hot blocks gccr block congested – cr block congestion, check for hot blocks or busy interconnect gccr block lost – Indicates interconnect issues and contention gc current block 2-way – Blocks are busy in another instance, check for block level contention or hot blocks gc current block 3-way – Blocks are busy in another instance, check for block level contention or hot blocks gc current block busy – Block is already involved in GC operation, shows hot blocks or congestion gc current block congested – current block congestion, check for hot blocks or busy interconnect gc current block lost - Indicates interconnect issues and contention
  • 71. GC Events gccr multi block request – Full table or index scans gc current multi block request – Full table or index scans gccr block 2-way – Blocks are busy in another instance, check for block level contention or hot blocks gccr block 3-way – Blocks are busy in another instance, check for block level contention or hot blocks gccr block busy – Blocks are busy in another instance, check for block level contention or hot blocks gccr block congested – cr block congestion, check for hot blocks or busy interconnect gccr block lost – Indicates interconnect issues and contention gc current block 2-way – Blocks are busy in another instance, check for block level contention or hot blocks gc current block 3-way – Blocks are busy in another instance, check for block level contention or hot blocks gc current block busy – Block is already involved in GC operation, shows hot blocks or congestion gc current block congested – current block congestion, check for hot blocks or busy interconnect gc current block lost - Indicates interconnect issues and contention
  • 72. GC Events gccr multi block request – Full table or index scans gc current multi block request – Full table or index scans gccr block 2-way – Blocks are busy in another instance, check for block level contention or hot blocks gccr block 3-way – Blocks are busy in another instance, check for block level contention or hot blocks gccr block busy – Blocks are busy in another instance, check for block level contention or hot blocks gccr block congested – cr block congestion, check for hot blocks or busy interconnect gccr block lost – Indicates interconnect issues and contention gc current block 2-way – Blocks are busy in another instance, check for block level contention or hot blocks gc current block 3-way – Blocks are busy in another instance, check for block level contention or hot blocks gc current block busy – Block is already involved in GC operation, shows hot blocks or congestion gc current block congested – current block congestion, check for hot blocks or busy interconnect gc current block lost - Indicates interconnect issues and contention
  • 73. Undo Events undo segment extension – If excessive, tune undo latch: In memory undo latch – If excessive could be bug, check for your version, may have to turn off in memory undo wait for a undo record – Usually only during recovery of large transactions, look at turning off parallel undo recovery.
  • 74. Undo Events undo segment extension – If excessive, tune undo latch: In memory undo latch – If excessive could be bug, check for your version, may have to turn off in memory undo wait for a undo record – Usually only during recovery of large transactions, look at turning off parallel undo recovery.
  • 75. Undo Events undo segment extension – If excessive, tune undo latch: In memory undo latch – If excessive could be bug, check for your version, may have to turn off in memory undo wait for a undo record – Usually only during recovery of large transactions, look at turning off parallel undo recovery.
  • 76. What Next? Determine wait events of concern Drill down to specific sections of report for deeper analysis Use custom scripts, ADDM and Ash to investigate issues
  • 77. Thank You! Mike Ault Oracle@RamSan.com http://www.statspackanalyzer.com/