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: Subject: Batch load freezes every couple of minutes

Re: Subject: Batch load freezes every couple of minutes

From: Ranko Mosic <mosicr_at_rogers.com>
Date: Mon, 18 Apr 2005 21:42:41 -0400
Message-ID: <003301c54481$139acff0$54369c18@vv4xpaygpndtkd>


Isn't maxtrans of 255 ( default )sufficient ?

>Instance runs 20 parallel load processes

You might be encountering enqueue waits. Typically INITRANS=1 for tables & 2 for indexes (YMMV). Unless & until the session holding the Interested Transaction Lock releases it, other sessions will quietly get into line waiting for it to be released. This is NOT a deadlock & won't be reported as one.

HTH & HAND! On 4/17/05, ryan_gaffuri_at_comcast.net <ryan_gaffuri_at_comcast.net> wrote:
> Please provide your definition of 'hang'? To see if your processes are
still running look in v$sess_io, if the values there are incrementing, then processing is still going on.
> you need to find out what the processes are doing at the point that they
are freezing? Best way is to get a 10046 trace of one of the processes dumped to a file. Another alternative is to use statspack of before the 'hang' and then another snapshot afterward and look at what sql is processing.
>
> you mentioned that the times that you have problems are when you have lock
waits. you could have 1 process doing something for a long time and aquiring a lock on a row. the rest of the processes require that row and have to wait for a commit or rollback.
>
> the v$ tables(other than a quick look at v$sess_io) probably won't be
helpful here. you need to know exactly what is going on when this occurs.
>
> --
> http://www.freelists.org/webpage/oracle-l
>

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Apr 18 2005 - 21:42:21 CDT

Original text of this message

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