DisasterRecoverywith. DisasterRecoverywith Oracle Data Guard10gR2



Similar documents
Oracle Data Guard for High Availability and Disaster Recovery

Oracle Data Guard. Caleb Small Puget Sound Oracle Users Group Education Is Our Passion

Oracle Data Guard Fast Start Failover understood!

Daniela Milanova Senior Sales Consultant

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into

Case Study: Oracle E-Business Suite with Data Guard Across a Wide Area Network

Maximum Availability Architecture

Oracle Database Backup & Recovery, Flashback* Whatever, & Data Guard

If you have not multiplexed your online redo logs, then you are only left with incomplete recovery. Your steps are as follows:

Data Guard Fast-Start Failover

Maximum Availability Architecture

Recover Oracle Database upon losing all Control Files

Use RMAN to relocate a 10TB RAC database with minimum downtime. Tao Zuo tao_zuo@npd.com NPD Inc. 9/2011

Maximum Availability Architecture. Oracle Best Practices For High Availability

HOW TO. RMAN Restore for Standby 10gR2

Oracle GoldenGate on Disaster Recovery

Maximize Availability With Oracle Database 12c

11. Configuring the Database Archiving Mode.

ORACLE DATABASE HIGH AVAILABILITY STRATEGY, ARCHITECTURE AND SOLUTIONS

Maximum Availability Architecture. Oracle Best Practices for High Availability

Batch Processing in Disaster Recovery Configurations Best Practices for Oracle Data Guard

Maximum Availability Architecture. Oracle Best Practices for High Availability. Oracle Active Data Guard Oracle Data Guard 11g

An Oracle White Paper June 11, Oracle Communications Billing and Revenue Management MAA on Oracle Engineered Systems

Techniques for implementing & running robust and reliable DB-centric Grid Applications

A Novel Approach of Using Data Guard for Disaster Recovery & Rolling Upgrades

Oracle Active Data Guard Far Sync Zero Data Loss at Any Distance

<Insert Picture Here> Pacific Gas and Electric Backup & Recovery Case Study

Oracle Data Recovery Advisor

DISASTER RECOVERY STRATEGIES FOR ORACLE ON EMC STORAGE CUSTOMERS Oracle Data Guard and EMC RecoverPoint Comparison

Oracle Database Backups and Disaster Autodesk

Disaster Recovery to the Oracle Public Cloud

Using Recovery Manager with Oracle Data Guard in Oracle Database 10g. An Oracle White Paper April 2009

Oracle Active Data Guard

Oracle 12c Recovering a lost /corrupted table from RMAN Backup after user error or application issue

Database Recovery For Newbies

Backup and Recovery Solutions for Exadata. Ľubomír Vaňo Principal Sales Consultant

Oracle Maximum Availability Architecture with Exadata Database Machine. Morana Kobal Butković Principal Sales Consultant Oracle Hrvatska

Backup and Recovery Solutions for Exadata. Cor Beumer Storage Sales Specialist Oracle Nederland

Disaster Recovery for Oracle Database

Oracle Database 10g: Backup and Recovery 1-2

An Oracle Technical White Paper October Oracle Data Guard 11g Data Protection and Availability for Oracle Database

Using Physical Replication and Oracle Database Standard Edition for Disaster Recovery. A Dbvisit White Paper

Why Not Oracle Standard Edition? A Dbvisit White Paper By Anton Els

Disaster Recovery to the Oracle Public Cloud

Sanovi DRM for Oracle Database

Rob Zoeteweij Zoeteweij Consulting

Disclaimer. Maximum Availability Architecture

A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES

Oracle server: An Oracle server includes an Oracle Instance and an Oracle database.

Oracle 11g DBA Training Course Content

12. User-managed and RMAN-based backups.

Maximum Availability Architecture. Oracle Best Practices For High Availability

Disaster Recovery Solutions for Oracle Database Standard Edition RAC. A Dbvisit White Paper

TECHNICAL REPORT. Nimble Storage Oracle Backup and Recovery Guide

Oracle DBA Course Contents

Hitachi-Oracle s BCM Platform Solution Verification Report on Oracle Active Data Guard

