查目前各 user 的 session 數

2013-06-26 17:02

select nvl(username,0),count(*) from v$session group by username order by count(*);