Tuesday, October 7, 2014

script to find redo generated by current sessions

script to find redo generated by current sessions

select v$session.sid, username, value redo_size
from v$sesstat, v$statname, v$session
where v$sesstat.STATISTIC# = v$statname.STATISTIC#
and v$session.sid = v$sesstat.sid
and name = ‘redo size’
and value > 0
and username is not null
order by value
/

No comments:

Post a Comment