Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Similar documents
Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13

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

Oracle Database 11g Data Guard

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Top Oracle Database 11g High Availability Best Practices

Safe Harbor Statement

Eliminate Idle Redundancy with Oracle Active Data Guard

Oracle 1Z Oracle Database 12c: Data Guard Administration. Download Full version :

Deploying the Zero Data Loss Recovery Appliance in a Data Guard Configuration ORACLE WHITE PAPER MARCH 2018

Oracle Database 12c: Data Guard Administration

Copyright 2018, Oracle and/or its affiliates. All rights reserved.

Oracle Active Data Guard

Oracle Database 12c: Data Guard Administration LVC

Oracle Active Data Guard

Database Tables to Storage Bits: Data Protection Best Practices for Oracle Database

Global Data Services (GDS)

Oracle10g Data Guard: Back to the Future

CO Oracle Database 12c: Data Guard Administration

ZDLRA High Availability for Backup and Recovery

Question No: 1 Which two statements are true for Data Guard environments with multi-tenant databases?

Oracle 12c Dataguard Administration (32 Hours)

Maximum Availability Architecture (MAA): Oracle E-Business Suite Release 12

Chapter. Data Guard Architecture

CO Oracle Database 11g: Data Guard Administration

Sessions Related to Database High Availability

Oracle Database 12c: Dataguard Administration

Database Tables to Storage Bits: Data Protection Best Practices for Oracle Database

ORACLE DATA GUARD REAL WORLD EXAMPLES AND TROUBLESHOOTING

Oracle Data Guard in Oracle Database 10g Release 2 Business Continuity for the Enterprise. An Oracle White Paper November 2006

Oracle DataGuard 10gR2

Oracle MAA Blueprints for Oracle Cloud Infrastructure (OCI) Deployments

Oracle Active Data Guard - Overview

1Z Oracle Database 12c - Data Guard Administration Exam Summary Syllabus Questions

<Insert Picture Here> Maximum Availability Architecture (MAA) Best Practices: Online Patching and Rolling Upgrades with Oracle Database

Maximum Availability Architecture on Dell PowerEdge Servers and Dell/EMC Storage over Wide Area Networks

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Oracle 11g Data Guard Manual Failover Steps

Oracle Maximum Availability Architecture Best Practices for Oracle Multitenant

The Right Choice for DR: Data Guard, Stretch Clusters, or Remote Mirroring. Ashish Ray Group Product Manager Oracle Corporation

Oracle Active Data Guard Far Sync with Axxana Phoenix for Oracle O R A C L E W H I T E P A P E R S E P T E M B E R

Oracle MAA Reference Architectures

Oracle Maximum Availability Architecture for Oracle Cloud

Mike Hughes Allstate Oracle Tech Lead, Oracle Performance DBA

SAN for Business Continuity

Oracle MAA Blueprints for Oracle Bare Metal Cloud Deployments

Oracle Database 18c and Autonomous Database

Oracle Database 12c High Availability For Consolidation and Cloud Deployments

for Backup & Recovery & Failover

The Fastest and Most Cost-Effective Backup for Oracle Database: What s New in Oracle Secure Backup 10.2

Zero Data Loss Recovery Appliance DOAG Konferenz 2014, Nürnberg

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE

Comparing Data Protection Solutions: Database-Integrated or Storage-Centric

Maximum Availability Architecture. Oracle Best Practices for High Availability. Reducing Siebel Downtime with a Local Standby Database

Oracle Database 10g: Data Guard Administration

Internals of Active Dataguard. Saibabu Devabhaktuni

Exadata Implementation Strategy

New England Data Camp v2.0 It is all about the data! Caregroup Healthcare System. Ayad Shammout Lead Technical DBA

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved.

Data Guard Deep Dive

Rishi Mohan Awasthi 1, Rishi Kumar 2, Raghav Garg 3 1,2,3 B.Tech, Computer Science & Engineering, IMS Engineering College, Ghaziabad

Expert Oracle GoldenGate

Exadata Implementation Strategy

OTN Case Study: Amadeus Using Data Guard for Disaster Recovery & Rolling Upgrades

Oracle Data Guard Tips and Tricks Direct from Oracle Development

This presentation is for informational purposes only and may not be incorporated into a contract or agreement.

Database Level 100. Rohit Rahi November Copyright 2018, Oracle and/or its affiliates. All rights reserved.

