Oracle Standby Implementation Tantra Invedy. Standby Database Introduction Fail over Solution Disaster Recovery Solution if remote Ease of implementation.

Slides:



Advertisements
Similar presentations
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
Advertisements

INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Oracle High Availability Solutions RAC and Standby Database Copyright System Managers LLC 2008.
Oracle Architecture. Instances and Databases (1/2)
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
© 2015 Dbvisit Software Limited | dbvisit.com An Introduction to Dbvisit Standby.
1 Chapter 15 Duplicating Databases and Transporting Data.
Keith Burns Microsoft UK Mission Critical Database.
1 - Oracle Server Architecture Overview
Harvard University Oracle Database Administration Session 10 Database Backups.
Backup The flip side of recovery. Types of Failures Transaction failure –Transaction must be aborted System failure –Hardware or software problem resulting.
Harvard University Oracle Database Administration Session 2 System Level.
Database Backup and Recovery
RMAN Restore and Recovery
Backup and Recovery (2) Oracle 10g CAP364 1 Hebah ElGibreen.
Backup and Recovery Part 1.
CHAPTER 16 User-Managed Backup and Recovery. Introduction to User Managed Backup and Recovery Backup and recover is one of the most critical skills a.
Module 14: Scalability and High Availability. Overview Key high availability features available in Oracle and SQL Server Key scalability features available.
Oracle9i Database Administrator: Implementation and Administration
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
Agenda  Overview  Configuring the database for basic Backup and Recovery  Backing up your database  Restore and Recovery Operations  Managing your.
National Manager Database Services
Oracle backup and recovery strategy
Introduction to Oracle Backup and Recovery
Using RMAN to Perform Recovery
Backup & Recovery Concepts for Oracle Database
Proven Techniques for Maximizing Availability Maximum Availability Architecture Lawrence To, Shari Yamaguchi High Availability Systems Group Systems Technologies.
1 Data Guard Basics Julian Dyke Independent Consultant Web Version - February 2008 juliandyke.com © 2008 Julian Dyke.
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
Building Highly Available Systems with SQL Server™ 2005 Vineet Gupta Evangelist – Data and Integration Microsoft Corp.
13 Copyright © Oracle Corporation, All rights reserved. RMAN Complete Recovery.
5 Copyright © 2004, Oracle. All rights reserved. Using Recovery Manager.
Backup & Recovery Backup and Recovery Strategies on Windows Server 2003.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
4 Copyright © 2006, Oracle. All rights reserved. Recovering from Noncritical Losses.
Rajib Kundu Agenda Definitions Failover Cluster Database Snapshots Log shipping Database Mirroring.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
1 Oracle Architectural Components. 1-2 Objectives Listing the structures involved in connecting a user to an Oracle server Listing the stages in processing.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
1 Data Guard. 2 Data Guard Reasons for Deployment  Site Failures  Power failure  Air conditioning failure  Flooding  Fire  Storm damage  Hurricane.
Backup and Recovery Overview Supinfo Oracle Lab. 6.
Publish / Subscribe Database Log Shipping over Bittorent P2P CS 848 Fall 2006 Univeristy of Waterloo Project Presentation by N. T c h e r v e n s k i.
Week 3 Lecture 1 The Redo Log Files and Diagnostic Files.
Remote Data Mirroring Solutions for High Availability David Arrigo EMC Corporation
High Availability in DB2 Nishant Sinha
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
Ashish Prabhu Douglas Utzig High Availability Systems Group Server Technologies Oracle Corporation.
10 Copyright © Oracle Corporation, All rights reserved. User-Managed Backups.
CERN - IT Department CH-1211 Genève 23 Switzerland t High Availability Databases based on Oracle 10g RAC on Linux WLCG Tier2 Tutorials, CERN,
Enhancing Scalability and Availability of the Microsoft Application Platform Damir Bersinic Ruth Morton IT Pro Advisor Microsoft Canada
Overview of Oracle Backup and Recovery Darl Kuhn, Regis University.
12 Copyright © Oracle Corporation, All rights reserved. User-Managed Complete Recovery.
6 Copyright © 2007, Oracle. All rights reserved. Performing User-Managed Backup and Recovery.
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database.
6 Copyright © Oracle Corporation, All rights reserved. Backup and Recovery Overview.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
1 Implementing Oracle Data Guard for the RLS database Kasia Pokorska CERN, IT-DB 30 th March 2004.
Backup and Recovery.
Agenda Data Guard Architecture & Features
Recovery Catalog Creation and Maintenance
Maximum Availability Architecture Enterprise Technology Centre.
Introduction of Week 6 Assignment Discussion
SQL Server High Availability Amit Vaid.
Oracle9i Database Administrator: Implementation and Administration
Performing Database Recovery
Chapter 5 The Redo Log Files.
Introduction.
Presentation transcript:

