Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

UNDO-Tablespace-Usage :: "ACTIVE" vs. "USED"

MynzMay 6 2013 — edited May 6 2013
Hello,

when I run this

SELECT SUM(BYTES)/1024/1024/1024 "GB" ,STATUS
FROM DBA_UNDO_EXTENTS
GROUP BY STATUS;

against my database, I get this

MB STATUS
---------- ---------
,008789063 UNEXPIRED
,094177246 EXPIRED
*19,7614746* ACTIVE

But when checking transactions with

SELECT s.sid , s.username , t.used_ublk*8/1024/1024
FROM v$transaction t
, v$session s
WHERE t.ses_addr = s.saddr;

I get this

SID USERNAME T.USED_UBLK*8/1024/1024
---------- ------------------------------ -----------------------
109 TRAM_STAT *6,0405426*

Where does this difference come from ???

Regards,

Mynz
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 3 2013
Added on May 6 2013
9 comments
1,925 views