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: Size of rollback segments for a single transaction

Re: Size of rollback segments for a single transaction

From: Nuno Souto <nsouto_at_acay.com.au>
Date: 1998/03/15
Message-ID: <350B3414.2BC4D16B@acay.com.au>#1/1

Olivier wrote:

> I am updating every row of a single column in a table containing many rows
> and many columns. What is the minimal size of the rollback segment for that
> transaction ? Will the rollback segment have to store all data contained in
> the table or just the values actually changed by the transaction?
>
> Thanks Olivier.

All data stored on table. Rollbacks store db blocks, not rows. Also, if that column happens to be part of an index, you also need space for the index blocks that get changed. If this is a problem, try to do it in portions, ie, first n-thousand rows, commit, next n-thousand rows, etc. Re-open the cursor after every commit or the data will still be in the rollback segment.

HTH
Cheers
Nuno Souto
nsouto_at_acay.com.au Received on Sun Mar 15 1998 - 00:00:00 CST

Original text of this message

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