zoukankan      html  css  js  c++  java
  • oracle 共享服务器监控

    1、   观察sga的使用情况

    select * from v$sgastat where pool=’large pool’;

    2、   观察调度程序是否充足:

    首先看每个调度程序的忙闲:

    select name,(busy*100)/(busy+idle) from v$dispatcher,如果高于50%则应该增加调度程度的个数。

    然后观察整个对列中等待调度程序的等待时间:

    select decode(sum(totalq),0,'No response',sum(wait)/sum(totalq)) as "average wait time"

    from V$QUEUE q,v$dispatcher d

    where q.type='DISPATCHER'

      and q.paddr=d.paddr

    3、   确定是否有足够的共享服务器

    --select paddr,type,queued,wait,totalq,decode(totalq,0,0,(wait/totalq)) "AVG WAIT" from v$queue;

    select decode(wait,0,'No Request',totalq)"Wait Time",round(Wait/totalq,4) ||' hundredths of seconds' from v$queue WHERE type='COMMON'

  • 相关阅读:
    SQL高级应用
    li元素之间产生间隔
    js array
    js高阶函数汇总
    git学习记录
    static和assets的区别
    router-link
    vue 创建项目 create和init
    vue的store状态管理模式
    vue中的各种属性
  • 原文地址:https://www.cnblogs.com/fanweisheng/p/11113463.html
Copyright © 2011-2022 走看看