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: Rollback Segments

RE: Rollback Segments

From: Gogala, Mladen <MGogala_at_oxhp.com>
Date: Mon, 18 Feb 2002 09:48:26 -0800
Message-ID: <F001.004125D9.20020218094826@fatcity.com>


It's very simple: don't use rollback segments. Set up your UNDO_TABLESPACE and let oracle handle it. If you use oracle managed datafiles, oracle will create as much room as it needs. The parameters that you need to look at are:

DB_CREATE_FILE_DEST
DB_CREATE_ONLINE_LOG_DEST_n

UNDO_MANAGEMENT 
UNDO_TABLESPACE 
UNDO_RETENTION 
UNDO_SUPPRESS_ERRORS 

The UNDO_MANAGEMENT=auto setting will make oracle manage it's own rollback structures
and you will not see the rollback segments. It is just like the BI file (does anybody
still remember VAX/VMS, ORACLE$BI, IOR and ODT?) In particular, that means that you will
not have to worry about the rollback segments ever again.

-----Original Message-----
Sent: Monday, February 18, 2002 10:34 AM To: Multiple recipients of list ORACLE-L

Hello DBAs

Is there a command that tells me which rollback segment is being used by current transaction?
Also, can you force a session to use particular rollback segment? I have used in the past the command:

set transaction use rollback segment rbs_01

but the named rollback segment seemed to be used until the end of tranasction. After a commit or rollback a different rollback segment could have been used by Oracle. I wonder if there is a way to make sure that once a user logs in, a particular rollback segment is used.

Thanks

Witold



Witold Iwaniec
Sr Software Developer
NovaLIS Technologies
wiwaniec_at_novalistech.com
http://www.novalistech.com

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Witold Iwaniec
  INET: wiwaniec_at_novalistech.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Gogala, Mladen
  INET: MGogala_at_oxhp.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Mon Feb 18 2002 - 11:48:26 CST

Original text of this message

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