Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: rollback segment
ak,
Here is a query you can run to see if it is currently in use...
SQL> select b.segment_name, a.xacts, a.shrinks, a.wraps, a.extends
2 from v$rollstat a, dba_rollback_segs b
3 where a.usn = b.segment_id
4 /
SEGMENT_NAME XACTS SHRINKS WRAPS EXTENDS ------------------------------ ---------- ---------- ---------- ---------- SYSTEM 0 0 0 0 RBS_BIG01 0 1 46 6 RBS_BIG02 0 1 57 8 RBS_BIG03 0 0 31 0 RBS_BIG04 1 4 86 27 RBS_BIG05 1 1 43 8
6 rows selected.
Darrell
>>> oramagic_at_hotmail.com 03/14/03 03:53PM >>>
I have recently found that one temporary rollback segment in system tablespace is having more then 600 extnets . It looks like previous dba created this rollback segment at the time of db creation and forgot to take it offline .
Now how do I find it this rollback segment is being used actively . I see values in gets , writes from v$rollstat view .
What step should I take to drop this rollback segment . What implication might have if I take this offline ? I want to relase the space taken by this rollback segment ( >600 extents ..thats big ) , so just taking offline wont do this.
Are there any views accessible from system( no sys) account which can tell me which trasaction is using which rollback segment .
thanks
-ak
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Darrell Landrum INET: DLANDRUM_at_zalecorp.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 Fri Mar 14 2003 - 16:44:19 CST