How to Determine How Long Each Connection Has Been Idle

(Doc ID 365693.1)

Last updated on SEPTEMBER 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 8.1.7.0 to 10.2.0.5 [Release 8.1.7 to 10.2]
Information in this document applies to any platform.
Information in this document applies to any platform.

Goal

In 24x7 systems that have numerous applications that  connect to the database  for long periods of time (weeks),  the following question occurs:  how to determine how long each of the numerous idle connections has been idle?  
Answering this  question would allow the DBA  to clean up the database for easier monitoring  and freeing up unnecessarily held resources.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms