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: Defining rollback segment for a transaction

Re: Defining rollback segment for a transaction

From: Sarah Sikes <sikes_at_erols.com>
Date: 1998/02/08
Message-ID: <34dd428f.49407203@news.erols.com>#1/1

"Tam Wing Fatt, Chiyuki Takahashi" <wftam_at_mbox4.singnet.com.sg> wrote:

<SNIP>

>I have tried inserting some activities between defining the specific
>rollback segment and the actual transaction ... and found that the
>transaction end up NOT using the specified rollback segment.
>
>Eg.
> set transaction ...... myRBS
> spool ...
> delete * from ....

<SNIP>

>I've tried not specifying the "spool" inbetween and the transaction ended
>successfully.

The set transaction must be the first / starting statement within a transaction. ...and its only good for the duration of that transaction. I normally run it as

commit /* Not really committing anything... Terminating any previous transaction */
set transaction ... RBS_Large;
delete * from ....
commit /* ends transaction */

if you really want to do the spool then
set the RBS_LARGE online and
set all other rollback segments offline Received on Sun Feb 08 1998 - 00:00:00 CST

Original text of this message

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