码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2016-11-14 20:11:00      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:machine   process   desc   null   查询   where   use   mac   div   

 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;      

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

标签:machine   process   desc   null   查询   where   use   mac   div   

原文地址:http://www.cnblogs.com/hewenhaotc/p/6063024.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!