Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> How are rollback segments assigned?
Hello Friends,
Oracle Parallel Server 8.0.6.2.0 on Solaris 2.6 Nodes
We were having some locking and rollback issues, and I set up some scripts to alert me in case there are more than 4 transactions in the rollback segments, and more than 1 in any of the rollback segments.
Select sum(xacts) from v$rollstat --- Alert if more than 4, condition set
to exclude system rollback
where usn != 0
Select count(*) from v$rollstat --- Alert if more than 0, where
condition to exclude system rollback
where xacts >=2
and usn != 0
We have 20 rollback segments, and there is very minimal DML activity on this database. I happened to see a scenario where all rollback segments had 0 transactions, except for one which had 2 in them. Under what scenario, can this happen?
I thought the criteria for assigning rollback segments to transactions was
1. If object in system tablespace, use system rolback segment 2. Use the one with the least number of active transactions 3. If 2 or more rollback segments fit the second criteria, use the LRUalgorithm.
Thanks
Raj
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: Rajesh.Rao_at_jpmchase.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 Mon Nov 25 2002 - 09:39:13 CST