Connected-Users
Oracle sessions sorted by logon time Track idle time for user sessions to uncover potential resource leaks, optimize database performance, and maintain security best practices. SQL Code 1et lines 100 pages 999 2select username 3, floor(last_call_et / 60) "Minutes" 4, status 5from v$session 6where username is not null …
Read MoreDisplay all Oracle users by the time since last user activity Identify idle user sessions and their inactive duration for resource optimization, performance tuning, and security best practices. SQL Code 1set lines 100 pages 999 2select username 3, floor(last_call_et / 60) "Minutes" 4, status 5from v$session 6where …
Read MoreShow all the Oracle users connected to the database Purpose A user calls and says the application has been slow since lunch. You need to know who is connected to the database right now, which sessions are working, and which ones are only holding a connection open. A short query against V$SESSION answers all three …
Read More