Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: v$rollstat
You can use this SQL
select segment_name,b.status,xacts,extents,b.rssize/1048576
rssize,aveactive/1048576 aveactive,
hwmsize/1048576 hwmsize,optsize/1048576 optsize,aveshrink/1048576 aveshrink,
gets,waits,extends,shrinks
from dba_rollback_segs a,v$rollstat b
where a.segment_id=b.usn(+)
order by 1
/
To find out dead transactions which are being cleaned out, you can use
this SQL
set echo off
col ktuxeusn head "RBS|No" form 999 col ktuxeslt head "RBS|Slot" form 9999999 col ktuxesqn head "RBS|Wrap" form 9999999
select ktuxeusn,ktuxeslt,ktuxesqn,ktuxesiz
from x$ktuxe
where ktuxecfl='DEAD'
/
regards
Srivenu
Received on Wed Jun 02 2004 - 00:33:02 CDT
![]() |
![]() |