bhsrao
asked on
Estimate undo tablespace size
Hi,
I have seen oracle document to estimate undo tablespace in oracle 10g/any version of oracle is given below.
Undospace = (Undo Retention Period * Undo Blocks Per Second) + Overhead
The Overhead should account for metadata such as bitmaps.
Here i have a question.
Undo Retention period is set 30mints for my database and i would like to know how to find UNDO Blocks Per seconds and Overhead information.
Could you please any one give me detailed information.
Thanks & Regards,
Sreeni
I have seen oracle document to estimate undo tablespace in oracle 10g/any version of oracle is given below.
Undospace = (Undo Retention Period * Undo Blocks Per Second) + Overhead
The Overhead should account for metadata such as bitmaps.
Here i have a question.
Undo Retention period is set 30mints for my database and i would like to know how to find UNDO Blocks Per seconds and Overhead information.
Could you please any one give me detailed information.
Thanks & Regards,
Sreeni
ASKER
Thanks MohanNair,
Again i have a questions here.
1)Why 86400 value is multiplying to Sum(end_time-begin_time).
Suppose : i have only one record in v$undostat means 10mints and undo generate blocks (undoblk) are 20000. For getting UNDO per second is
10 M= 20000
1M=20000/10
1Sec = 20000/10*60 . Am i rite, please correct me here.
2) Is the Db_block_size equal to Overhead.
Could you please explain me below statement.
(The Overhead should account for metadata such as bitmaps. )
3) This is formual/calc is for all ready existing database. Suppose i want to calucate UNDO tablespace (estimated) space for new database(OLTP). What are the things i need to consider.
Thanks a lot for your reply.
Thanks & Regards,
Sreeni
Again i have a questions here.
1)Why 86400 value is multiplying to Sum(end_time-begin_time).
Suppose : i have only one record in v$undostat means 10mints and undo generate blocks (undoblk) are 20000. For getting UNDO per second is
10 M= 20000
1M=20000/10
1Sec = 20000/10*60 . Am i rite, please correct me here.
2) Is the Db_block_size equal to Overhead.
Could you please explain me below statement.
(The Overhead should account for metadata such as bitmaps. )
3) This is formual/calc is for all ready existing database. Suppose i want to calucate UNDO tablespace (estimated) space for new database(OLTP). What are the things i need to consider.
Thanks a lot for your reply.
Thanks & Regards,
Sreeni
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The END_TIME and BEGIN_TIME columns are DATE datatypes.
-- UNDO per second
SELECT (SUM(undoblks))/SUM((end_t
Value of DATA BLOCK SIZE
SELECT value FROM v$parameter WHERE lower(name) = 'db_block_size';
-- Value for UNDO RETENTION
SELECT value FROM v$parameter WHERE lower(name) = 'undo_retention';
Multiplying the value from the three queries above gives the UNDO tablespace required.