Re: set transaction use rollback segment xxx

From: Pierre Hollard <phollard_at_bambam.turner.com>
Date: 1995/06/07
Message-ID: <3r4pk3$n0j_at_tbsnames.turner.com>#1/1


 In article <3r4ide$6el_at_lucy.infi.net>, gtravis_at_richmond.infi.net (Glenn Travis) writes:
> When using this statement; SET TRANSACTION USE ROLLBACK SEGMENT foo,
> does that transaction wait for the segment if it is in use?
>
> We have 4 small rollback segments (2MB each), and 1 large rollback
> segment(for batch at 230MB). I want to set the batch queries to use the
> large rollback segment. BUT, i can't prevent the other users from using
> it either. So what happens if a user grabs the first extent of my large
> rollback segment, then my batch job tries to use it? Does the batch job
> grab the next extent (which is considerably smaller), then run out of
> space? Or does it wait for the initial extent? How are these segments
> and extents shared and used? Should I break up my 230MB segment into
> smaller chunks?
>

You can keep your 'BIG' rollback segment offline until you need it for your batch job so that other transactions cannot use it. Put it back online before your 'SET TRANSACTION' command (see ALTER ROLLBACK SEGMENT command).

-- 
------------------------------------------------------------------------------
Pierre Hollard                                 
Oracle Database Administrator                  Phone: (404) 827-0656
Turner Broadcasting System, Inc.              E-Mail: phollard_at_dev1.turner.com
------------------------------------------------------------------------------
Received on Wed Jun 07 1995 - 00:00:00 CEST

Original text of this message