等待事件:enq: SQ - contention

Top 10 Foreground Events by Total Wait Time

    Event Waits Total Wait Time (sec) Wait Avg(ms) % DB time Wait Class
    enq: SQ - contention 259 87.7K 338548 23.3 Configuration
    buffer busy waits 6,413 69.9K 10900 18.6 Concurrency
    enq: HW - contention 1,780 63.5K 35669 16.9 Configuration
    DB CPU   11.7K   3.1  
    gc buffer busy acquire 15,486 6112.9 395 1.6 Cluster
    SQL*Net message from dblink 12,255,704 4795.8 0 1.3 Network
    db file scattered read 771,893 2263.7 3 .6 User I/O
    gc current request 3 1720.8 573601 .5 Cluster
    SQL*Net break/reset to client 5,089,961 1307.7 0 .3 Application
    db file sequential read 677,223 928.9 1 .2 User 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

    • 0
      点赞
    • 0
      收藏
      觉得还不错? 一键收藏
    • 0
      评论
    评论
    添加红包

    请填写红包祝福语或标题

    红包个数最小为10个

    红包金额最低5元

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

    抵扣说明:

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

    余额充值