[OracleScript]checklatch-成都创新互联网站建设

关于创新互联

多方位宣传企业产品与服务 突出企业形象

公司简介 公司的服务 荣誉资质 新闻动态 联系我们

[OracleScript]checklatch

select l.latch# latch,l.name, nvl(c.latches, 0) children, l.gets, l.misses, l.gets-l.misses "Simple Gets",
       round((l.gets-l.misses) / l.gets,4)*100 "Simple Gets Ratio(%)",
       l.spin_gets, round(l.spin_gets / l.gets,4)*100 "Spin Gets Ratio(%)",
       l.sleeps "Sleep Get", round(l.sleeps / l.gets,4)*100 "Sleep Gets Ratio(%)",
       l.immediate_gets,
       l.immediate_misses,
       to_char(sysdate, 'yyyy/mm/dd hh34:mi:ss') currTime
  from v$latch l,
       (SELECT latch#, count(*) latches
          FROM v$latch_children c
         GROUP BY latch#) c
 where l.latch# = c.latch#(+)
   AND l.gets > 0
 ORDER BY latch;

网站标题:[OracleScript]checklatch
URL网址:http://kswsj.cn/article/jdhdco.html

其他资讯