Вы находитесь на странице: 1из 1

Data Guard Cheatsheet

currently being updated, this statement will be removed when I have completed this
section

Terminology

Primary database A production database


Standby database A database that can become the primary database, should the primary fail
EOR End Of Redo
LWGR Log Writer process
LNS Log Network Server
ORL Online Redo Log
RFS Remote File Server
SRL Standby Redo Log file
SYNC and ASYNC Synchronous and Asynchronous

Log Files

DG alert Log drc<db_unique_name>.log


Alert Log alert_<SID>.log
# change the instance name to reflect the one you have choosen and the path you installed oracle

prod1 (alert log): /u01/app/oracle/diag/rdbms/prod1/PROD1/trace/alert_PROD1.log


Logfile locations prod1 (DG log): /u01/app/oracle/diag/rdbms/prod1/PROD1/trace/drcPROD1.log

prod1dr (alert log): /u01/app/oracle/diag/rdbms/prod1dr/PROD1DR/trace/alert_PROD1DR.log


prod1dr (DG log): /u01/app/oracle/diag/rdbms/prod1dr/PROD1DR/trace/drcPROD1DR.log
## You can get the log locations from the below view

identify log files col name for a25


col value for a65;
select name, value from v$diag_info;

Data Guard Broker

# Primary Database server

DGMGRL> create configuration prod1 as


Create base configuration > primary database is prod1
> connect identifier is prod1;

Configuration "prod1" created with primary database "prod1"

Вам также может понравиться