Data Guard Maximum Availability

You'll even like your Data Guard more with Flashback

Maximize Availability on Private Clouds

Maximum Availability Architecture: Overview. An Oracle White Paper July 2002

Reasons to Deploy Oracle on EMC Symmetrix VMAX

Data Guard: Setup and Administration. By Ashok Kapur Hawkeye Technology, Inc.

Announcing Oracle Secure Backup 10.3: Fastest, Most Cost-Effective Oracle Backup

Oracle Database 11g: SQL Fundamentals I

Data Guard. Author & Presenter: Nassyam Basha Date: 27-FEB-2015

ORACLE 10g/9i DATA GUARD LOGICAL STANDBY DATABASE

Best Practices for Disaster Recovery in Oracle Cloud Infrastructure ORACLE WHITE PAPER AUGUST 2018

Oracle OpenWorld 14 Oracle Active Data Guard and Oracle GoldenGate High-Availability Best Practices

<Insert Picture Here> Exadata MAA Best Practices Series Session 1: E-Business Suite on Exadata

Moving Databases to Oracle Cloud: Performance Best Practices

Physical Standby Design concepts and practices. Dresdner-Cetelem Kreditbank, 1. Februar 2010, Seite 1

Key Features. High-performance data replication. Optimized for Oracle Cloud. High Performance Parallel Delivery for all targets

Zero Data Loss Recovery Appliance: Deep Dive and Best Practices from Development

Steps Create Physical Standby Database Oracle 9i

Minimal downtime migration

ZDLRA implementation at CFM

<Insert Picture Here> Exadata MAA Best Practices Series Session 6: Migrating to Exadata

Oracle Database 11g for Experienced 9i Database Administrators

Oracle Zero Data Loss Recovery Appliance (ZDLRA)

ORACLE STANDBY LICENSING OPERATING INSTRUCTIONS EBOOK

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Speeding Oracle Database Replication with F5 WAN Optimization Technologies

An Oracle White Paper April Deploying Oracle Data Guard with Oracle Database Appliance

Oracle Zero Data Loss Recovery Appliance

enterprise professional expertise distilled Implementer's guide Oracle GoldenGate 11g

August Oracle - GoldenGate Statement of Direction

Oracle Multitenant What s new in Oracle Database 12c Release ?

Oracle Advanced Compression: Reduce Storage, Reduce Costs, Increase Performance Bill Hodak Principal Product Manager

PPL Automatic Failover Data Guard 10g Release 2 High Availability & Disaster Recovery

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

Transcription:

1

Oracle Data Guard 12c Zero Data Loss at Any Distance Joseph Meeks Director of Product Management, Oracle Madhu Tumma Technology Director, J P Morgan Chase 2

Program Agenda Zero Data Loss Disaster Protection - The Basics Challenge / Compromise Solution JPMorgan Chase & Co - Walk the Walk 3

Basic Principle of Zero Data Loss Requires Synchronous Communication Commit Ack Network Ack Commit Network Send Primary Standby The greater the distance, the larger the performance impact 4

Geographic Separation and Disaster Recovery DR Deployed at Distances Too Far for Synchronous Replication Typical Distance Between Primary and DR sites Greater than 300 miles Less than 100 miles 100-300 miles 233 Responses in an IOUG Survey - 2012 5

Forces Compromise Pick your poison: Sacrifice performance for zero data loss Deploy storage forwarding solutions Accept data loss and more downtime 6

Trade-off Performance for Zero Data Loss Customer Performance Tests RTT Latency Network Round Trip milliseconds Data Guard Primary Database Performance Impact Remote Mirroring Primary Database Performance Impact 0 4% 3% 10 4% 26% 15-20 10% 39% http://www.oracle.com/technetwork/database/features/availability/dataguardremotemirroring-086151.html 7

Deploy Storage Forwarding Solutions EMC Extended Distance Replication: An Example SRDF/S SRDF/A Synchronous storage mirroring to intermediate Symmetrix array Asynchronous forwarding to remote Symmetrix array for disaster recovery http://www.emc.com/collateral/hardware/technical-documentation/300-006-714-srdf-zero-data-loss-solutions-ext-distance-replication.pdf 8

Storage Remote-Mirroring: Fundamental Flaw Zero Oracle Awareness, Mirrors Every Write for Real-Time Protection Primary Database Oracle Instance (in memory) Remote Volumes Recovery files Remote mirror all changed blocks SYNC or ASYNC Recovery files Oracle data files Oracle data files 9

