How to estimate undo tablespace size in 11g?
685472Mar 13 2009 — edited Mar 13 2009I found someone document said, use this sql to estimate undo tablespace:
select (UR*(UPS*DBS))+(DBS*24) as "bytes" from (select value as UR from v$parameter where name='undo_retention'),(select (sum(undoblks)/sum(((end_time-begin_time)*86400))) as UPS from v$undostat),(select value as DBS from v$parameter where name='db_block_size');
but in my 11g database, the "select value as UR from v$parameter where name='undo_retention'" is 0. so above sql is always get 196608(8192*24)
How to estimate undo tablespace size in 11g?
Thanks very much!