How To check any Oracle Database is configured with data guard or not?
There are few ways to validate it within the database and at the OS level. The easiest way to check would be running a SQL query which is oracle built-in function and validate the status.
Output will be like below:
If DataGuard is not configured:
0
Data Guard usage not detected
If DataGuard is configured:
1
Number of standbys: 1, Number of Cascading databases: 0, Number of Terminal
databases: 1, Redo Apply used: TRUE, SQL Apply used: FALSE, Far Sync Instance
used: FALSE, Snapshot Standby used: FALSE, Broker used: TRUE, Protection mode:
MAXIMUM PERFORMANCE, Log transports used: LGWR ASYNC, Fast Sync used: FALSE,
Fast-Start Failover used: FALSE, Real-Time Apply used: TRUE, Compression used:
FALSE, Flashback used: FALSE, Recovery Appliance used: FALSE
Alternate method:
DGMGRL> show configurationConfiguration - db1Protection Mode: MaxPerformanceMembers:db1 - Primary databasedb1_stby - Physical standby databaseFast-Start Failover: DisabledConfiguration Status:SUCCESS (status updated 37 seconds ago)
No comments:
Post a Comment
If you have any queries/ any suggestion please do comment and let me know.