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: ** can two processes use the same rollback extent

RE: ** can two processes use the same rollback extent

From: Freeman Robert - IL <FREEMANR_at_tusc.com>
Date: Sat, 27 Dec 2003 22:54:25 -0800
Message-ID: <F001.005DB228.20031227225425@fatcity.com>








1)  rollback segment will not shrink.
 
Correct, assuming you do not shrink it manually.
 
2) It will keep growing till tablespace fills up.
 
Correct assuming that you have a SQL statement that causes the rollback segment to grow in such a way and that you have no constraints on the rollback segments to prevent unconstrained growth (e.g. maxextents). Note that this may not be a good thing... if you have one transaction that causes one rbs to grow really large, that may prevent growth of other rbs's. Unless you are manually assigning rollback segments to every transaction, that could have negative consequences.
 
It is, IMHO, best to have use automated undo, if possible, then you don't need to worry about these things. If you can't use automated undo, then create a nice big tablespace, but also use optimal, setting it to a reasonable size.
 
3) And there will be no 'snapshot too old' errors?
 
Wrong. Even with large rollback segments, 1555's are possible depending on a number of things.
 

Robert G. Freeman
Technical Management Consultant
TUSC - The Oracle Experts www.tusc.com
630.819.9077 Cell (It's everywhere that I am!)
Author of several books you can find on Amazon.com!

-----Original Message-----
From: A Joshi [mailto:ajoshi977@yahoo.com]
Sent: Sunday, December 28, 2003 12:39 AM
To: Multiple recipients of list ORACLE-L
Subject: Re: ** can two processes use the same rollback extent

Hi,
  A simple rollback segment question. If I do not set a optimal then can I assume following
 
1)  rollback segment will not shrink.
2) It will keep growing till tablespace fills up.
3) And there will be no 'snapshot too old' errors?
 
Thanks

A Joshi <ajoshi977@yahoo.com> wrote:

Hi,

    One rollback segment can be used by multiple transactions/processes but what about the extents? Is it safe to assume that only one transaction/process can use one extent? What is a good way to size the extent for warehousing tasks? Or guess the rollback generated and size needed.

Thank You

 


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Freeman Robert - IL
  INET: FREEMANR_at_tusc.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sun Dec 28 2003 - 00:54:25 CST

Original text of this message

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