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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: "Throttling" a session's IO

RE: "Throttling" a session's IO

From: Tanel Poder <tanel.poder.003_at_mail.ee>
Date: Wed, 04 Apr 2007 00:02:20 +0800
Message-id: <030e01c77609$75fee210$6701a8c0@windows01>


Hemant,

> How do you control a session's IO rate ?

Create a pipe instead of the while which would be created if you enabled tracing.
Then enable 10046 trace with waits in your session and start the job.

Then start a script which periodically reads bunch of rows from tracefile pipe and just discards them.
This script should keep the file descriptor open, you need to use perl or compiled code for it as a plain shell read loop would probably be too slow.

This means more CPU usage, but you can throttle the physical IO with short sleeps between pipe reads...

Tanel.

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Apr 03 2007 - 11:02:20 CDT

Original text of this message

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