An Oracle White Paper March Oracle Data Guard Broker. Best Practices for Configuring Redo Transport for Data Guard and Active Data Guard 12c

Disaster Recovery of Tier 1 Applications on VMware vcenter Site Recovery Manager

High Availability with Postgres Plus Advanced Server. An EnterpriseDB White Paper

VMAX 3 AND ORACLE. Yaron Dar & Udgith Mankad VMAX Partner Engineering ORACLE BEST PRACTICES FOR REPLICATIONS, BACKUP/RECOVERY, AND PROTECTPOINT

Database High Availability. Solutions 2010

Backup/Recovery Strategy and Impact on Applications. Jacek Wojcieszuk, CERN IT Database Deployment and Persistancy Workshop October, 2005

RMAN BACKUP & RECOVERY. Recovery Manager. Veeratteshwaran Sridhar

Database high availability

Maximum Availability Architecture

Oracle Database Disaster Recovery Using Dell Storage Replication Solutions

Twee remedies tegen systeemuitval en datacorruptie [RAC en Data Guard]

High Availability Infrastructure for Cloud Computing

ORACLE DATABASE ADMINISTRATOR RESUME

Backup Server: User Manual. Version 2.1-p2

Ultimate Guide to Oracle Storage

SAP HANA Operation Expert Summit BUILD - High Availability & Disaster Recovery

Setup Flashback Database on Data Guard Physical Standby Database for SAP Customers

Backup Types. Backup and Recovery. Categories of Failures. Issues. Logical. Cold. Hot. Physical With. Statement failure

ORACLE INSTANCE ARCHITECTURE

Oracle9i Data Guard: SQL Apply Best Practices. An Oracle White Paper September 2003

Data Integration Overview

Deloitte Solutions Network (SNET) Disaster Recovery POC on Amazon EC2

Best Practices White Paper Using Oracle Database 10g Automatic Storage Management with FUJITSU Storage

Seamless Application Failover with Oracle Data Guard

Connectivity. Alliance Access 7.0. Database Recovery. Information Paper

RMAN What is Rman Why use Rman Understanding The Rman Architecture Taking Backup in Non archive Backup Mode Taking Backup in archive Mode

Backup and Recovery. Oracle RMAN 11 g. Oracle Press ORACLG. Matthew Hart. Robert G. Freeman. Mc Graw Hill. Lisbon London Madrid Mexico City Milan

Deploying Active-Active Data Centers Using Oracle Database Solutions

Oracle Failover Database Cluster with Grid Infrastructure 12c Release 1

Oracle Maximum Availability Architecture Best Practices for Oracle Exadata (CON8392)

Restore and Recovery Tasks. Copyright 2009, Oracle. All rights reserved.

ASM and for 3rd Party Snapshot Solutions - for Offhost. Duane Smith Nitin Vengurlekar RACPACK

High Availability & Disaster Recovery. Sivagopal Modadugula/SAP HANA Product Management Session # 0506 May 09, 2014

Oracle Recovery Manager 10g. An Oracle White Paper November 2003

BUSINESS CONTINUITY AND DISASTER RECOVERY FOR ORACLE 11g

What's the Point of Oracle Checkpoints? Harald van Breederode Oracle University 29-OCT-2009

ENHANCING ORACLE DATABASE PROTECTION WITH EMC RECOVERPOINT

High Availability Infrastructure of Database Cloud: Architecture, Best Practices. Kai Yu Oracle Solutions Engineering, Dell Inc.

Contents. SnapComms Data Protection Recommendations

Best Practices for Synchronous Redo Transport

The Future of PostgreSQL High Availability Robert Hodges - Continuent, Inc. Simon Riggs - 2ndQuadrant

LOGGING OR NOLOGGING THAT IS THE QUESTION

D12CBR Oracle Database 12c: Backup and Recovery Workshop NEW

Oracle 11gR2 : Recover dropped tablespace using RMAN tablespace point in time recovery

Transcription:

DisasterRecoverywith Martin Decker DisasterRecoverywith Oracle Data Guard10gR2 Martin Decker, January 2009

