oracledataguard
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
oracledataguard [2016/08/11 09:28] – z0hpvk | oracledataguard [2025/03/08 22:24] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 65: | Line 65: | ||
select timestamp, facility, severity, message | select timestamp, facility, severity, message | ||
from v$dataguard_status | from v$dataguard_status | ||
- | order by timestamp;</ | + | order by timestamp; |
+ | |||
+ | -- Check if Real Time Apply is Enabled | ||
+ | col DEST_NAME format a25 | ||
+ | select DEST_ID, | ||
+ | from v$archive_dest_status | ||
+ | where status <> ' | ||
==== Switchover ==== | ==== Switchover ==== | ||
Line 103: | Line 109: | ||
PRIMARY: alter system set log_archive_trace=0; | PRIMARY: alter system set log_archive_trace=0; | ||
STANDBY: alter system set log_archive_trace=0;</ | STANDBY: alter system set log_archive_trace=0;</ | ||
+ | |||
+ | ==== Failover ==== | ||
+ | https:// | ||
+ | < | ||
+ | SELECT STATUS, INSTANCE_NAME, | ||
+ | |||
+ | ALTER DATABASE RECOVER MANAGED DATABASE CANCEL; | ||
+ | ALTER DATABASE RECOVER MANAGED DATABASE FINISH; | ||
+ | |||
+ | ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY WITH SESSION SHUTDOWN; | ||
+ | ALTER DATABASE ACTIVATE STANDBY DATABASE; | ||
+ | ALTER DATABASE OPEN; | ||
+ | |||
+ | SELECT STATUS, INSTANCE_NAME, | ||
+ | </ | ||
+ | |||
+ | |||
==== Active Data Guard ==== | ==== Active Data Guard ==== |
oracledataguard.1470907690.txt.gz · Last modified: 2025/03/08 22:23 (external edit)