Deploy Data Guard Multi-Standby A Better Solution Primary SYNC Local Standby ASYNC Remote Standby Local synchronous standby HA failover with zero data loss Remote asynchronous standby for geo protection Data Guard Real-Time Cascade - new with Oracle Database 12c Many advantages: Best data protection, multiple recovery options, planned maintenance, testing 10

Data Guard: Fundamentally Best for Oracle Data Oracle Aware - Simple, Efficient, Physical Replication Primary Database Oracle Instance (in memory) database redo SYNC or ASYNC Standby Database Oracle Instance (in memory) Recovery files Recovery files Oracle data files 95% less network I/O 85% less network volume Knowledge of Oracle redo and block structures used to prevent corruption Oracle data files 11

Multi-Standby Configuration Not Ideal for All Requirements If zero data loss failover to the remote DR site is the only requirement, then multi-standby configuration would: Increase hardware, software, and support costs Increase downtime for two-step failover to the remote DR site Step 1: Failover to local standby Step 2: Switchover remote standby where production will run 12

Result: Accept Data Loss and Downtime The Compromise Chosen by Many Enterprises for Long-Distance DR Asynchronous transport Data Guard Maximum Performance Least cost with fast, single step role transition Failover means data loss Data loss poses a dilemma that increases downtime: What data will I lose if I failover? How will lost data impact the business? Instead of failing over, can I repair the problem and avoid data loss? 13

Data Guard 12c Far Sync Putting an End to Compromise 14

Data Guard Far Sync Transformation: From Compromise to Zero Data Loss Protection Primary ASYNC Remote Standby Start with any existing Data Guard configuration In this example Data Guard Maximum Performance/ASYNC with remote standby 15

Data Guard Far Sync Transformation: From Compromise to Zero Data Loss Protection Far Sync Primary ASYNC Remote Standby Deploy a light-weight Far Sync instance on a separate server Oracle instance, standby control file, redo and archived redo log files No user data files, no media recovery Locate the Far Sync instance at the maximum distance from the primary where performance SLAs can tolerate the impact of synchronous redo transport 16

Data Guard Far Sync Transformation: From Compromise to Zero Data Loss Protection Primary SYNC Far Sync ASYNC Remote Standby Configure the primary to ship redo synchronously to the Far Sync instance Configure Far Sync to forward redo asynchronously to the remote standby Supports up to 29 remote destinations Can also compress redo to conserve WAN bandwidth (requires ACO license) Standard RMAN deletion policies automate archive log management An alternate Far Sync instance on a separate server can be used for HA (not shown) 17

Data Guard Far Sync Primary Failure No Problem Primary Far Sync ASYNC Remote Standby Far Sync completes sending redo for all committed transactions 18

Data Guard Far Sync Zero Data Loss Failover Primary Far Sync Single-Step Role Transition New Primary Far Sync confirms that the configuration is in zero data loss state Fast, single-step, zero data loss failover to remote standby Same failover command as for any Data Guard configuration Manual or automatic using Data Guard Fast-Start Failover Same transparency during planned switchovers for testing or maintenance 19

Far Sync Pre-reqs Compatibility with other platforms in the Data Guard configuration My Oracle Support Note 413484.1 e.g. Far Sync for an Exadata configuration can be deployed on any Linux platform, or even on Windows Minimal storage requirements You decide how much storage to allocate for archive logs should transmission be interrupted resolve gaps without impacting primary Minimal CPU, memory, or I/O No recovery, no data files, production never runs on the Far Sync instance 20

Far Sync Instance Creation Simple and Lightweight Create a control file using a mounted primary SQL> ALTER DATABASE CREATE FAR SYNC INSTANCE CONTROLFILE AS '/tmp/fs1.ctl'; Copy the server parameter file (SPFILE) and password file used by the primary database Several initialization parameters are also modified for Far Sync Copy the control file to the Far Sync instance Create standby redo log files at the Far Sync instance Start the Far Sync instance DATABASE_ROLE column in V$DATABASE will show FAR SYNC 21

