首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

oracle中查看目前连接数

2012-07-03 
oracle中查看当前连接数?SELECT username, machine, program, status, COUNT(machine) AS 连接数量? ? ? ?

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

热点排行