Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SELECT SUM(a.bytes) as UNDO_SIZE
FROM v$datafile a,
v$tablespace b,
dba_tablespaces c
WHERE c.contents = 'UNDO'
AND c.status = 'ONLINE'
AND b.name = c.tablespace_name
AND a.ts# = b.ts#;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment