Managing Change with Real Application Testing and Snapshot Standby Barry Hodges Senior Solution Architect, Sales Consulting, Oracle NZ.

Slides:



Advertisements
Similar presentations
Look Before You Leap! Oracle 11g Real Application Testing
Advertisements

Sameer Marwa – Infogig Consulting Khaled Yagoub – Oracle Development
Copyright © SoftTree Technologies, Inc. DB Tuning Expert.
Kurt Engeleiter Product Manager Database Manageability
Chapter 9. Performance Management Enterprise wide endeavor Research and ascertain all performance problems – not just DBMS Five factors influence DB performance.
Oracle Enterprise Manager: Empowering IT to Drive Business Value
Real Application Testing Spreker: Datum: Patrick Munne, Senior Oracle DBA 17 april 2009.
Oracle Database 11g Real Application Testing. 2 What is Real Application Testing? New database option available with EE only Includes two new features.
Taking the Risk out of IT Operations™ DBA InfoPower Oracle Real Application Testing NOCOUG Fall Conference Hanan Hit Director of Customer Support
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
Oracle Database 11g: Get There With Less Effort, Less Risk, Less Infrastructure, and More Reliability Alan Levine Oracle Enterprise Architect, Oracle.
Oracle Enterprise Manager – Cloud Control 12c Simon Keys, The Small Ronnie Martin Lambert, The Large Ronnie.
The Self-managing Database: Automatic Performance Diagnosis Graham Wood Kyle Hailey Oracle Corporation Session id:
1 What do I really need to know when upgrading Thomas Kyte
©Company confidential 1 Performance Testing for TM & D – An Overview.
Oracle Database 11g: First Experiences with Grid Computing
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
Oracle 11g Real Application Testing: Avoiding Performance Regressions with SQL Performance Analyzer Khaled Yagoub, Pete Belknap, Benoit Dageville, Karl.
Avoiding SQL Performance Regressions – New Techniques for Solving an Old Problem Prabhaker Gongloor, Oracle Corporation Andrea Ngan, Sameer Marwa, DIRECTV.
Oracle Database High Availability Brandon Kuschel Jian Liu Source: Oracle Database 11g Release 2 High Availability An Oracle White Paper November 2010.
1 © 2010 Julian Dyke Real Application Testing Julian Dyke Independent Consultant juliandyke.com Web Version.
Copyright © 2007 Quest Software The Changing Role of SQL Server DBA’s Bryan Oliver SQL Server Domain Expert Quest Software.
Reinventing Upgrades, Platform Changes, RAC and More with Database Replay
Database Advisors Automatic Database Diagnostic Monitor ( ADDM )
Introduction and simple using of Oracle Logistics Information System Yaxian Yao
Bob Thome, Senior Director of Product Management, Oracle SIMPLIFYING YOUR HIGH AVAILABILITY DATABASE.
15 Copyright © 2004, Oracle. All rights reserved. Proactive Maintenance.
2 Copyright © 2006, Oracle. All rights reserved. Performance Tuning: Overview.
DBA’s New Best Friend: Oracle Database 10g and 11g SQL Performance Analyzer Prabhaker Gongloor (GP) Khaled Yagoub Pete Belknap Database Manageability.
Michael Sit Solution Specialists Manager Oracle Corporation.
Oracle Patching and Maintenance A practical guide for System Administrators October 2009.
CERN - IT Department CH-1211 Genève 23 Switzerland t Tier0 database extensions and multi-core/64 bit studies Maria Girone, CERN IT-PSS LCG.
Oracle9i Performance Tuning Chapter 1 Performance Tuning Overview.
The Self-Managing Database: Guided Application and SQL Tuning Mohamed Ziauddin Consulting Member of Technical Staff Oracle Corporation Session id:
1.
LoadRunner SE Guide 김범수 한국비지네스써비스 ( 주 )
Oracle Tuning Considerations. Agenda Why Tune ? Why Tune ? Ways to Improve Performance Ways to Improve Performance Hardware Hardware Software Software.
The New Enterprise Manager: End to End Performance Management of Oracle Solutions Julie Wong Principal Product Manager Arsalan Farooq Senior Development.
Quick Tips for Database Performance Tuning Sergey Koltakov Kurt Engeleiter Product Manager.
Achieving Scalability, Performance and Availability on Linux with Oracle 9iR2-RAC Grant McAlister Senior Database Engineer Amazon.com Paper
Continuous DB integration testing with RAT „RATCOIN”
1 Oracle Enterprise Manager Slides from Dominic Gélinas CIS
CERN - IT Department CH-1211 Genève 23 Switzerland t Oracle Real Application Clusters (RAC) Techniques for implementing & running robust.
Girish M. Jashnani Sales Consultant Manage your E-Business Suite more effectively.
Oracle Database Architecture By Ayesha Manzer. Automatic Storage Management Spreads database data across all disks Creates and maintains a storage grid.
Michelle Malcher PepsiCo Session # For the DBA Manager – Understanding Oracle and DBAs.
JD Edwards Support & Tools Gillian Boshell Product Service Advisor, Oracle Australia.
CNAF Database Service Barbara Martelli CNAF-INFN Elisabetta Vilucchi CNAF-INFN Simone Dalla Fina INFN-Padua.
FroNtier Stress Tests at Tier-0 Status report Luis Ramos LCG3D Workshop – September 13, 2006.
T EST T OOLS U NIT VI This unit contains the overview of the test tools. Also prerequisites for applying these tools, tools selection and implementation.
Copyright © 2006 Quest Software Quest RAC Tools Bert Scalzo, Domain Expert, Oracle Solutions
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Database Growth: Problems & Solutions.
Manage large RAC Clusters Session# 851 Tom S. Reddy Database Administration, Inc.
1 Copyright © 2007, Oracle. All rights reserved. Realistic Testing Setting Up the Test Environment.
2 Copyright © 2007, Oracle. All rights reserved. Realistic Testing Using Database Replay.
Towards continuous integration: Automated Oracle database testing with capture and replay Emil Pilecki.
Alan Levine Oracle Enterprise Architect, Oracle Consulting
NGS Oracle Service.
Michael Mast Senior Architect
Performance Testing Methodology for Cloud Based Applications
Introduction.
Introduction of Week 6 Assignment Discussion
Performance Load Testing Case Study – Agilent Technologies
Continuous Performance Engineering
Predictive Performance
How to Thrive as a DBA in an Oracle10g World
Managing Performance by SQL Tuning
Backup Monitoring – EMC NetWorker
Backup Monitoring – EMC NetWorker
Performance And Scalability In Oracle9i And SQL Server 2000
Presentation transcript:

Managing Change with Real Application Testing and Snapshot Standby Barry Hodges Senior Solution Architect, Sales Consulting, Oracle NZ

“The art of progress is to preserve order amid change.” Alfred North Whitehead British Mathematician and Philosopher,

IT Challenges

Motivation for change Database Tier Database Upgrades, Patches, Schema, Parameters, RAC nodes, Interconnect, OS Platforms, OS Upgrades, CPU, Memory, etc Application Upgrades, Object Modifications, etc Application Tier SAN Upgrades, ASM, more disk, etc Storage Tier

Database Upgrade Process: Steps 1.Gather information about PROD environment 2.Determine upgrade path & method 3.Prepare B/R strategy, clone and setup Test DB 4.Establish performance baseline before upgrade 5.Develop tests for database & applications 6.Test upgraded database & applications 7.Check performance before & after upgrade 8.Remediate regressions 9.Go Live! Majority of effort spent in developing tests, detecting and remediating regressions

Current Testing Methodology PRODUCTION TEST Need to provision the whole stack BA’s id top n business transactions Test Scripts need to be constantly rewritten as data changes Simulated load 80/20? Simulate load by over throttling? Can we trust the simulated load? What is the correct throughput? Can we account for selects? Requires specialised application knowledge

Database Upgrade Process: Steps 1.Gather information about PROD environment 2.Determine upgrade path & method 3.Prepare B/R strategy, clone and setup Test DB 4.Establish performance baseline before upgrade 5.Develop tests for database & applications 6.Test upgraded database & applications 7.Check performance before & after upgrade 8.Remediate regressions 9.Go Live! Majority of effort spent in developing tests, detecting and remediating regressions Real Application Testing Real Application Testing provides realistic testing for real-world systems

