Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Rollback segment space usage
George,
Try this query and check for average_active
select ud.name,
sg.extents ext, round(sg.blocks * ts.blocksize / 1048576, 2) MB, round(s.optsize / 1048576, 1) optsize, round(s.aveactive / 1048576, 1) AVEACT, round(s.hwmsize / 1048576, 1) HWMSIZE, s.shrinks, s.wraps, s.waits, nvl(s.status, 'OFFLINE') status from v$rollstat s, sys.undo$ ud, sys.seg$ sg, sys.ts$ ts where ud.us# = s.usn (+) and ud.file# = sg.file#
Regards
Rafiq
Reply-To: ORACLE-L_at_fatcity.com
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
Date: Wed, 23 Oct 2002 09:02:17 -0800
Hi all,
Trying here now since have tried to find it online and build the query myself.
I need to figure out how much space a user/session is using of a rollback segment.
I got the queries to show which segment the user is attached to but need to know how much is being used (something like a fuel gauge).
Any takers.
George
You Have The Obligation to Inform One Honestly of the risk, And As a Person You Are Committed to Educate Yourself to the Total Risk In Any Activity! Once Informed & Totally Aware of the Risk, Every Fool Has the Right to Kill or Injure Themselves as They See Fit!
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Leonard, George INET: george.leonard_at_farnell.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-LReceived on Wed Oct 23 2002 - 12:40:59 CDT
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Mohammad Rafiq INET: rafiq9857_at_hotmail.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).
![]() |
![]() |