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

查看oracle当前连接数

2013-03-21 17:03 288 查看
查看oracle当前连接数
怎样查看oracle当前的连接数呢?只需要用下面的SQL语句查询一下就可以了。

select * from v$session where username is not null

select username,count(username) from v$session where username is not null group by username #查看不同用户的连接数

select count(*) from v$session #连接数

Select count(*) from v$session where status='ACTIVE' #并发连接数

show parameter processes #最大连接

alter system set processes = value scope = spfile;重启数据库 #修改连接
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: