deeejay

Oracle - View available and used database sessions

Jun 26th, 2014
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- The number of sessions the database was configured to allow
  2. SELECT name, VALUE
  3. FROM v$parameter
  4. WHERE name = 'sessions'
  5. ;
  6.  
  7. -- The number of sessions currently active
  8. SELECT COUNT(*)
  9. FROM v$session
  10. ;
  11.  
  12. -- Source: http://stackoverflow.com/questions/162255/how-to-check-the-maximum-number-of-allowed-connections-to-an-oracle-database
Advertisement