土拨鼠tc

导航

查询oracle连接数 对应的 应用程序

 select  b.MACHINE, b.PROGRAM , count(*) from v$process a, v$session b where a.ADDR = b.PADDR and  b.USERNAME is not null   group by  b.MACHINE  , b.PROGRAM order by count(*) desc;      

posted on 2016-11-14 19:10  土拨鼠tc  阅读(224)  评论(0编辑  收藏  举报