library cache oracle,大量的library cache:mutex X

11.2.0.3.0  RAC=Yes         Microsoft Windows x86 64-bit  22.32 (mins)

Top 5 wait event

Event        Waits        Time(s)        Avg wait (ms)        % DB time        Wait Class

latch: row cache objects        1,679        49,760        29636        68.71        Concurrency

library cache: mutex X        1,474        3,281        2226        4.53        Concurrency

latch: shared pool        5,031        2,642        525        3.65        Concurrency

DB CPU                 1,051                 1.45

cursor: pin S wait on X        23        503        21883        0.69        Concurrency

Parses:        36.7        28.3

Hard parses:        2.0        1.5           ==> 硬解析并不多

Statistic Name        Time (s)        % of DB Time

connection management call elapsed time        15,532.90        21.45

parse time elapsed        9,567.86        13.21

hard parse elapsed time        5,583.33        7.71

connection management call  连接和  parse time  解析 消耗了主要的DB TIME,可能发生了hang

latch: row cache objects

row cache objects        kqreqd: reget        0        593        16

row cache objects        kqreqd        0        109        26

row cache objects        kqrpre: find obj        0        84        791

library cache: mutex X

Library Cache        kglhdgn2 106        229,842        0

Library Cache        kgllkdl1 85        79,591        0

shared pool        8,192.00        8,192.00        7,808.00        8,320.00        0        GRO/DEF

shared        KGLH0        1,507.44        1,387.50        -7.96

shared        KGLHD        225.81        209.78        -7.10

shared        SQLA        4,208.33        3,671.65        -12.75

shared        free memory        1,348.55        2,026.77        50.29

shared pool  的free memory 从 1,348 上升到 2026MB ,其中SQLA和 KGLHD (kgl handle)、KGLH0 (kgl heap 0) 使用量发生过下降

是否有人在这段时间中 flush 过shared POOL?

memory_target        22548578304

shared pool =8g

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值