Key points about setting a reasonable log buffer size

Source: Internet
Author: User

Key points about setting a reasonable log buffer size

1, default size MAX (0.5 M, (128 K * number of cpus ))

2, On most systems, sizing the log buffer larger than 1 M does not provide any

Performance benefit. It merely uses extra memory.

3. View 'redo buffer allocation retries' statistics

Select name, VALUE

From v $ SYSSTAT

Where name = 'redo buffer allocation retries ';

The value of redo buffer allocation retries shoshould be near zero over an interval. If The difference is too large, you need to set The log_buffer size.

4. log buffer space wait even if this wait event is one of the main events, the log buffer size needs to be adjusted.

---- Modification of the log_buffer parameter takes effect only after the server is restarted.

Show parameter log_buffer

Alter system set log_buffer = xxx scope = spfile;

Difference between Buffer cache and page cache

Performance of Buffer cache in Linux

Usage of cache and buffer in Linux

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.