OracleDBconcept

Oracle 19c Active Data Guard DML Redirection Feature

19c Active DataGuard DML Redirection

ACTIVE DATAGUARD DML REDIRECTION is a new feature in Oracle 19c which enables the Data Manipulation Language (DML) operations on the Standby Server to be redirected and run on the production (Primary) database.

The updated data will be streamed back to standby to maintain redundancy.

Whenever DML we fire on standby database that operations actually executing on Primary. It might be impacted database performance so we need to avoid too many DML operation execution on standby.

 

Steps to Understand DML Redirection on Standby Database, Listed below

  1. Once DML executes on an open standby database.
  2. DML automatically redirects to the primary DB.
  3. The DML is executed on the primary DB.
  4. Then updated data is streamed back to the standby DB.
  5. Now data is available for the client.

Oracle 19c Active DataGuard DML Redirection

We have two methods to configure DML Redirection with the help of ADG_REDIRECT_DML.

  • SYSTEM-LEVEL
  • SESSION LEVEL

How to Enable DML Redirection

Using the below commands you can enable DML Redirection in Oracle 19c Active Data Guard.

Enable SYSTEM LEVEL DML Redirection

SQL> alter system set ADG_REDIRECT_DML=TRUE scope=both;

Enable SESSION LEVEL DML Redirection

SQL>alter session enable adg_redirect_dml; 

Note:- You must be remembered, the session-level redirection overwrites the system-level redirection.

    About Syed Saad

    With 13 years of experience as a certified and skilled Oracle Database Administrator, I possess the expertise to handle various levels of database maintenance tasks and proficiently perform Oracle updates. Throughout my career, I have honed my analytical abilities, enabling me to swiftly diagnose and resolve issues as they arise. I excel in planning and executing special projects within time-sensitive environments, showcasing exceptional organizational and time management skills. My extensive knowledge encompasses directing, coordinating, and exercising authoritative control over all aspects of planning, organization, and successful project completions. Additionally, I have a strong aptitude for resolving customer relations matters by prioritizing understanding and effective communication. I am adept at interacting with customers, vendors, and management, ensuring seamless communication and fostering positive relationships.

    Check Also

    OracleDBconfig

    Oracle Dataguard 19c Configuration

    Oracle Dataguard 19c Configuration Implementing a disaster recovery solution for Oracle databases involves setting up …

    Leave a Reply