oracle查看连接数的SQL语句

网络整理 - 07-27

select * from v$session where username is not null;

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