SlideShare uma empresa 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.

Mais conteúdo relacionado

Mais procurados

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
 
UKOUG, Oracle Transaction Locks
UKOUG, Oracle Transaction LocksUKOUG, Oracle Transaction Locks
UKOUG, Oracle Transaction LocksKyle Hailey
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsJohn Beresniewicz
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodLudovico Caldara
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
 
OOUG: Oracle transaction locking
OOUG: Oracle transaction lockingOOUG: Oracle transaction locking
OOUG: Oracle transaction lockingKyle Hailey
 
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
 
Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014John Beresniewicz
 
Oracle AWR Data mining
Oracle AWR Data miningOracle AWR Data mining
Oracle AWR Data miningYury Velikanov
 
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 sql high performance tuning
Oracle sql high performance tuningOracle sql high performance tuning
Oracle sql high performance tuningGuy Harrison
 
Average Active Sessions RMOUG2007
Average Active Sessions RMOUG2007Average Active Sessions RMOUG2007
Average Active Sessions RMOUG2007John Beresniewicz
 
Oracle statistics by example
Oracle statistics by exampleOracle statistics by example
Oracle statistics by exampleMauro Pagano
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slidesMohamed Farouk
 
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
 
Oracle Database Performance Tuning Concept
Oracle Database Performance Tuning ConceptOracle Database Performance Tuning Concept
Oracle Database Performance Tuning ConceptChien Chung Shen
 

Mais procurados (20)

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
 
UKOUG, Oracle Transaction Locks
UKOUG, Oracle Transaction LocksUKOUG, Oracle Transaction Locks
UKOUG, Oracle Transaction Locks
 
Oracle ASM Training
Oracle ASM TrainingOracle ASM Training
Oracle ASM Training
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The Hood
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
 
OOUG: Oracle transaction locking
OOUG: Oracle transaction lockingOOUG: Oracle transaction locking
OOUG: Oracle transaction locking
 
AWR Sample Report
AWR Sample ReportAWR Sample Report
AWR Sample Report
 
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
 
Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014
 
Oracle AWR Data mining
Oracle AWR Data miningOracle AWR Data mining
Oracle AWR Data mining
 
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 sql high performance tuning
Oracle sql high performance tuningOracle sql high performance tuning
Oracle sql high performance tuning
 
Average Active Sessions RMOUG2007
Average Active Sessions RMOUG2007Average Active Sessions RMOUG2007
Average Active Sessions RMOUG2007
 
Oracle statistics by example
Oracle statistics by exampleOracle statistics by example
Oracle statistics by example
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slides
 
5 Steps to PostgreSQL Performance
5 Steps to PostgreSQL Performance5 Steps to PostgreSQL Performance
5 Steps to PostgreSQL Performance
 
Ash and awr deep dive hotsos
Ash and awr deep dive hotsosAsh and awr deep dive hotsos
Ash and awr deep dive hotsos
 
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
 
Oracle Database Performance Tuning Concept
Oracle Database Performance Tuning ConceptOracle Database Performance Tuning Concept
Oracle Database Performance Tuning Concept
 

Destaque

Reading AWR or Statspack Report - Straight to the Goal
Reading AWR or Statspack Report - Straight to the GoalReading AWR or Statspack Report - Straight to the Goal
Reading AWR or Statspack Report - Straight to the GoalFranck Pachot
 
Oracle 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 SQL Performance Tuning and Optimization v26 chapter 1
Oracle SQL Performance Tuning and Optimization v26 chapter 1Oracle SQL Performance Tuning and Optimization v26 chapter 1
Oracle SQL Performance Tuning and Optimization v26 chapter 1Kevin Meade
 
Lecture 5 1_mass_and_density
Lecture 5 1_mass_and_densityLecture 5 1_mass_and_density
Lecture 5 1_mass_and_densityKhairul Azhar
 
Lecture 8 2_magnetic_force
Lecture 8 2_magnetic_forceLecture 8 2_magnetic_force
Lecture 8 2_magnetic_forceKhairul Azhar
 

Destaque (20)

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
 
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 SQL Performance Tuning and Optimization v26 chapter 1
Oracle SQL Performance Tuning and Optimization v26 chapter 1Oracle SQL Performance Tuning and Optimization v26 chapter 1
Oracle SQL Performance Tuning and Optimization v26 chapter 1
 
Oracle sql tuning
Oracle sql tuningOracle sql tuning
Oracle sql tuning
 
Lecture 5 1_mass_and_density
Lecture 5 1_mass_and_densityLecture 5 1_mass_and_density
Lecture 5 1_mass_and_density
 
Lecture 8 2_magnetic_force
Lecture 8 2_magnetic_forceLecture 8 2_magnetic_force
Lecture 8 2_magnetic_force
 

Semelhante 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
 
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
 

Semelhante a Using AWR/Statspack for Wait Analysis (20)

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

Último

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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
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
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Último (20)

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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
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
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

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/