如何查看oracle当前连接数,会话数

来源:互联网 发布:反恐精英ol刷枪软件 编辑:程序博客网 时间:2024/05/22 10:45

http://blog.csdn.net/miwucc/article/details/4563918

 

查看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

当前连接数:

select count(*) from v$process

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

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

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

原创粉丝点击