您的位置:首页 > 其它

等待事件:enq: SQ - contention

2017-08-31 16:22 911 查看
Top 10 Foreground Events by Total Wait Time

EventWaitsTotal Wait Time (sec)Wait Avg(ms)% DB timeWait Class
enq: SQ - contention25987.7K33854823.3Configuration
buffer busy waits6,41369.9K1090018.6Concurrency
enq: HW - contention1,78063.5K3566916.9Configuration
DB CPU 11.7K 3.1 
gc buffer busy acquire15,4866112.93951.6Cluster
SQL*Net message from dblink12,255,7044795.801.3Network
db file scattered read771,8932263.73.6User I/O
gc current request31720.8573601.5Cluster
SQL*Net break/reset to client5,089,9611307.70.3Application
db file sequential read677,223928.91.2User I/O
enq: SQ - contention

在内存上缓存(cache)范围内,调用sequence.nextval期间拥有此锁,赋予了cache+noorder 属性的sequence上发生。

select to_char(SAMPLE_TIME,'YYYY-MM-DD HH24:MI'),event,count(1) 

from dba_hist_active_sess_history where snap_id between xxx and xx

and instance_number=1  and event='latch free'

group by to_char(SAMPLE_TIME,'YYYY-MM-DD HH24:MI'),event 

order by 1;

select to_char(SAMPLE_TIME,'YYYY-MM-DD HH24:MI') st ,sql_id,event,program,p1,p2,p3 

from dba_hist_active_sess_history 

where snap_id between xxx and xxxx and instance_number=1 and program like '%LCK%';
http://blog.csdn.net/lqx0405/article/details/46332283
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: