Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: inactive connection

Re: inactive connection

From: damorgan <damorgan_at_exesolutions.com>
Date: Fri, 06 Dec 2002 22:32:37 GMT
Message-ID: <3DF12582.811BA16A@exesolutions.com>


Darksheep's Revenge wrote:

> I have a small visualbasic application that work on a DB on Oracle 7.
> When a user shutdown the pc while this application is running without
> closing this application before, the connection with the Oracle instance
> remain inactive, but present (they are present in Istance Manager) .
> In a few time, the number of these "inactive" connection increasly, and
> locks other user to access to the DB Instance .
> There is a batch that help me to monitor and close these connections ?
> Tnx in advance

You can monitor connections by selecting from v_$session.

But a far better approach is to alter the default profile, or create a custom profile that logs users off automatically after a specific period of inactivity.

Daniel Morgan Received on Fri Dec 06 2002 - 16:32:37 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US