Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

   
 

Data Guard log management policy tips

Oracle Database Tips by Donald BurlesonDecember 9, 2015

 

Oracle Data Guard - Log Management Services

Log Management Policies

Log management policies play an important role in the disaster recovery strategy. These policies are largely guided by the importance of data in the database and the ability to recover the data using other sources like re-loading data from flat files, etc.

In a Data Guard environment, the log management policies are implemented using attributes of the log_archive_dest_n parameter. The attributes like MANDATORY, REOPEN, and ALTERNATE can be used to control the transmission of archived redo data. In this section, the attributes of the log_archive_dest_n and log_archive_dest_state_n parameters will be presented.

Factors Influencing Log Transport Policies

The log_archive_dest_n parameter has a vast number of attributes to control the working of log transfer services. The following attributes are important for setting up policies of log management services:

Online Redo Logs Reuse Policy

Online Redo logs on the primary database will be taken up for reuse based on the status of archiving to the log archive destinations. The archiving destinations can be set as MANDATORY or OPTIONAL destinations. For MANDATORY destinations, archiving should be completed before the online redo logs of the primary database can be marked for reuse. On the contrary, for OPTIONAL destinations, the log writer on the primary database will not wait for archiving to finish.

Log Management Services

A Sample Log Management Policy

LOG_ARCHIVE_DEST_1='LOCATION=/oracle/appsdb/arch MANDATORY
REOPEN=90 MAX_FAILURE=2 ALTERNATE=LOG_ARCHIVE_DEST_4'
LOG_ARCHIVE_DEST_STATE_1=ENABLE
LOG_ARCHIVE_DEST_2='SERVICE=appsstdby1
DEPENDENCY=LOG_ARCHIVE_DEST_1'
LOG_ARCHIVE_DEST_STATE_2=ENABLE
LOG_ARCHIVE_DEST_3='SERVICE=appsstdby2 REOPEN=90 MAX_FAILURE=5'
LOG_ARCHIVE_DEST_STATE_3=ENABLE
LOG_ARCHIVE_DEST_4='LOCATION=/oracle2/appsdb/arch'
LOG_ARCHIVE_DEST_STATE_4=ALTERNATE

According to this policy, the primary database physically archives the log file to the local destination on volume /oracle and to the Oracle instance identified by the service name appsstdby2. The local archival destination #1 is a mandatory destination. The primary database will halt if archival to this destination does not succeed. The log transfer service on the primary database will make two attempts to archive the redo log files to this destination as indicated by the max_failure parameter.

 


The above text is an excerpt from the book: Oracle Data Guard Handbook


��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.