SlideShare ist ein Scribd-Unternehmen logo
1 von 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.

Weitere ähnliche Inhalte

Was ist angesagt?

Chasing the optimizer
Chasing the optimizerChasing the optimizer
Chasing the optimizerMauro Pagano
 
UKOUG, Oracle Transaction Locks
UKOUG, Oracle Transaction LocksUKOUG, Oracle Transaction Locks
UKOUG, Oracle Transaction LocksKyle Hailey
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsCarlos Sierra
 
Direct SGA access without SQL
Direct SGA access without SQLDirect SGA access without SQL
Direct SGA access without SQLKyle Hailey
 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceAnil Nair
 
Tanel Poder - Scripts and Tools short
Tanel Poder - Scripts and Tools shortTanel Poder - Scripts and Tools short
Tanel Poder - Scripts and Tools shortTanel Poder
 
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
 
Explain the explain_plan
Explain the explain_planExplain the explain_plan
Explain the explain_planMaria Colgan
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsZohar Elkayam
 
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022Sandesh Rao
 
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 1
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 1Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 1
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 1Tanel Poder
 
Whitepaper: Mining the AWR repository for Capacity Planning and Visualization
Whitepaper: Mining the AWR repository for Capacity Planning and VisualizationWhitepaper: Mining the AWR repository for Capacity Planning and Visualization
Whitepaper: Mining the AWR repository for Capacity Planning and VisualizationKristofferson A
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsEnkitec
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Aaron Shilo
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONMarkus Michalewicz
 
AWR Ambiguity: Performance reasoning when the numbers don't add up
AWR Ambiguity: Performance reasoning when the numbers don't add upAWR Ambiguity: Performance reasoning when the numbers don't add up
AWR Ambiguity: Performance reasoning when the numbers don't add upJohn Beresniewicz
 

Was ist angesagt? (20)

AWR reports-Measuring CPU
AWR reports-Measuring CPUAWR reports-Measuring CPU
AWR reports-Measuring CPU
 
Chasing the optimizer
Chasing the optimizerChasing the optimizer
Chasing the optimizer
 
UKOUG, Oracle Transaction Locks
UKOUG, Oracle Transaction LocksUKOUG, Oracle Transaction Locks
UKOUG, Oracle Transaction Locks
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
Ash and awr deep dive hotsos
Ash and awr deep dive hotsosAsh and awr deep dive hotsos
Ash and awr deep dive hotsos
 
Oracle ASM Training
Oracle ASM TrainingOracle ASM Training
Oracle ASM Training
 
Direct SGA access without SQL
Direct SGA access without SQLDirect SGA access without SQL
Direct SGA access without SQL
 
New Generation Oracle RAC Performance
New Generation Oracle RAC PerformanceNew Generation Oracle RAC Performance
New Generation Oracle RAC Performance
 
Tanel Poder - Scripts and Tools short
Tanel Poder - Scripts and Tools shortTanel Poder - Scripts and Tools short
Tanel Poder - Scripts and Tools short
 
Using AWR for IO Subsystem Analysis
Using AWR for IO Subsystem AnalysisUsing AWR for IO Subsystem Analysis
Using AWR for IO Subsystem Analysis
 
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
 
Explain the explain_plan
Explain the explain_planExplain the explain_plan
Explain the explain_plan
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
 
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022Analysis of Database Issues using AHF and Machine Learning v2 -  AOUG2022
Analysis of Database Issues using AHF and Machine Learning v2 - AOUG2022
 
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 1
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 1Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 1
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 1
 
Whitepaper: Mining the AWR repository for Capacity Planning and Visualization
Whitepaper: Mining the AWR repository for Capacity Planning and VisualizationWhitepaper: Mining the AWR repository for Capacity Planning and Visualization
Whitepaper: Mining the AWR repository for Capacity Planning and Visualization
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
AWR Ambiguity: Performance reasoning when the numbers don't add up
AWR Ambiguity: Performance reasoning when the numbers don't add upAWR Ambiguity: Performance reasoning when the numbers don't add up
AWR Ambiguity: Performance reasoning when the numbers don't add up
 

Andere mochten auch

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

Andere mochten auch (20)

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

Ähnlich wie 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
 
Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014John Beresniewicz
 

Ähnlich wie Using AWR/Statspack for Wait Analysis (20)

Awrrpt 1 3004_3005
Awrrpt 1 3004_3005Awrrpt 1 3004_3005
Awrrpt 1 3004_3005
 
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
 
Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014
 
ceph-barcelona-v-1.2
ceph-barcelona-v-1.2ceph-barcelona-v-1.2
ceph-barcelona-v-1.2
 

Kürzlich hochgeladen

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
🐬 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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
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
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
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
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
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
 

Kürzlich hochgeladen (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
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
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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
 

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/