SlideShare una empresa de Scribd logo
1 de 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.

Más contenido relacionado

La actualidad más candente

A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN Riyaj Shamsudeen
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONMarkus Michalewicz
 
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
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfSrirakshaSrinivasan2
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Markus Michalewicz
 
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]Markus Michalewicz
 
SQL Monitoring in Oracle Database 12c
SQL Monitoring in Oracle Database 12cSQL Monitoring in Oracle Database 12c
SQL Monitoring in Oracle Database 12cTanel Poder
 
Understanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsUnderstanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsMarkus Michalewicz
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slidesMohamed Farouk
 
Oracle Performance Tools of the Trade
Oracle Performance Tools of the TradeOracle Performance Tools of the Trade
Oracle Performance Tools of the TradeCarlos Sierra
 
Deep review of LMS process
Deep review of LMS processDeep review of LMS process
Deep review of LMS processRiyaj Shamsudeen
 
Chasing the optimizer
Chasing the optimizerChasing the optimizer
Chasing the optimizerMauro Pagano
 
My SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMy SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMarkus Flechtner
 
"It can always get worse!" – Lessons Learned in over 20 years working with Or...
"It can always get worse!" – Lessons Learned in over 20 years working with Or..."It can always get worse!" – Lessons Learned in over 20 years working with Or...
"It can always get worse!" – Lessons Learned in over 20 years working with Or...Markus Michalewicz
 
Oracle advanced queuing
Oracle advanced queuingOracle advanced queuing
Oracle advanced queuingGurpreet singh
 
RMAN best practices for RAC
RMAN best practices for RACRMAN best practices for RAC
RMAN best practices for RACSyed Hussain
 
Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Anil Nair
 

La actualidad más candente (20)

A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
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
 
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
 
AWR and ASH Deep Dive
AWR and ASH Deep DiveAWR and ASH Deep Dive
AWR and ASH Deep Dive
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
 
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
Oracle RAC 12c Practical Performance Management and Tuning OOW13 [CON8825]
 
SQL Monitoring in Oracle Database 12c
SQL Monitoring in Oracle Database 12cSQL Monitoring in Oracle Database 12c
SQL Monitoring in Oracle Database 12c
 
Understanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 InternalsUnderstanding Oracle RAC 11g Release 2 Internals
Understanding Oracle RAC 11g Release 2 Internals
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Oracle Performance Tools of the Trade
Oracle Performance Tools of the TradeOracle Performance Tools of the Trade
Oracle Performance Tools of the Trade
 
Deep review of LMS process
Deep review of LMS processDeep review of LMS process
Deep review of LMS process
 
Chasing the optimizer
Chasing the optimizerChasing the optimizer
Chasing the optimizer
 
My SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMy SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please help
 
"It can always get worse!" – Lessons Learned in over 20 years working with Or...
"It can always get worse!" – Lessons Learned in over 20 years working with Or..."It can always get worse!" – Lessons Learned in over 20 years working with Or...
"It can always get worse!" – Lessons Learned in over 20 years working with Or...
 
Oracle advanced queuing
Oracle advanced queuingOracle advanced queuing
Oracle advanced queuing
 
RMAN best practices for RAC
RMAN best practices for RACRMAN best practices for RAC
RMAN best practices for RAC
 
Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19
 
ASH and AWR on DB12c
ASH and AWR on DB12cASH and AWR on DB12c
ASH and AWR on DB12c
 

Destacado

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
 
Analyzing and Interpreting AWR
Analyzing and Interpreting AWRAnalyzing and Interpreting AWR
Analyzing and Interpreting AWRpasalapudi
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsEnkitec
 
Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Kernel Training
 
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and AdvisorsYour tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and AdvisorsJohn Kanagaraj
 
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
 

Destacado (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
 
Analyzing awr report
Analyzing awr reportAnalyzing awr report
Analyzing awr report
 
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
 
Analyzing and Interpreting AWR
Analyzing and Interpreting AWRAnalyzing and Interpreting AWR
Analyzing and Interpreting AWR
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
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
 
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and AdvisorsYour tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
 
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
 

Similar a 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
 
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
 
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
 
SQL Tuning, takes 3 to tango
SQL Tuning, takes 3 to tangoSQL Tuning, takes 3 to tango
SQL Tuning, takes 3 to tangoMauro Pagano
 

Similar a 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
 
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
 
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
 
SQL Tuning, takes 3 to tango
SQL Tuning, takes 3 to tangoSQL Tuning, takes 3 to tango
SQL Tuning, takes 3 to tango
 

Último

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
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
 

Último (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
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
 

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/