Professional Documents
Culture Documents
• Consists of
• Far sync control file.
• Password file and pfile.
• Standby Redo log files and
• Archive logs.
Commit ACK
C
o
m
m SGA
i
t LGWR
SGA
Redo
Buffer
NSS RFS MRP
'
DB_UNIQUE_NAME=farprim
CONTROL_FILES='/arch2/farprim/control01.ctl'
FAL_SERVER=prim
LOG_FILE_NAME_CONVERT='prim','farprim'
LOG_ARCHIVE_CONFIG='DG_CONFIG=(prim,farprim,stdby)
LOG_ARCHIVE_DEST_1='LOCATION= USE_DB_RECOVERY_FILE_DEST
VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=farprim'
LOG_ARCHIVE_DEST_2='SERVICE=stdby ASYNC
VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=stdby'
Standby - stdby
DB_UNIQUE_NAME=stdby
CONTROL_FILES='/home/oracle/stdby/controlfile/control01.ctl
FAL_SERVER='farprim'
LOG_ARCHIVE_CONFIG='DG_CONFIG=(prim,farprim,stdby)'
LOG_FILE_NAME_CONVERT='prim','stdby'
DB_FILE_NAME_CONVERT='prim','stdby'
LOG_ARCHIVE_DEST_1='LOCATION= USE_DB_RECOVERY_FILE_DEST
VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=stdby'
LOG_ARCHIVE_DEST_2='SERVICE=prim ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=prim'
Commit ACK
C
o
m
m SGA
i
t LGWR
SGA
Redo
Buffer
NSS RFS MRP
SQL>alter database recover managed standby database using archived logfile disconnect;
• 11G
• Redo Apply upon primary log switch.
• Cascading standby always lag behind first standby.
SYNC/ASYNC ARCH
• 12c
• First Standby can ship REDO in real time mode.
• No need to wait for primary database log switch.
SYNC/ASYNC ASYNC
DBA_ROLLING_STATUS
DBA_ROLLING_DATABASES
DBA_ROLLING_STATISTICS
DBA_ROLLING_PARAMETER
DBA_ROLLING_EVENTS
• Prerequisites
• Check whether standby in SYNC with primary or not.
primary
SQL>select max(sequence#),thread# from v$archived_log group by thread#;
Standby,
SQL>select process,sequence#,thread#,status from v$managed_standby;
• Verify switchover
primary
SQL>select max(sequence#),thread# from v$archived_log group by thread#;
Standby,
SQL>select process,sequence#,thread#,status from v$managed_standby;
• Validate Database.
• Apply lag monitoring.
• Support for new Features
• Far SYNC instance.
• Fast SYNC instance.
• Real time cascading.
• Database rolling upgrade.
• Configurable tracing.
• Temporary Tablespace.
• Flashback database.
• Apply Related Metrics
• Apply Lag
• Apply Delay
• Apply Rate
• Transport Metrics
• Transport on
• Gap Status
• Transport Lag
• Transport Status
• Automatic Diagnostic Repository Errors
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Apply Lag
NOTE:
Applylagthreshold in seconds.
Not Applicable for Snapshot database and Far/Fast SYNC Instances.
Database Error(s):
ORA-16766: Redo Apply is stopped
Database Warning(s):
ORA-16853: apply lag has exceeded specified threshold
• RedoRoutes example
• Real time cascading
DGMGRL> EDIT DATABASE '<primary>' SET PROPERTY 'RedoRoutes' = '(LOCAL : <Far SYNC>)';
DGMGRL>EDIT FAR_SYNC '<far sync name>' SET PROPERTY 'RedoRoutes' = '(<primary> : <remote standby>)';
Q&A panel
3
Send your question
2
Ask: ALL PANELLIST leave default!
1
type your question here
Note:
• Click column headings to sort
• Hover on Webcast Title for more
information
• Recordings available within 48 hours
• Advisor Webcast Questions on a
webcast or ask questions via the
Questions? link
• https://community.oracle.com/thread/
3719584