Redo Transport Details Without Far Sync Maximum Performance, all Failovers Result in Data Loss PROD LOG_ARCHIVE_CONFIG='DG_CONFIG=(PROD, DR)' LOG_ARCHIVE_DEST_2='SERVICE=DR DB_UNIQUE_NAME=DR VALID_FOR=(PRIMARY_ROLE,ONLINE_LOGFILE)' LOG_ARCHIVE_DEST_STATE_2=ENABLE DR LOG_ARCHIVE_CONFIG='DG_CONFIG=(PROD, DR)' LOG_ARCHIVE_DEST_2='SERVICE=PROD DB_UNIQUE_NAME=PROD VALID_FOR=(PRIMARY_ROLE,ONLINE_LOGFILE)' LOG_ARCHIVE_DEST_STATE_2=ENABLE 22

Add Far Sync and Designate DR as Alternate Maximum Availability Zero Data Loss FS1 Ship to DR DR LOG_ARCHIVE_CONFIG='DG_CONFIG=(FS1, PROD, DR)' LOG_ARCHIVE_DEST_2='SERVICE=DR DB_UNIQUE_NAME=DR VALID_FOR=(STANDBY_ROLE,STANDBY_LOGFILE)' LOG_ARCHIVE_DEST_STATE_2=ENABLE LOG_ARCHIVE_CONFIG='DG_CONFIG=(FS1, PROD, DR) PROD SYNC to FS1 DR is Alternate LOG_ARCHIVE_CONFIG='DG_CONFIG=(FS1, PROD, DR)' LOG_ARCHIVE_DEST_STATE_2=ALTERNATE LOG_ARCHIVE_DEST_3='SERVICE=FS1 SYNC AFFIRM MAX_FAILURE=1 ALTERNATE=LOG_ARCHIVE_DEST_2 DB_UNIQUE_NAME=FS1 VALID_FOR=(PRIMARY_ROLE,ONLINE_LOGFILE)' LOG_ARCHIVE_DEST_STATE_3=ENABLE 23

Add Second Far Sync Destination for HA Maintain Zero Data Loss if Far Sync Server Outage FS2 Ship to DR LOG_ARCHIVE_CONFIG='DG_CONFIG=(FS2, PROD, DR)' LOG_ARCHIVE_DEST_2='SERVICE=DR DB_UNIQUE_NAME=DR VALID_FOR=(STANDBY_ROLE,STANDBY_LOGFILE)' LOG_ARCHIVE_DEST_STATE_2=ENABLE DR LOG_ARCHIVE_CONFIG='DG_CONFIG=(FS1, FS2, PROD, DR)' PROD FS2 is alternate in place of DR LOG_ARCHIVE_CONFIG='DG_CONFIG=(FS1, FS2, PROD, DR)' LOG_ARCHIVE_DEST_2='SERVICE=FS2 SYNC AFFIRM DB_UNIQUE_NAME=FS2 VALID_FOR=(PRIMARY_ROLE,ONLINE_LOGFILE) LOG_ARCHIVE_DEST_STATE_2=ALTERNATE 24

Data Guard Broker and Far Sync Automatically configures ASYNC redo transport from PROD to FS1 DGMGRL> ADD FAR_SYNC_INSTANCE FS1 AS CONNECT IDENTIFIER is FS1; Manually configure DR to receive from FS1 using RedoRoutes DGMGRL> EDIT FAR_SYNC_INSTANCE FS1 SET PROPERTY RedoRoutes= (PROD:DR ASYNC) ; Manually configure primary to only ship to FS1 and modify to SYNC DGMGRL> EDIT DATABASE PROD SET PROPERTY RedoRoutes= (LOCAL:FS1 SYNC) ; 25

Distance Between Far Sync & Primary? Impossible to completely escape the impact of RTT network latency on performance For best protection, locate the Far Sync instance at the maximum distance an application can tolerate synchronous transport Different applications will have different tolerance to RTT latency New Data Guard 12c Fast Sync will increase the practical distance Near-zero performance impact if network RTT is less than local I/O time 26

Data Guard 12c Synchronous Transport Process Architecture same as Data Guard 11g Release 2 User Transactions Queries, Updates, DDL Commit Primary Online Redo Logs Queries Reports Testing Backups SGA Redo Buffer LGWR NSS Oracle Net RFS Standby Redo Logs MRP Primary Database Active Standby 27

