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

 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
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

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

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 







Tuning Data Guard Log Apply Service

Oracle Database Tips by Donald BurlesonDecember 9, 2015

Oracle Data Guard

Tuning the Data Guard Log Apply Services

The log apply service is the slowest phase in the process of data synchronization in a Data Guard environment. If the log transfer service is well tuned, the DBA should divert attention to tuning the log apply service. On a logical database, the log apply service uses the SQL apply method. On a physical standby database, it uses a block-per-block media recovery.

For this reason, the log apply service on a physical Oracle instance is more efficient than on the logical standby database. In this section, the collection of data needed for performance tuning of the log apply service will be presented. Interpreting this information and applying corrective measures will also be discussed.

Gathering Log Apply Service Related Statistics

Performance data gathering on physical and logical standby databases will be covered in this section. For this chapter, the information will start with the physical standby database.

Physical Standby Database

As mentioned earlier, the log apply services on a physical Oracle instance rarely cause performance issues. However, run some periodic checks to ensure that it is not falling behind. Querying the dynamic performance table v$managed_standby will reveal if the log apply is not coping with the amount of redo generated by the primary database.

The script, MngStandby.sql, from the code depot can be used for this purpose. Execute this script on the physical standby database:


Gathering Log Apply Service Related Statistics
Physical Standby Database


-- *************************************************
-- Copyright 2015 by Rampant TechPress
-- *************************************************
-- Script to monitor the log apply service performance on
-- physical standby database.
Set Linesize 90
Column Process Format a7
Column Status Format a12
Column Sequence# Format 9999999999
Column Block# Format 99999999
Column Blocks Format 99999999
   See code depot for full scripts


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.