Oracle Standby Implementation Tantra Invedy

Standby Database Introduction Fail over Solution Disaster Recovery Solution if remote Ease of implementation Minimum impact on Production System Read Only Standby Database

Fail Over and Disaster Recovery Solution Unplanned Outage Protection Primary host or machine failure or any physical outage Catastrophic failures such as fire, blizzard, earthquake Database corruption if detected in time Possible planned outage solution OS upgrade or maintenance. Fail over and fall back capabilities.

Ease of Implementation and minimum impact Basic recovery skills needed to maintain Oracle standby Archiving, transferring files, restoring files, recovery Very little impact on production database Only need to transfer archive files

New 8i Read only Standby Provide ability to query standby database Mutual exclusive from standby recovery Can not write to data files or online redo logs

Disadvantages Standby Database disadvantages  Lack of utilization, Cost, Not Scalable.  Non-logging operations are not propagated.  Potentially 2+ log files behind the production database. Can be minimized by mirroring redo log files.

Alternative Solutions Options  Hardware Fail Over (Fail Over)  OPS on Oracle 8i or RAC on Oracle 9i (Fail Over / Scalability)  Oracle 9i Logical Standby (Fail Over / DR)  EMC SRDF (Fail Over / DR)

Standby DB Architecture Understanding Logging and Non- Logging Operation  Any data modification / structural change is recorded in Oracle redo log files.  For performance reason, some operation can perform no logging operation. (index rebuild, Direct path load, CTAS)

Server Process Datafiles Log Buffer Buffer Cache Shared Pool Redo logs Archived logs LGWRDBWR ARC0

Standby DB Architecture Primary Database in Archivelog Mode  Archives are shipped to Standby site  Locally managed temporary tablespace (allows standby to be open read only) Standby Database in Recovery Mode  Applies archives  Independent from the production database

Standby DB Architecture Control will be updated from information contained in redo log files RFS will consume all of IO from primary Database archiver, then create archive files and update control file Recovery process will wake up every 15 seconds, look for archives to apply

Overview of Managed Oracle Standby DB Primary control file Standby control file Primary DBStandby DB Primary Instance Standby Instance Redo log Arc log ARCH RFS DBWR Recovery proc Arc log Net8

Activate Standby Database Open Read-Only Mode Recovery process is suspended when DB is in read only mode Activate Standby Database Resets online redo logs Pre-Clear online redo logs Incompatible with production Database

Refresh Standby Database Refresh entire Standby Database if Loss of any archive logs Production database undergoes a resetlogs operation Refresh parts of the standby database if No logging operation is performed Media corruption of certain standby datafiles

Refresh Standby database Controlfile Refresh of standby controlfile if Production controlfile is recreated with new parameter Standby controlfile is corrupted or destroyed

Consideration on Oracle Standby implementation On unplanned outage, data in online redo logs might be loss. Time to fail over depends on resetlogs operation. Only activate standby database in case of an emergency. Once activated the new primary does not have a standby database.

Consideration on Oracle Standby implementation Avoid no logging operations, as it corrupts the datafile on standby. Read only mode is mutually exclusive from Database recovery. It is a DR solution if implemented remotely.

Safeguarding Standby implementation Monitor Alert log files on both primary and standby databases Running a job to trigger online redo log switch at certain interval. Monitor archive log transfer status. Monitor no logging operations. Scripted procedures to rebuild standby. Perform thorough testing.

Testing before production deployment Creation of standby database Activation of standby database Performance of archive log transfer under heavy load. Maintenance of any structural changes on primary database. Failing back after activation of standby.

Q & A