1 Copyright © 2007, Oracle. All rights reserved. Realistic Testing Setting Up the Test Environment.

Slides:



Advertisements
Similar presentations
ORACLE DATABASE HIGH AVAILABILITY & ORACLE 11GR2 DATA GUARD 1 Güneş EROL.
Advertisements

ITEC474 INTRODUCTION.
2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Oracle High Availability Solutions RAC and Standby Database Copyright System Managers LLC 2008.
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
Deployment Agility Through Tier Testing Hanan Hit, NoCOUG President 2009.
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
FlareCo Ltd ALTER DATABASE AdventureWorks SET PARTNER FORCE_SERVICE_ALLOW_DATA_LOSS Slide 1.
Managing Change with Real Application Testing and Snapshot Standby Barry Hodges Senior Solution Architect, Sales Consulting, Oracle NZ.
1 © Copyright 2010 EMC Corporation. All rights reserved. EMC RecoverPoint/Cluster Enabler for Microsoft Failover Cluster.
Keith Burns Microsoft UK Mission Critical Database.
10 Copyright © 2009, Oracle. All rights reserved. Managing Undo Data.
EIM April 19, Robin Weaver 13 Years with IBM Prior to Assignment at UNC Charlotte Range of Database Development/Data Management Projects and Products.
1© Copyright 2011 EMC Corporation. All rights reserved. EMC RECOVERPOINT/ CLUSTER ENABLER FOR MICROSOFT FAILOVER CLUSTER.
9 Copyright © Oracle Corporation, All rights reserved. Oracle Recovery Manager Overview and Configuration.
1 Data Guard Basics Julian Dyke Independent Consultant Web Version - February 2008 juliandyke.com © 2008 Julian Dyke.
20 Copyright © 2004, Oracle. All rights reserved. Database Recovery.
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.
Chapter 10 : Designing a SQL Server 2005 Solution for High Availability MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design.
ORACLE 10g DATA GUARD BROKER Ritesh Chhajer Sr. Oracle DBA.
It is one of the techniques to create a stand by server. Introduced in SQL 2000,enhanced in It is a High Availability as well as Disaster recovery.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
4 Copyright © 2006, Oracle. All rights reserved. Recovering from Noncritical Losses.
11g(R1/R2) Data guard Enhancements Suresh Gandhi
Rajib Kundu Agenda Definitions Failover Cluster Database Snapshots Log shipping Database Mirroring.
5 Copyright © 2004, Oracle. All rights reserved. Controlling the Database.
15 Copyright © 2007, Oracle. All rights reserved. Performing Database Backups.
18 Copyright © Oracle Corporation, All rights reserved. Workshop.
Daniela Anzellotti Alessandro De Salvo Barbara Martelli Lorenzo Rinaldi.
1 Data Guard. 2 Data Guard Reasons for Deployment  Site Failures  Power failure  Air conditioning failure  Flooding  Fire  Storm damage  Hurricane.
1 Copyright © 2004, Oracle. All rights reserved. Introduction.
Backup and Recovery Overview Supinfo Oracle Lab. 6.
7 Copyright © 2004, Oracle. All rights reserved. Recovering from Noncritical Losses.
7 Copyright © 2005, Oracle. All rights reserved. Managing Undo Data.
8 Copyright © Oracle Corporation, All rights reserved. Configuring the Database Archiving Mode.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
10 Copyright © Oracle Corporation, All rights reserved. User-Managed Backups.
Oracle Database Architecture By Ayesha Manzer. Automatic Storage Management Spreads database data across all disks Creates and maintains a storage grid.
12 Copyright © Oracle Corporation, All rights reserved. User-Managed Complete Recovery.
18 Copyright © 2004, Oracle. All rights reserved. Backup and Recovery Concepts.
2 Copyright © 2007, Oracle. All rights reserved. Configuring for Recoverability.
CERN IT Department CH-1211 Genève 23 Switzerland 1 Active Data Guard Svetozár Kapusta Distributed Database Operations Workshop November.
2 Copyright © 2006, Oracle. All rights reserved. Configuring Recovery Manager.
16 Copyright © 2005, Oracle. All rights reserved. Performing Database Recovery.
3 Copyright © 2007, Oracle. All rights reserved. Using the RMAN Recovery Catalog.
18 Copyright © 2004, Oracle. All rights reserved. Recovery Concepts.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
1 Chapter Overview Using Standby Servers Using Failover Clustering.
6 Copyright © Oracle Corporation, All rights reserved. Backup and Recovery Overview.
19 Copyright © 2004, Oracle. All rights reserved. Database Backups.
Agenda Data Guard Architecture & Features
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
2 Copyright © 2005, Oracle. All rights reserved. Installing Oracle Software and Creating the Database.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
2 Copyright © 2007, Oracle. All rights reserved. Realistic Testing Using Database Replay.
1 Implementing Oracle Data Guard for the RLS database Kasia Pokorska CERN, IT-DB 30 th March 2004.
9 Copyright © 2005, Oracle. All rights reserved. Managing Undo Data.
10 Copyright © 2007, Oracle. All rights reserved. Managing Undo Data.
Calgary Oracle User Group
Oracle Database 11g: Change Management Overview Seminar
Maximum Availability Architecture Enterprise Technology Centre.
Introduction of Week 6 Assignment Discussion
SpiraTest/Plan/Team Deployment Considerations
Introduction.
Oracle Data Guard Broker Session-3
Oracle Data Guard Session-4
Presentation transcript:

1 Copyright © 2007, Oracle. All rights reserved. Realistic Testing Setting Up the Test Environment

Copyright © 2007, Oracle. All rights reserved Objectives After completing this lesson, you should be able to: Identify the challenges that result from system changes Set up snapshot standby for database testing

Copyright © 2007, Oracle. All rights reserved Challenges Faced by DBAs When Performing Changes Maintaining service-level agreements through changes to hardware or software configurations Offering production-level workload environment for testing purposes Effectively forecasting and analyzing impact on SQL performance

Copyright © 2007, Oracle. All rights reserved Change Is the Only Constant Change is the most common cause of instability. Enterprise production systems are complex. Actual workloads are difficult to simulate. Realistic testing before production is impossible. Reluctance to make changes Inability to adopt new competitive technologies Preserve order amid change. possible!

Copyright © 2007, Oracle. All rights reserved Life Cycle of Change Management Make change Set up test environments (snapshot standbys) Diagnose and resolve problems (advisors) Test (Database Replay or SQL Performance Analyzer) Patches and workarounds Realistic testing Diagnose problems Provision for production

Copyright © 2007, Oracle. All rights reserved Life Cycle of Change Management Make change Set up test environments Test Patches and workarounds (Enterprise Manager) Provisioning automation Diagnose problems (ADR/Support Workbench) Provision for production (rolling upgrades) Diagnose and resolve problems

Copyright © 2007, Oracle. All rights reserved Setting Up the Test Environment by Using the Snapshot Standby Database Physical standby database Redo stream Perform testing Snapshot standby database Open database as snapshot standby Back out testing changes Redo stream

Copyright © 2007, Oracle. All rights reserved Benefits of Snapshot Standby A snapshot standby database is activated from a physical standby database. Redo stream is continually accepted. –Provides for disaster recovery Users can continue to query or update. –Snapshot standby is open read/write. –Benefits reporting applications Reduces storage requirements

Copyright © 2007, Oracle. All rights reserved Using SQL to Create a Snapshot Standby Database Activate the snapshot standby database: Convert the snapshot standby database back to a physical standby database: SQL> ALTER DATABASE CONVERT TO SNAPSHOT STANDBY; SQL> ALTER DATABASE CONVERT TO PHYSICAL STANDBY;

Copyright © 2007, Oracle. All rights reserved Using DGMGRL to Create a Snapshot Standby Database Activate the snapshot standby database: Convert the snapshot standby database back to a physical standby database: Add a snapshot standby database to a broker configuration: DGMGRL> CONVERT DATABASE >TO SNAPSHOT STANDBY; DGMGRL> CONVERT DATABASE >TO PHYSICAL STANDBY; DGMGRL> ADD DATABASE AS > CONNECT IDENTIFIER IS ;

Copyright © 2007, Oracle. All rights reserved Viewing Snapshot Standby Database Information View the database role by querying V$DATABASE : SQL> SELECT database_role FROM v$database; DATABASE_ROLE SNAPSHOT STANDBY

Copyright © 2007, Oracle. All rights reserved Using DGMGRL to View Snapshot Standby Database Information DGMGRL> show configuration Configuration Name: DGConfig Enabled: YES Protection Mode: MaxPerformance Databases: orcl - Primary database pdb1 - Snapshot standby database Fast-Start Failover: DISABLED Current status for "DGConfig": SUCCESS

Copyright © 2007, Oracle. All rights reserved Using DGMGRL to View Snapshot Standby Database Information DGMGRL> show database pdb1 Database Name: pdb1 Role: SNAPSHOT STANDBY Enabled: YES Intended State: APPLY-OFF Instance(s): pdb1 Current status for "pdb1": SUCCESS

Copyright © 2007, Oracle. All rights reserved Snapshot Standby Database Considerations Potential data loss with a corrupted log file Lengthy conversion of the snapshot standby database to a primary database in the event of a failure of the primary database

Copyright © 2007, Oracle. All rights reserved Summary In this lesson, you should have learned how to: Identify the challenges that result from system changes Set up snapshot standby for database testing

Copyright © 2007, Oracle. All rights reserved