Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> input on statspack report
I'm trying to get a grasp on something here. We are seeing a high I/O
wait using vmstat on our AIX5L server. It is connected to an IBM shark
with two fibre channel cards. I look at the statspack and there are
high Average read times, and the documentation on statspack says if
you have anything over 20ms Average read times we might need to
redistribute the datafiles. However, I'm trying to correalate high
average read times to certain vpaths/luns using NMON, and I really do
not see any. I want to post a few snippets of the statspack snaps and
see what you guys think. I do see some buffer busy waits, I know how
to resolve these, however, are those going to cause high I/O waits?
Here is a snippet of a vmstat
$ vmstat 2 10
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------r b avm fre re pi po fr sr cy in sy cs us sy id wa 1 1 1062374 481 0 0 0 298 713 0 4417 12921 6436 8 4 72 16
Here are a few snippets of the statspack.
Cache Sizes
db_block_buffers: 61035 log_buffer: 1048576
db_block_size: 8192 shared_pool_size: 475000000
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction --------------- --------------- Redo size: 201,595.63 16,468.40 Logical reads: 16,644.18 1,359.67 Block changes: 680.04 55.55 Physical reads: 824.76 67.38 Physical writes: 61.14 4.99 User calls: 1,398.30 114.23 Parses: 192.81 15.75 Hard parses: 0.09 0.01 Sorts: 37.32 3.05 Logons: 0.98 0.08 Executes: 716.89 58.56 Transactions: 12.24
% Blocks changed per Read: 4.09 Recursive Call %: 5.49
Rollback per transaction %: 2.50 Rows per Sort: 68.12
Instance Efficiency Percentages (Target 100%)
Buffer Nowait %: 99.91 Redo NoWait %: 100.00 Buffer Hit %: 95.04 In-memory Sort %: 99.98 Library Hit %: 99.96 Soft Parse %: 99.95 Execute to Parse %: 73.10 Latch Hit %: 99.93 Parse CPU to Parse Elapsd %: 87.05 % Non-Parse CPU: 98.28 Shared Pool Statistics Begin End ------ ------ Memory Usage %: 49.58 76.90% SQL with executions>1: 57.12 63.39
Top 5 Wait Events
~~~~~~~~~~~~~~~~~ Wait % Total Event Waits Time (cs)Wt Time
-------------------------------------------- ------------ ------------ ------- db file sequential read 49,541,904 8,414,230 89.74 db file scattered read 1,248,946 287,366 3.06 buffer busy waits 1,185,869 275,561 2.94 log file sync 958,900 91,690 .98 log file sequential read 259,712 78,650 .84 ------------------------------------------------------------- Here are the datafiles I have in question about the High read times. Tablespace Filename ------------------------ ---------------------------------------------------- Av Av Av Av Buffer Av Buf Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s WaitsWt(ms)
D_CN_OMF /dev/rprod_0016_126 146 0 108.0 1.0 39 0 0 D_CPO /dev/rprod_0016_023 40 0 333.5 1.0 40 0 0 D_DISCERN /dev/rprod_0256_013 120 0 137.3 1.0 40 0 0
Now, could it be the reason these have high read times is because it is on a SAN and these particular files have not been read into the CACHE? Mike Received on Tue Jan 27 2004 - 10:20:07 CST