oracle中查看当前连接数

SELECT username, machine, program, status, COUNT(machine) AS 连接数量

          FROM v$session

         where machine = 'CSIXA-4343'

         GROUP BY username, machine, program, status

         ORDER BY machine

SELECT username, machine, program, status, COUNT(machine) AS 连接数量

          FROM v$session

         GROUP BY username, machine, program, status

         ORDER BY machine

扫描二维码关注公众号,回复: 1419847 查看本文章

猜你喜欢

转载自wgllz.iteye.com/blog/1332216