DataGuard MAA New Features
DataGuard MAA New Features
Martin Decker
Overview
Definitions High Availability, Disaster Recovery, Maximum Availability Architecture (MAA) Data Guard 10g Protection & Transport Modes Switchover/Failover Monitoring Tuning Data Guard 11g New Features
Definitions
High Availability No Downtimes during Service-Times (e.g. Mo-Fr)
99 % 438,3 min/month, 7,3 hrs/month or 87,66 hrs/year 99,9 % 43,8 min/month or 8,76 hrs/year 99,99 % 4,38 min/month or 52,6 min/year 99,999 % 26,3 sec/month or 5,26 min/year
Reference: http://www.oracle.com/technology/deploy/availability/htdocs/maaoverview.html
Zeit
Attention with RAC: SWITCHOVER_STATUS stays SESSIONS ACTIVE, because Clusterware is monitoring instance with a logged in session. Solution: racgimon stopd <dbname> SQL> SELECT SWITCHOVER_STATUS FROM V$DATABASE; SQL> ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY; SQL> SHUTDOWN IMMEDIATE; SQL> STARTUP;
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;
time To avoid data loss, get all available redo data from Primary, then: SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH FORCE; Do not use the ALTER DATABASE ACTIVATE STANDBY DATABASE to perform a failover, because this statement may cause data loss. http://download.oracle.com/docs/cd/ B19306_01/server.102/b14239/role_ management.htm#i1026464 SQL> ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY; SQL> ALTER DATABASE OPEN;
v$dataguard_stats
References
MAA: http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm Oracle Database High Availability Best Practices 10g Release 2 (10.2): http://download.oracle.com/docs/cd/B19306_01/server.102/b25159/toc.htm Oracle Data Guard Concepts and Administration 10g Release 2 (10.2): http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/toc.htm Blog: http://www.ora-solutions.net/web/category/oracle-database/data-guard/ Papers: http://www.ora-solutions.net/web/papers/
Q&A