AWR之对磁盘IO的诊断

     数据库性能的问题,有可能是磁盘IO的性能有瓶颈,需要结合几个参数看。

Host NamePlatformCPUsCoresSocketsMemory (GB)
ggAIX-Based Systems (64-bit)84 61.75

 Snap IdSnap TimeSessionsCursors/Session
Begin Snap:1816826-Apr-13 08:00:50894.0
End Snap:1816926-Apr-13 08:20:58904.4
Elapsed: 20.14 (mins)  
DB Time: 672.73 (mins)  

EventWaitsTime(s)Avg wait (ms)% DB timeWait Class
log file sync173,76217,76510244.01Commit
db file scattered read176,0205,5993213.87User I/O
db file sequential read158,3393,545228.78User I/O
DB CPU 2,386 5.91 
db file parallel read4,565172380.43User I/O

StatisticTotalper Secondper Trans

physical read total IO requests354,391293.212.05

physical write total IO requests125,140103.540.73

TablespaceFilenameReadsAv Reads/sAv Rd(ms)Av Blks/RdWritesAv Writes/sBuffer WaitsAv Buf Wt(ms)
SYSAUX/space/rdb/db_sys/tbs_rdb_sysaux_f01.dbf3,473332.651.36941100.00
SYSTEM/space/rdb/db_sys/tbs_rdb_system_f01.dbf4,454428.143.6963000.00
SYSTEM/space/rdb/db_sys/tbs_rdb_system_f02.dbf266030.158.522000.00

      物理IO 读写的响应时间都不好, 每秒的 IOPS=293.21  +103 不到400 的IOPS下 就达到30ms的响应速度,可见 IO 存储非常差。就per transaction看 它的Io特点有所变化,  IO的度量 至少分成IOPS、吞吐量和响应时间三个维度来分析,平均单次IO 若大于20ms  即可认为 IO较差。

 

   再看一份报告,IO已经差到了极点,还有一个原因,rman备份和数据库放在一个磁盘上。      

EventWaitsTime(s)Avg Wait(ms)% Total Call TimeWait Class
log file sync192,15618,7439846.9Commit
RMAN backup & recovery I/O7,0777,9151,11819.8System I/O
db file sequential read40,5577,42418318.6User I/O
read by other session15,3067,02545917.6User I/O
SQL*Net more data to client37,8192,595696.5Network

TablespaceFilenameReadsAv Reads/sAv Rd(ms)Av Blks/RdWritesAv Writes/sBuffer WaitsAv Buf Wt(ms)
EXAMPLE/oradata/example01.dbf25701752.6163.751000.00
GG/oradata/hyscdb/fwms08.dbf24,4803157.291.091,249013,931485.40
GG/oradata/hyscdb/fwms_01.dbf1,63302072.721.32450127543.31
GG/oradata/hyscdb/fwms_02.dbf2,2740755.551.2312021194.76
GG/oradata/hyscdb/fwms_03.dbf1,6910197.971.18907637.14
GG/oradata/hyscdb/fwms_04.dbf1,52702328.811.181102830.00
GG/oradata/hyscdb/fwms_05.dbf2,2280785.391.296000.00
GG/oradata/hyscdb/fwms_06.dbf6,90011803.5147.5918000.00
GG/oradata/hyscdb/fwms_09.dbf32,1354667.4741.157601,253315.80
GG/oradata/hyscdb/fwms_10.dbf25,35741126.3763.7127000.00
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值