Database Replay Replay actual production database workload in test environment Identify, analyse and fix potential instabilities before making changes to production Capture Workload in Production –Capture full production workload –Move the captured workload to test system Replay Workload in Test –Make the desired changes in test system –Replay workload with with production load, timing & concurrency characteristics –Honor commit ordering Analyze & Report –Errors –Data divergence –Performance divergence

Database Replay Workload Capture PRODUCTION Replay TEST

SQL Performance Analyzer Identify SQL performance regression before end-users are impacted Identify, analyse and fix potential instabilities before making changes to production Re-execute SQL queries in Test –Make the desired changes in test system –Statements can be re-executed as often as is necessary in the test environment Analyze & Report –Highlight improvements –Highlight regressions –Highlight highest impact statements –Use SQL Tuning Advisor to tune regressed statements Capture SQL in Production –Capture SQL workload in production including statistics & binds –Move the SQL Tuning Set to test systemSQL

SQL Performance Analyzer STS SQL Capture PRODUCTION Replay TEST

Unsupported Supported Changes Database Upgrades (9i, 10g  11g), Patches, Schema, Parameters, RAC nodes, Interconnect, OS Platforms, OS Upgrades, CPU, Memory Application Upgrades, Some Object Modifications Database Tier Application Tier Storage Tier SAN Upgrades, ASM, more disk, etc Supported

Current Testing Methodology DB Replay: 2 weeks LoadRunner: 30 weeks Total Testing Time Install & Setup Understand Application Usage Identify Key Transactions Generate Workload Run Test Effort (Days)

Real Application Testing Demo Production (wgn1) Standby (wgn1sby) Dell OPTIPLEX 755 Intel(R) Dual Core(TM)2 Duo 2.33GHz 4 GB RAM Oracle Enterprise Linux 5.1 Oracle

Real Application Testing Demo Production (wgn1) Standby (wgn1sby) Data Guard

Real Application Testing Demo DGMGRL> convert database 'sid' to snapshot standby; Standby (wgn1sby) Production (wgn1) Data Guard

Real Application Testing Demo Capture Standby (wgn1sby) Production (wgn1)SQL Data Guard

Real Application Testing Demo Prepare Standby (wgn1sby) Production (wgn1) Data Guard

Real Application Testing Demo Replay Standby (wgn1sby) Production (wgn1)SQL Data Guard

Real Application Testing Demo Report & Analyze Standby (wgn1sby) Production (wgn1) Data Guard

Real Application Testing Demo DGMGRL> convert database 'sid' to physical standby; Standby (wgn1sby) Production (wgn1) Data Guard

Value Proposition No Yes Integrated with AWR, ASH, SQL Tuning Advisor & SQL Plan Management Transfer resolutions to production No not integrated with optimizer Yes Test with production context No require explicit polling & external storage Yes Capture with low overhead 3 rd Party SQL Testing Tools Oracle DB Replay & SPA Technology that can only be built by Oracle

Value Proposition To:From: Complete workflows Partial workflows Low risk High risk Automated Manual intensive Production workloads Artificial workloads Days of development Months of development Days Weeks Database Tier Complete Stack

Oracle.com: Oracle Real Application Testing on OTN: e/index.html Oracle Real Application Testing white papers: /real-application-testing-whitepaper.pdf e/pdf/ow07/db_replay_white_paper_ow07_1.pdf e/pdf/ow07/spa_white_paper_ow07.pdf Resources