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: Limit I/O per session

Re: Limit I/O per session

From: Howard J. Rogers <hjr_at_dizwell.com>
Date: Wed, 24 Mar 2004 22:10:28 +1100
Message-ID: <40616caf$0$3953$afc38c87@news.optusnet.com.au>

"pz" <pz_at_xx.interia.pl> wrote in message news:c3rmjp$25bf$1_at_news2.ipartners.pl...
> Hi again,
>
> when I use RESOURCE_LIMIT and my session exceeded limit (ie
> LOGICAL_READS_PER_CALL) session is killed.
> My session have to read a lot of data. My intention is stop execution
> query for some time and execute other query (with high prority)
>
> Paul

There's no feature that quite does that, but there is resource manager. Frankly, profiles are a bit old hat these days, and they really ought to be consigned to the backlot. Resource manager won't kill your session, but it will throttle it back so that it takes a lower priority to other jobs being executed by people who need a scarce resource (CPU, for example) more than you do.

It's all done through dbms_resource_manager, or the GUI in Enterprise Manager.

Things you can limit/throttle back are (you did say you had 9i, didn't you?): CPU usage, estimated execution time, amount of undo generated, degree of parallelism permitted. There's also the ability to bump you down to a lower-priority group if your job has run for (or threatens to run for) longer than a specified amount of time.

Quite flexible, very useful (much more so than in 8i, anyway), and probably not exactly what you're looking for, but as close as you're going to get.

Regards
HJR Received on Wed Mar 24 2004 - 05:10:28 CST

Original text of this message

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