1-- Informations on rollbacks
2SELECT s.USERNAME, s.SID, s.SERIAL#, t.USED_UBLK, t.USED_UREC, rs.SEGMENT_NAME,
3 r.RSSIZE, r.STATUS
4FROM V$TRANSACTION t,
5 V$SESSION s,
6 V$ROLLSTAT r,
7 DBA_ROLLBACK_SEGS rs
8WHERE s.SADDR = t.SES_ADDR
9 AND t.XIDUSN = r.USN
10 AND rs.SEGMENT_ID = t.XIDUSN
11ORDER BY t.USED_UBLK DESC;