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: Database time out utility

Re: Database time out utility

From: Howard J. Rogers <dba_at_hjrdba.com>
Date: Wed, 13 Feb 2002 14:35:56 +1100
Message-ID: <3c69df29$0$24590$afc38c87@news.optusnet.com.au>


No need for a utility. You can create resource profiles (and have been able to do so at least since Oracle 7).

Create profile bootofflazyuser limit
idle time 60;

Alter user scott profile bootofflazyuser;

You need, however, to set the init.ora parameter RESOURCE_LIMIT to be TRUE. (Though, at least in 8i, that parameter can be set dynamically with the 'alter system' command).

After that, Scott will be summarily disconnected from the database whenever his server process has been sat there doing nothing for an hour.

Alternatively, investigate the use of Multithreaded Server configuration.... that way, an idle server process simply whizzes back to the submitted jobs queue, and starts working on behalf of someone else. An excellent way of keeping processes busy, regardless of what your users are doing.

Regards
HJR "Revelant" <revoo_at_attbi.com> wrote in message news:3tja8.39888$fK1.4090930_at_rwcrnsc54...
> I am trying to find a utility to find out who has a port open to the
> database and has not done anything in it for say an hour or more. After
what
> ever amount of time, I can have the program disconnect them from the
> database to free up the license. Is there any such utility that someone
can
> point me too?
> Thanks in advance
>
>
Received on Tue Feb 12 2002 - 21:35:56 CST

Original text of this message

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