Oracle forced log Archiving

Source: Internet
Author: User

Oracle forced log archiving archive_lag_target forced archiving forced switching in the Data Guard environment, if the oracle database archiving frequency is too low, resulting in Data loss in the event of a fault, we can use the archive_lag_target parameter to force log switching and archiving. You can set a time (in seconds) for the archive_lag_target parameter to force the oracle database to switch and archive logs based on the time limit. The default value of this parameter is 0 (disabled ), it is not recommended that the value be greater than 2400 or less than 600 (data loss may occur when a fault occurs for a long time, and too short a time may cause server performance problems ). Set the oracle database to be archived if it is not archived within 30 minutes:

Alter system set archive_lag_target = 1800;

 

Note: The above conditions apply to the max performance mode.

Related Article

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.