最近我的一套rac 时候会出现大量的latch:library cache,latch: share pool 的等待时间 但是都是短暂的存在 马上就消失
在OEM中可以看到波峰,问开发人员 说也没有做什么调整
导出最近一周的AWR看 前10的 wait event如下。Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
db file sequential read 38,551,954 0.00 232,842 6 4.64
latch: library cache 603,369 0.01 96,554 160 0.07
db file scattered read 12,442,494 0.00 67,248 5 1.50
gc cr block 2-way 21,352,489 0.03 29,843 1 2.57
library cache lock 7,781,227 0.38 25,010 3 0.94
gc current block 2-way 18,424,094 0.02 23,133 1 2.22
gc buffer busy 740,940 2.73 20,143 27 0.09
enq: TX - row lock contention 47,725 69.67 16,984 356 0.01
gc cr block congested 17,919 64.75 16,779 936 0.00 谁能给点思路该如何调整?系统:AIX 6.0 、oracle 10G 、2 nodes RAC
SGA 2G
最近一段时间 连接session数有一定的增加
在OEM中可以看到波峰,问开发人员 说也没有做什么调整
导出最近一周的AWR看 前10的 wait event如下。Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
db file sequential read 38,551,954 0.00 232,842 6 4.64
latch: library cache 603,369 0.01 96,554 160 0.07
db file scattered read 12,442,494 0.00 67,248 5 1.50
gc cr block 2-way 21,352,489 0.03 29,843 1 2.57
library cache lock 7,781,227 0.38 25,010 3 0.94
gc current block 2-way 18,424,094 0.02 23,133 1 2.22
gc buffer busy 740,940 2.73 20,143 27 0.09
enq: TX - row lock contention 47,725 69.67 16,984 356 0.01
gc cr block congested 17,919 64.75 16,779 936 0.00 谁能给点思路该如何调整?系统:AIX 6.0 、oracle 10G 、2 nodes RAC
SGA 2G
最近一段时间 连接session数有一定的增加
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货