您的位置:首页 > 数据库 > Oracle

oracle当前连接数,会话数

2016-03-16 20:18 746 查看

 1.查看session:

  select * from v$session where username is not null

  select username,count(username) from v$session where username is not null group by username

 2.当前连接数:

select count(*) from v$process

 3.查看连接数参数的设置情况

  select value from v$parameter where name = 'processes'

  Select count(*) from v$session where status='ACTIVE' #并发连接数
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: