1. 程式人生 > >檢視ORACLE連結數

檢視ORACLE連結數

  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' #併發連線數