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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Long Update Transaction

Re: Long Update Transaction

From: Matthias Gresz <GreMa_at_t-online.de>
Date: 1997/06/30
Message-ID: <5p8cfo$2vh$2@news02.btx.dtag.de>#1/1

Lisa M. Lewis wrote:
>
> Help!
>
> Background:
> I am using Oracle Workgroup server on an NT machine. I have a 200 mhz
> Pentium Pro with 128 megs of memory. I am doing an update to all the
> rows in a User table (2.1 million records). The size of the table is
> approx 80 megs. The db is not in archive log mode. I am doing an
> update for every user in the database modifying a particular field using
> the SUBSTR function.
>
> My query has been running for the last 3.5 hours. I don't have a clue
> as to why it is taking so long. I am not an expert so I don't have a
> feel for how long it should take. I used the 'SET TRANSACTION USE
> ROLLBACK SEGMENT' command to ensure that this transaction uses a very
> large rollback segment ( 500M ). This is the only transaction that is
> running against the database. The rollback segment that I assigned does
> not use the OPTIMAL setting ( I heard that this could be very bad in
> some cases ).
>
> Can anyone out there give me any insight as to why the query might be
> taking so long and if this is a normal amount of time due to the number
> of records that are being updated. Also, I might add that the field
> that is being updated is the primary key -- maybe this is very bad, I
> really don't know. Any insight/experiences would be greatly
> appreciated.
>
> P.S. I checked for extents on the rollback_segment and there are
> currently 14. I don't know if the extents are a result of this query or
> not?
>
> Thanks a million!
>
> Lisa

 What does the alert log say?

-- 
M.Greß    :-)
Received on Mon Jun 30 1997 - 00:00:00 CDT

Original text of this message

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