Introducing Data Guard 12c Fast Sync Net Reduction in Round-Trip Time Improves Performance User Transactions Queries, Updates, DDL Commit Primary Online Redo Logs Queries Reports Testing Backups SGA Redo Buffer LGWR NSS Oracle Net RFS Standby Redo Logs MRP Primary Database LOG_ARCHIVE_DEST_3='SERVICE=stby1 SYNC NOAFFIRM' Active Standby 28

Data Guard 12c The Evolution Continues Production Offload, HA, Data Protection Far Sync zero data loss and production offload WAN zero data loss failover to remote standby Off-host redo transport compression requires ACO Gap resolution Serve up to 29 remote destinations Expand reporting offload to Active Standby DML to global temp tables Sequence support Use cascaded destination for up-to-date reporting Real-Time Cascade HA Upgrade - automation for database rolling upgrades Performance, Manageability, Feature Support Fast Sync Data Guard Broker Validate database - role change readiness Resumable switchover Automatic lag monitoring based on user configurable thresholds Support for cascaded standby and real-time cascade Configurable Broker tracing Support for Container Databases Separation of Duties - Data Guard Administrative Privilege 29

ASYNC transport mode

Data Guard Far Sync Putting an End to Compromise Zero Data Loss at any distance High Performance Simple Low Cost 41

Resources OTN Data Guard Portal: www.oracle.com/goto/dataguard OTN HA Portal: www.oracle.com/goto/availability Maximum Availability Architecture (MAA): www.oracle.com/goto/maa MAA Blogs: http://blogs.oracle.com/maa Oracle HA Customer Success Stories on OTN: www.oracle.com/technetwork/database/features/ha-casestudies-098033.html 42

Key HA Sessions and Demos by Oracle Development Monday, 1 October Moscone South 12:30p Oracle Data Guard Zero-Data-Loss Protection at Any Distance, 300 12:30p Future of Exadata: OLTP, Warehousing, and Consolidation, 104 1:45p Automating ILM with the Latest Database Technology, 300 1:45p Extracting Data in Oracle GoldenGate Integrated Capture Mode, 102 3:15p Maximize Availability with the Latest Database Technology, 303 3:15p Maximize Enterprise Availability with the Latest DB Technology, 303 4:45p Mission-Critical Oracle Exadata OLTP Deployment at PayPal, 300 4:45p Temporal Database Capabilities with the Latest DB Technology, 300 Tuesday, 2 October Moscone South 10:15a Database Tables to Storage Bits: Data Protection Best Practices, 300 10:15a GoldenGate & Data Guard: Working Together Seamlessly, 305 11:45a Active Data Guard Zero-Downtime Database Maintenance, 300 11:45a Using Automatic Storage Mgmt with the Latest DB Technology, 301 1:15p The Four Ts of RMAN: Tips, Tuning, Troubleshooting, and?, 102 5:00p Maximum Availability Architecture Best Practices for Exadata, 303 Demos Mon 10:00a-6:00p - Tue 9:45a-6:00p - Wed 9:45a-4:00p Oracle Maximum Availability Architecture, S-011 GoldenGate 11gR2: Real-Time, Transactional DB Replication, S-027 Oracle Database 12c: Global Data Services, S-010 Oracle Database 12c Application Continuity - S-009 Wednesday, 3 October Moscone South 10:15a Operational Best Practices for Oracle Exadata, 102 10:15a Maximize Availability by Minimizing Disruption for End Users and Application, 301 11:45a What s New in the Latest Generation of Oracle RAC, 301 11:45a Best Practices for HA w/ GoldenGate on Oracle Exadata, 102 1:15p Oracle Secure Backup: Integration Best Practices with Engineered Systems, 300 1:15p Application MAA Best Practices on Oracle Private Clouds, 200 5:00p Tuning &Troubleshooting Oracle GoldenGate on Oracle, 102 Thursday, 4 October Moscone South 11:15a Integrate Your Globally Distributed Databases for Key Cloud Computing Benefits, 300 12:45p Backup and Recovery of Oracle Exadata: Experiences and Best Practices, 300 Oracle Secure Backup, S-014 Oracle Active Data Guard, S-007 Oracle Recovery Manager and Oracle Flashback Technologies, S-019 Oracle Real Application Clusters and Oracle RAC One Node - S-008 Oracle Database 12c Xstream, Streams, Advanced Queing, S-018 43 After OpenWorld, visit oracle.com/goto/availability

The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle s products remains at the sole discretion of Oracle. 44

Graphic Section Divider 45

46