oracle 查看连接数/会话数

查询数据库当前进程的连接数:

select count(*) from v$process;

查看数据库当前会话的连接数:

select count(*) from v$session;

查看数据库的并发连接数:

select count(*) from v$session where status='ACTIVE';

查询数据库允许的最大连接数:

select value from v$parameter where name = 'processes';
原文地址:https://www.cnblogs.com/yx007/p/13177924.html