Undo tablespace Size evaluation

Source: Internet
Author: User

Reference for Undo tablespace Size evaluation:

To determine the size of the Undo tablespace required by Oracle, the following information is required:

A. Ur: undo_retention in seconds

SQL> show parameter undo_retention;

B. Ups: calculates the number of Undo data blocks generated per second during business peaks.

SQL> select max (undoblks/(end_time-begin_time) * 24*3600) from V $ undostat;

C. DBS: obtain the data block size.

SQL> show parameter db_block_size;

 

Reference formula:

Undospace = Ur * ups * DBS + DBS * 24

Refer to the statement for calculating the Undo tablespace size:

Select (UR * ups * DBS + DBS * 24)/1024/1024 as "undo size (m )"

From (select value as ur from V $ parameter where name = 'undo _ retention '),

(Select max (undoblks/(end_time-begin_time) * 24*3600) as UPS from V $ undostat ),

(Select value as DBS from V $ parameter where name = 'db _ block_size ');

 

If the size of the Undo tablespace is smaller than the calculated size, we recommend that you increase it to a value greater than the calculated recommended value.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.