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