Oracle Management Cloud

Introduction to Oracle Management Cloud We have been seeing so many products of Oracle off late. A new suite from Oracle named Oracle Manage...

Sunday, August 16, 2020

Script to verify UNDO usage of active database sessions

This post provides with a script to verify the UNDO usage by active database sessions.

select se.saddr,se.inst_id,se.sid,se.module, sum(tr.used_ublk*8192/1024/1024)"Used(MB)"
from gv$session  se, gV$transaction   tr
where tr.ses_addr = se.saddr and se.inst_id=tr.inst_id
group by se.saddr,se.module,se.inst_id,se.sid
/
 
The Sample Output of the script be like:
 

No comments:

Post a Comment

Most Viewed Posts