Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Overview

Oracle Data Guard consists of the Primary Database and Standby Database. A primary database can accommodate up to 9 Standby Database.

The change from primary database is transferred to redo log file via oracle Net with Oracle Background process(LGWR or ARCn) to Standby Database.

Applying Services

The standby database is divided into the physical standby database and the logical standby database.

  • The physical standby database is identical to the primary database which has same DB blocks.
    The synchoronization in the side of the standby database can be done using redo logs received from primary database. It is named as Redo Apply.

Altibase HDB Replication adopted this method using Altibase SM(Storage Manager) module

This is one of the main components of a DBMS, and is responsible for data storage and management via concurrency control and recovery. It performs actual execution of the query according to the execution plan.
 

  • The logical standby database is same with the primary database which has same schema.
    The synchronization in the side of the standby database can be performed by processing redo logs received from the primary database and extracting SQL statements from it and executing them.
    This process is called as SQL Apply.  

Data Protection modes

Data Guard comprises three modes as follows.

  • Maximum protection: It guarantees no data loss at the time of primary database failure. To achieve that, recoverable redo data(changed data) for each transactions should be written locally stored online redo log file and one or more standby redo log files before committing. When data inconsistency occurs, primary database will shut down.

This has the similarity with the Eager Mode in Altibase HDB replication except for being shut down in the case data inconsistency. It is a synchronous replication method, and thus the master transaction and the replication transaction are executed together as a single transaction.

  • Maximum Availability: It is not until recoverable data is written to the one or more remote standby redo log file and local online redo log file that does commit a transaction.

As well as Maximum protection mode, redo data(changed data) should be written to the remote standby redo logfile and local online redo logfile before committing a transaction.

But, in case of the failure of writing to the remote standby redo logfile, Primary Database will not shut down.

  • Maximum performance: It minimizes influence over performance of Primary Database. Committing  a transaction and the writing of redo data stream to the standby database are independent.

This is in line with the lazy replication mode in Altibase HDB.

Role Management Services

  • Switchover
  • Failover
  • Fast-Start Failover