Overview Definitions High Availability, DisasterRecovery, 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/monthor 87,66 hrs/year 99,9% 43,8 min/monthor8,76 hrs/year 99,99% 4,38 min/monthor52,6 min/year 99,999% 26,3 sec/monthor5,26 min/year Disaster Recovery Fast Recovery after Failure of data center

Oracle High Availability Oracle Real Application Cluster (incl. Stretch-Cluster) SharedStorage datafile corruption => Downtime and time-consuming restore. Oracle Data Guard Switchover/Failover at Primary Failure Switchover/Failover within seconds/minutes

Oracle Maximum Availability Architecture(MAA) Oracle Maximum Availability Architecture(MAA) is an Oracle best practices blueprint based on proven Oracle high-availability technologies and recommendations HA app server connect to current primary(automatically) Real Application Clusters (RAC) against instance crashes DataGuard against Site/Storage failures Redundant RAC Interconnet Dedicated Network between Primary & Standby Reference: http://www.oracle.com/technology/deploy/availability/htdocs/maaoverview.html

Oracle Data Guard Management via SQL*Plus Oracle Enterprise Manager dgmgrl

Oracle Data Guard Transport Modes ARCH LGWR ASYNC (improved in 10.2) LGWR SYNC Protection Modes Maximum Protection (LGWR, SYNC, AFFIRM, Standby Redo Logs) Maximum Availability (LGWR, SYNC, AFFIRM, Standby Redo Logs) Maximum Performance (LGWR oder ARCH)

Physical Standby Switchover Database Site: Munich: SQL> SELECT SWITCHOVER_STATUS FROM V$DATABASE; SQL> ALTER DATABASE COMMIT TO SWITCHOVER TO PHYSICAL STANDBY; SQL> SHUTDOWN IMMEDIATE; SQL> STARTUP MOUNT; Roles before: Munich Primary Role, Hamburg Standby Role SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT; Zeit Database Site: Hamburg Attention with RAC: SWITCHOVER_STATUSstays SESSIONS ACTIVE, becauseclusterware ismonitoringinstancewitha loggedin 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; Roles afterwards: Munich Standby Role, Hamburg Primary Role

Physical Standby Failover Roles before: Munich failed, Hamburg Standby Role Database Site: Munich 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 time Database Site: Hamburg To avoid data loss, get all available redo data from Primary, then: SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH FORCE; SQL> ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY; SQL> ALTER DATABASE OPEN; Roles afterwards: Munich failed, Hamburg Primary Role

Oracle Data Guard Monitoring Transport Lag (in sec) Apply Lag (in sec)

Oracle Data Guard Monitoring

Oracle Data Guard Monitoring SELECT SUM(DECODE(name, 'apply finish time', value, 0)) FOT, SUM(DECODE(name, 'apply lag', value, 0)) LAG, SUM(DECODE(name, 'transport lag', value, 0)) PDL from ( SELECT name, extract(day from p.val) * 86400 + ) from ( ) p Source:Oracle Enterprise Manager Grid Control extract(hour from p.val) * 3600 + extract(minute from p. val) * 60 + extract(second from p.val) value SELECT name, to_dsinterval(value) val from v$dataguard_stats

Oracle Data Guard Tuning TCP Send/Receive Buffers Formula: 3 * BDP(Bandwith Delay Product) 3 * (1 GBit/sec * 0.8 msroundtrip Time) 3 * (125,000,000 Bytes / sec * 0,0008 sec ) = 300,000 Bytes Multiple of SDU => 327670 Bytes. SDU=32767 http://www.oracle.com/technology/deploy/availability/pdf/maa_wp_10gr2_dataguardnetworkbestpractices.pdf

Oracle Data Guard 10g/11g New Featues 10g: 11g: Realtime Apply, Open Read Write, then manual Flashback to before Open Realtime-query (read-only) capability of physical Standby while applying redo Snapshot standby DB open in read/write mode, Receives redo, but does not apply redo while being open read/write. Statspack on primary for read-only standby performance management (MetaLink 454848.1)

References MAA: http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm Oracle Database High Availability Best Practices 10gRelease 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