Home > Oracle COREDB > UNDO TABLESPACE SIZE Calculation.

UNDO TABLESPACE SIZE Calculation.

July 27, 2013

SELECT (UR * (UPS * DBS)) AS “Bytes”
FROM (SELECT value AS UR FROM v$parameter WHERE name = ‘undo_retention’),
(SELECT undoblks/((end_time-begin_time)*86400) AS UPS
FROM v$undostat
WHERE undoblks = (SELECT MAX(undoblks) FROM v$undostat)),
(SELECT block_size AS DBS
FROM dba_tablespaces
WHERE tablespace_name = (SELECT UPPER(value) FROM v$parameter WHERE name = ‘undo_tablespace’));

Advertisements
Categories: Oracle COREDB
%d bloggers like this: