What\'s the best way, using SQL, to check the maximum number of connections that is allowed for an Oracle database? In the end, I would like to show the current number of se
select count(*),sum(decode(status, 'ACTIVE',1,0)) from v$session where type= 'USER'