Using AWR/Statspack for Wait Analysis
-
Upload
texas-memory-systems-and-ibm-company -
Category
Technology
-
view
8.454 -
download
1
description
Transcript of Using AWR/Statspack for Wait Analysis
![Page 1: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/1.jpg)
Using AWR For Wait Analysis
Mike Ault, Oracle GuruMarch 2011
The World’s Fastest Storage® for over thirty years!
![Page 2: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/2.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
Michael R. Ault, Oracle Guru- Nuclear Navy 6 years- 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
![Page 3: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/3.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
Books by Michael R. Ault
![Page 4: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/4.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
Free Statspack/AWR Analysis
Sponsored by Texas Memory Systems
- Looks for IO bottlenecks and other configuration issues.
- Straightforward tuning advice
StatspackAnalyzer.com
![Page 5: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/5.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
Introduction
• Statspack was introduced in 8.1.7• AWR came out in Oracle10g• Both are very similar• Both provide a top-down look at performance
statistics
![Page 6: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/6.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 7: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/7.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
Preparation for Analysis
• Know your systems normal performance fingerprint
• Be familiar with Concepts and Tuning Guides• Have “normal” AWR/Statspacks for
comparison
![Page 8: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/8.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
Top-Down Approach
• Report starts with settings overview• Next provides Top-5 waits• Use the Waits to guide further investigation
![Page 9: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/9.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
AWR Report Header
WORKLOAD REPOSITORY report forDB Name DB Id Instance Inst Num Startup Time Release RAC------------ ----------- ------------ -------- --------------- ----------- ---AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YESHost 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
![Page 10: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/10.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
AWR Report Header
WORKLOAD REPOSITORY report forDB Name DB Id Instance Inst Num Startup Time Release RAC------------ ----------- ------------ -------- --------------- ----------- ---AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YESHost 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
![Page 11: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/11.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
AWR Report Header
WORKLOAD REPOSITORY report forDB Name DB Id Instance Inst Num Startup Time Release RAC------------ ----------- ------------ -------- --------------- ----------- ---AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YESHost 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
![Page 12: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/12.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
AWR Report Header
WORKLOAD REPOSITORY report forDB Name DB Id Instance Inst Num Startup Time Release RAC------------ ----------- ------------ -------- --------------- ----------- ---AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YESHost 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
![Page 13: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/13.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
AWR Report Header
WORKLOAD REPOSITORY report forDB Name DB Id Instance Inst Num Startup Time Release RAC------------ ----------- ------------ -------- --------------- ----------- ---AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YESHost 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
![Page 14: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/14.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
AWR Report Header
WORKLOAD REPOSITORY report forDB Name DB Id Instance Inst Num Startup Time Release RAC------------ ----------- ------------ -------- --------------- ----------- ---AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YESHost 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
![Page 15: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/15.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
AWR Report Header
WORKLOAD REPOSITORY report forDB Name DB Id Instance Inst Num Startup Time Release RAC------------ ----------- ------------ -------- --------------- ----------- ---AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YESHost 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
![Page 16: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/16.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
AWR Report Header
WORKLOAD REPOSITORY report forDB Name DB Id Instance Inst Num Startup Time Release RAC------------ ----------- ------------ -------- --------------- ----------- ---AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YESHost 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
![Page 17: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/17.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
AWR Report Header
WORKLOAD REPOSITORY report forDB Name DB Id Instance Inst Num Startup Time Release RAC------------ ----------- ------------ -------- --------------- ----------- ---AULTDB 4030696936 aultdb1 1 04-Aug-08 10:16 11.1.0.6.0 YESHost 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
![Page 18: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/18.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 19: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/19.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.1W/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
![Page 20: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/20.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.1W/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
![Page 21: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/21.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.1W/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
![Page 22: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/22.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.1W/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
![Page 23: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/23.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.1W/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
![Page 24: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/24.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.1W/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
![Page 25: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/25.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.1W/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
![Page 26: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/26.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.1W/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
![Page 27: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/27.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 28: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/28.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.95Parse CPU to Parse Elapsd %: 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
![Page 29: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/29.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.95Parse CPU to Parse Elapsd %: 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
![Page 30: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/30.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.95Parse CPU to Parse Elapsd %: 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
![Page 31: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/31.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.95Parse CPU to Parse Elapsd %: 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
![Page 32: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/32.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.95Parse CPU to Parse Elapsd %: 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
![Page 33: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/33.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.95Parse CPU to Parse Elapsd %: 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
![Page 34: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/34.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.95Parse CPU to Parse Elapsd %: 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
![Page 35: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/35.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.95Parse CPU to Parse Elapsd %: 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
![Page 36: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/36.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.95Parse CPU to Parse Elapsd %: 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
![Page 37: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/37.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.95Parse CPU to Parse Elapsd %: 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
![Page 38: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/38.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.95Parse CPU to Parse Elapsd %: 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
![Page 39: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/39.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.95Parse CPU to Parse Elapsd %: 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
![Page 40: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/40.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.95Parse CPU to Parse Elapsd %: 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
![Page 41: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/41.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 42: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/42.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
Top 5 Waits Section
Top 5 Timed Foreground Events~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg wait % DBEvent Waits Time(s) (ms) time Wait Class------------------------------ ------------ ----------- ------ ------ ----------db file sequential read 465,020 3,969 9 47.4 User I/ODB CPU 995 11.9db file parallel read 2,251 322 143 3.8 User I/Odb file scattered read 15,268 153 10 1.8 User I/Ogc current block 2-way 108,739 116 1 1.4 Cluster
![Page 43: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/43.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
Top 5 Waits Section
Top 5 Timed Foreground Events~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg wait % DBEvent Waits Time(s) (ms) time Wait Class------------------------------ ------------ ----------- ------ ------ ----------db file sequential read 465,020 3,969 9 47.4 User I/ODB CPU 995 11.9db file parallel read 2,251 322 143 3.8 User I/Odb file scattered read 15,268 153 10 1.8 User I/Ogc current block 2-way 108,739 116 1 1.4 Cluster
![Page 44: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/44.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
Top 5 Waits Section
Top 5 Timed Foreground Events~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg wait % DBEvent Waits Time(s) (ms) time Wait Class------------------------------ ------------ ----------- ------ ------ ----------db file sequential read 465,020 3,969 9 47.4 User I/ODB CPU 995 11.9db file parallel read 2,251 322 143 3.8 User I/Odb file scattered read 15,268 153 10 1.8 User I/Ogc current block 2-way 108,739 116 1 1.4 Cluster
![Page 45: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/45.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
Top 5 Waits Section
Top 5 Timed Foreground Events~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg wait % DBEvent Waits Time(s) (ms) time Wait Class------------------------------ ------------ ----------- ------ ------ ----------db file sequential read 465,020 3,969 9 47.4 User I/ODB CPU 995 11.9db file parallel read 2,251 322 143 3.8 User I/Odb file scattered read 15,268 153 10 1.8 User I/Ogc current block 2-way 108,739 116 1 1.4 Cluster
![Page 46: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/46.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
Top 5 Waits Section
Top 5 Timed Foreground Events~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg wait % DBEvent Waits Time(s) (ms) time Wait Class------------------------------ ------------ ----------- ------ ------ ----------db file sequential read 465,020 3,969 9 47.4 User I/ODB CPU 995 11.9db file parallel read 2,251 322 143 3.8 User I/Odb file scattered read 15,268 153 10 1.8 User I/Ogc current block 2-way 108,739 116 1 1.4 Cluster
![Page 47: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/47.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
Top 5 Waits Section
Top 5 Timed Foreground Events~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Avg wait % DBEvent Waits Time(s) (ms) time Wait Class------------------------------ ------------ ----------- ------ ------ ----------db file sequential read 465,020 3,969 9 47.4 User I/ODB CPU 995 11.9db file parallel read 2,251 322 143 3.8 User I/Odb file scattered read 15,268 153 10 1.8 User I/Ogc current block 2-way 108,739 116 1 1.4 Cluster
![Page 48: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/48.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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)
![Page 49: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/49.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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)
![Page 50: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/50.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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)
![Page 51: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/51.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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)
![Page 52: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/52.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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)
![Page 53: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/53.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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)
![Page 54: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/54.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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)
![Page 55: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/55.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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)
![Page 56: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/56.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 57: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/57.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 58: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/58.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 59: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/59.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 60: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/60.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 61: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/61.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 62: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/62.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 63: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/63.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 64: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/64.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 65: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/65.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 66: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/66.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
GC Events
• gc cr multi block request – Full table or index scans• gc current multi block request – Full table or index scans• gc cr block 2-way – Blocks are busy in another instance, check for block level contention or hot
blocks• gc cr block 3-way – Blocks are busy in another instance, check for block level contention or hot
blocks• gc cr block busy – Blocks are busy in another instance, check for block level contention or hot
blocks• gc cr block congested – cr block congestion, check for hot blocks or busy interconnect• gc cr 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
![Page 67: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/67.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
GC Events
• gc cr multi block request – Full table or index scans• gc current multi block request – Full table or index scans• gc cr block 2-way – Blocks are busy in another instance, check for block level contention or hot
blocks• gc cr block 3-way – Blocks are busy in another instance, check for block level contention or hot
blocks• gc cr block busy – Blocks are busy in another instance, check for block level contention or hot
blocks• gc cr block congested – cr block congestion, check for hot blocks or busy interconnect• gc cr 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
![Page 68: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/68.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
GC Events
• gc cr multi block request – Full table or index scans• gc current multi block request – Full table or index scans• gc cr block 2-way – Blocks are busy in another instance, check for block level contention or hot
blocks• gc cr block 3-way – Blocks are busy in another instance, check for block level contention or hot
blocks• gc cr block busy – Blocks are busy in another instance, check for block level contention or hot
blocks• gc cr block congested – cr block congestion, check for hot blocks or busy interconnect• gc cr 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
![Page 69: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/69.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.
![Page 70: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/70.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.
![Page 71: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/71.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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.
![Page 72: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/72.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
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
![Page 73: Using AWR/Statspack for Wait Analysis](https://reader033.fdocuments.us/reader033/viewer/2022051108/546f8eebaf7959c20a8b45c2/html5/thumbnails/73.jpg)
The World’s Fastest Storage®Texas Memory Systems, Inc.
Thank You!Mike Ault
[email protected] http://www.statspackanalyzer.com/