You are on page 1of 3

Oracle dataguard

Types of Standby databases


Physical Standby : Redo apply (apply from SRL)
Logical Standby : SQL apply
Snapshot Standby : Apply redo while standby db is open.

Protection Modes Explained


Protection Modes with Options

SYNC - LGWR will wait until RFS gives the signal that redo entries are received at standby.
AFFIRM - RFS will again wait until redo entries are completely written to the SRLs.

Understanding redo transport

LGWR SYNC

LGWR ASYNC

ARCH ASYNC
Failover - Concepts and Commands
Ways to rebuild primary database after crash
Flashback
rebuild primary using RMAN duplicate
Steps to open standby as primary when primary is crashed
alter database recover managed standby database cancel;
alter database recover managed standby database finish;
select switchover_status from v$database;
alter database commit to switchover to primary with session shutdown;
alter database open;
Rebuild a primary database using flashback
select to_char(standby_became_primary_scn) from v$database; (current primary)
startup mount(crashed primary)
flashback database to scn (output from quey 1);
alter database convert to physical standby;
shut immediate
startup mount
alter database recover managed standby database disconnect
select process,status,sequence# from v$managed_standby; (Carnation will be changed after a failover)
RMAN in dataguard configuration
Conifure controlfile autobackup on (primary and standby)
Configure backup retention policy
recover lost datafile

You might also like