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 sessions in Oracle

Re: Inactive sessions in Oracle

From: sybrandb <sybrandb_at_gmail.com>
Date: 17 Aug 2006 01:17:26 -0700
Message-ID: <1155802646.778561.3050@b28g2000cwb.googlegroups.com>

aone1504_at_yahoo.com wrote:
> We have sessions created in Oracle database for user queries, that
> remain Inactive for long and sometimes they prevent further access to
> the database( we get error message from oracle on further access).
>
> Is it possible to access these sessions (and their attributes like,
> time when the session is created) from Unix Shell script, so that we
> can kill these sessions from O/S level, based on the duration of
> inactivity.
>
> Thanx.

yes, if you run a sql*plus script in the sh script.

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Thu Aug 17 2006 - 03:17:26 CDT

Original text of this message

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