How To Test For A Test On A Test Server



Similar documents
Real Application Testing. Fred Louis Oracle Enterprise Architect

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

Why Standardize on Oracle Database 11g Next Generation Database Management. Thomas Kyte

Developing a Risk Based Testing Plan for Enterprise Applications Systems

Oracle Data Masking. Bruce Elton. Master Principal Sales Consultant Information Security Oracle Corporation

SQL Performance Analyzer: Eliminating the Guesswork from SQL Performance Prabhaker Gongloor (GP) Khaled Yagoub Pete Belknap Database Manageability

Oracle Database 12c: Performance Management and Tuning NEW

Risk-Free Administration for Expert Database Administrators

Proactive Performance Monitoring Using Metric Extensions and SPA

Management Packs for Database

Oracle Enterprise Manager 12c New Capabilities for the DBA. Charlie Garry, Director, Product Management Oracle Server Technologies

1. This lesson introduces the Performance Tuning course objectives and agenda

Oracle 11g Database Administration

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

DBA Best Practices: A Primer on Managing Oracle Databases. Leng Leng Tan Vice President, Systems and Applications Management

Oracle Database Performance Management Best Practices Workshop. AIOUG Product Management Team Database Manageability

Oracle Database 10g. Page # The Self-Managing Database. Agenda. Benoit Dageville Oracle Corporation benoit.dageville@oracle.com

Oracle Database 11g: New Features for Administrators DBA Release 2

Oracle Database 11g: Performance Tuning DBA Release 2

Evidence-based Best Practices for JD Edwards EnterpriseOne

SQL Server Training Course Content

Monitoring and Diagnosing Oracle RAC Performance with Oracle Enterprise Manager. Kai Yu, Orlando Gallegos Dell Oracle Solutions Engineering

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - Performance Tuning DBA Release 2. 5 Jours [35 Heures]

ORACLE DATABASE ADMINISTRATOR RESUME

Monitoring and Diagnosing Oracle RAC Performance with Oracle Enterprise Manager

Tips and Tricks for Using Oracle TimesTen In-Memory Database in the Application Tier

Oracle Database 11g: New Features for Administrators

Oracle 11g New Features - OCP Upgrade Exam

Maximizing Performance for Oracle Database 12c using Oracle Enterprise Manager

<Insert Picture Here> Application Testing Suite Overview

Basic Tuning Tools Monitoring tools overview Enterprise Manager V$ Views, Statistics and Metrics Wait Events

Oracle Enterprise Manager 13c Cloud Control

Oracle s SQL Performance Analyzer

Enabling ITIL Best Practices Through Oracle Enterprise Manager, Session # Ana Mccollum Enterprise Management, Product Management

Managing R12 EBS using OEM with the Application Management and Application Change Management Packs

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

ORACLE CORE DBA ONLINE TRAINING

Oracle Database 12c: Admin, Install and Upgrade Accelerated

Oracle Database 11g: Real Application Testing

Oracle vs. SQL Server. Simon Pane & Steve Recsky First4 Database Partners Inc. September 20, 2012

D12C-AIU Oracle Database 12c: Admin, Install and Upgrade Accelerated NEW

Migrating from Unix to Oracle on Linux. Sponsored by Red Hat. An Oracle and Red Hat White Paper September 2003

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - New Features for Administrators Release 2. 5 Jours [35 Heures]

Oracle Database 12c: Administration Workshop NEW

Microsoft SQL Server for Oracle DBAs Course 40045; 4 Days, Instructor-led

ORACLE DATABASE HIGH AVAILABILITY STRATEGY, ARCHITECTURE AND SOLUTIONS

CASE STUDY: Oracle TimesTen In-Memory Database and Shared Disk HA Implementation at Instance level. -ORACLE TIMESTEN 11gR1

Preview of Oracle Database 12c In-Memory Option. Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Oracle Database 10g: New Features for Administrators

Scalability and BMC Remedy Action Request System TECHNICAL WHITE PAPER

Development Best Practices

COURCE TITLE DURATION. Oracle Database 11g: Administration Workshop I

Oracle Database 12c: Administration Workshop NEW. Duration: 5 Days. What you will learn

Oracle Database 11g: Administration Workshop II DBA Release 2

Instant-On Enterprise

Mind Q Systems Private Limited

Configuring Backup Settings Configuring and Managing Persistent Settings for RMAN Configuring Autobackup of Control File Backup optimization

Programa de Actualización Profesional ACTI Oracle Database 11g: SQL Tuning Workshop

SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques

Oracle to SQL Server 2005 Migration

Oracle Database 11g: Administration Workshop II Release 2

APPLICATION MANAGEMENT SUITE FOR ORACLE E-BUSINESS SUITE APPLICATIONS

Exploring Oracle E-Business Suite Load Balancing Options. Venkat Perumal IT Convergence

Planning, Provisioning and Deploying Enterprise Clouds with Oracle Enterprise Manager 12c Kevin Patterson, Principal Sales Consultant, Enterprise

Measurable Improvements in E-Business Suite Application Management with OEM 12c

Oracle Database 12c: Performance Management and Tuning NEW

An Oracle White Paper November Oracle Real Application Clusters One Node: The Always On Single-Instance Database

EMC Documentum Performance Tips

Proactive database performance management

Oracle Database Solutions on VMware High Availability. Business Continuance of SAP Solutions on Vmware vsphere

Oracle Database 11g: Administration Workshop II DBA Release 2

An Oracle White Paper September Advanced Java Diagnostics and Monitoring Without Performance Overhead

Application Testing Suite Overview

Database Services for CERN

Oracle Enterprise Manager 12c Cloud Control for Managing Oracle E-Business Suite 12.2

Oracle Database 11g: Administration Workshop I

Customer evaluation guide Toad for Oracle v12 Database administration

<Insert Picture Here> Oracle In-Memory Database Cache Overview

SAP Sybase Replication Server What s New in SP100. Bill Zhang, Product Management, SAP HANA Lisa Spagnolie, Director of Product Marketing

OTM Performance OTM Users Conference Jim Mooney Vice President, Product Development August 11, 2015

Oracle Databases on VMware High Availability

How To Use Exadata

Expert Oracle Enterprise

The Methodology Behind the Dell SQL Server Advisor Tool

ORACLE DATABASE 11G: COMPLETE

Introduction. Part I: Finding Bottlenecks when Something s Wrong. Chapter 1: Performance Tuning 3

Top 10 Oracle SQL Developer Tips and Tricks

Oracle Database 12c Plug In. Switch On. Get SMART.

Safe Harbor Statement

Oracle Database 11 g Performance Tuning. Recipes. Sam R. Alapati Darl Kuhn Bill Padfield. Apress*

DATABASE VIRTUALIZATION AND INSTANT CLONING WHITE PAPER

APPLICATION MANAGEMENT SUITE FOR ORACLE E-BUSINESS SUITE APPLICATIONS

REDCENTRIC MANAGED DATABASE SERVICE SERVICE DEFINITION

Private Cloud Database Consolidation Randy Hietter, Product Management - Oracle

Transcription:

Real Application Testing Dave Foster Master Principal 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 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.

Why Consider Oracle 11g for Upgrades? Oracle Database 9i Release 2 Premium Support ended Jul 30, 2007 1 yr free Extended Support offer ends Jul 30, 2008 Today August 2012 August 2015 R2 July 2010 July 2013 Jul 2011 January 2009 January 2012 Premier Support Extended Support Sustaining Support R2 July 2007 Jul 2008 July 2010 t 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2004 2003 2002 http://www.oracle.com/support/library/data-sheet/oracle-lifetime-support-policy-datasheet.pdf

Oracle Enterprise Manager Top-Down Application Management Application Operations Management Real User Experience Monitoring Service Level Management Packaged Application Management Oracle E-Business Suite Change Management Configuration Mgmt for Applications SOA Application Management Diagnostic and Tuning Provisioning, Configuration Management Change Tracking and Synchronization Application Testing Suite Application Quality Management Load Testing and Accelerators for Packaged Apps & Web Services Functional Testing and Accelerators for Packaged Apps & Web Services Test Management Real Application Testing Data Masking

Real Application Testing: Tools of the Trade What is it? What Purpose? How it works? SQL Performance Analyzer Predicts SQL performance deviations before end-users can be impacted Assess impact of change on SQL response time Executes each SQL, stored in SQL Tuning Set, in isolation using production context and then compares before and after execution plans and run-time statistics Database Replay Replays real database workload on test system Assess impact of change on workload throughput Captures workloads and replays it with production characteristics including concurrency, synchronization & dependencies When to use? Unit testing of SQL with the goal to identify the set of SQL statements with improved/regressed performance Comprehensive testing of all sub-systems of the database server using real production workload SQL Performance Analyzer and Database Replay are complementary

Real Application Testing Load and SQL impact testing solution providing highest quality testing for the database tier Value Rapid technology adoption Higher testing quality Business Benefit Lower cost Lower risk Features Database Replay SQL Performance Analyzer (SPA) Test Change Remediate Deploy Business Agility through Superior Testing

Testing Today Production 1,000s of Real Online Users Application Database PRODUCTION

Testing Today Test 1-2 testers trying to be 1,000s of users Application Database Database PRODUCTION TEST

Database Replay Real workload for 1,000s of online users captured Application Database Capture Workload PRODUCTION

Database Replay Real workload for 1,000s of online users replayed Application Database Capture Replay Database Workload PRODUCTION TEST

Database Replay Test your system changes at production levels Application Application Database 9.2.0.8, 10.2.0.2+, 11g Capture Workload Replay Database 11g ONLY PRODUCTION TEST

Real Application Testing with Database Replay Replay production workload in test environment Identify, analyze and fix potential instabilities before making changes to production Capture Workload in Production Capture full production workload with real load, timing & concurrency characteristics Move the captured workload to test system Replay Workload in Test Make the desired changes in test system Replay workload with full production characteristics Honor commit ordering Analyze & Report Errors Data divergence Performance divergence Analysis & Reporting

Why DB Replay? From: Artificial workloads Partial workflows Months of development Manual intensive To: Production workloads Complete workflows Days of development Automated 150 Days High risk Low risk 10 Days

Replay Options Synchronized Replay (Default) Workload is replayed in full synchronized mode Same concurrency and timing as production workload Transaction commit order is honored Ensures minimal data divergence Synchronization controls Workload can be replayed in unsynchronized mode Useful for load/stress testing High data divergence Parameters for controlling synchronization Commit order synchronization: SYNCHRONIZATION Think time synchronization: THINK_TIME_SCALE Connect (logon) time synchronization: CONNECT_TIME_SCALE Request rate preservation: THINK_TIME_AUTO_CORRECT

Analysis & Reporting Error Divergence: For each call error divergence is reported New: Error encountered during replay not seen during capture Not Found: Error encountered during capture not seen during replay Mutated: Different error produced in replay than during capture Data Divergence Replay: Number of rows returned by each call are compared and divergences reported User: Application level validation scripts Performance Reporting Capture and Replay Report: Provides high-level performance information ADDM Report: Provides in-depth performance analysis AWR, ASH Report: Facilitates comparative or skew analysis

Clients Database Replay Workflow Production (9.2.0.8, 10gR2, 11g) Test (11g) Replay Driver Mid-Tier Storage Storage Capture Process Replay Analysis & Reporting

Step 1: Workload Capture All external client requests captured in binary files Production System System background and internal activity excluded Client Client Client Minimal overhead Avoids function call when possible Buffered I/O Middle Tier File System Independent of client protocol File 1 Can capture on 9.2.0.8, 10gR2, 11g and replay on 11g File 2 Capture load for interesting time period, e.g., peak workload, month-end processing, etc. Storage File n

Step 2: Process Workload Files Setup test system Application data should be same as production system as of capture start time Use RMAN, Snapshot Standby, imp/exp, Data Pump, etc. to create test system Make change: upgrade db and/or OS, change storage, migrate platforms, etc. Processing transforms captured data into replayable format Once processed, workload can be replayed many times For RAC copy all capture files to single location for processing or use shared file system File 1 File 2 File n Capture Files Test System File 1 File 2 File n Metadata Replay Files

Step 3: Replay Workload Replays workload preserving timing, concurrency and dependencies of the capture system Test System Replay Clients Replay Client is a special program that consumes processed workload and sends requests to the replay system Clients interpret captured calls into sequence of OCI calls and submit to database For high concurrency workloads, it may be necessary to start multiple clients File 1 File 2 File n Metadata Replay Files

Supported Changes with Real Application Testing Changes Unsupported Application Changes Supported Database Upgrades, Patches Schema, Parameters RAC nodes, Interconnect OS Platforms, OS Upgrades CPU, Memory Storage Etc. Database Recording of External Client Requests

Real Application Testing with SQL Performance Analyzer (SPA) Test impact of change on SQL query performance Capture SQL workload in production including statistics & bind variables Re-execute SQL queries in test environment Tune regressed SQL and seed SQL plans for production Client Client Client Production Test Middle Tier Re-execute SQL Queries Oracle DB Capture SQL Use SQL Tuning Advisor to tune regression 9i, 10g, 11g 10gR2, 11g Storage

Why SQL Performance Analyzer (SPA)? Businesses want systems that are performant and meet SLA s SQL performance regressions are #1 cause of poor system performance Solution for proactively detecting all SQL regressions resulting from changes not available DBA s use ineffective and time-consuming manual scripts to identify problems SPA identifies all changes in SQL performance before impacting users

SQL Performance Analyzer: Overview Production Test Client Middle Tier Re-execute SQL Oracle DB Capture SQL Transport SQL Storage Make Changes / Tuning Regressions If adequate spare cycles available, optionally execute SQL here * No middle & application tier setup required

SQL Performance Analyzer Restrictions SQL Performance Analyzer does not support the following features in the current release Shared server (Oracle MTS) 9i Parallel Query (SQL Trace Capture) Remote Transactions

SQL Performance Analyzer for Earlier Releases Help customers smoothly transition to Oracle Database 10g and 11g SQL Test Execution feature of SPA backported to 10gR2 For more details: Metalink Note: 560977.1 Real Application Testing for Earlier Releases Metalink Note: 562899.1 Testing Performance Impact of an Oracle 9i to Oracle Database 10g Release 2 Upgrade with SQL Performance Analyzer Upgrade From Upgrade To Release / Patches needed Comments 10gR2 10gR2 or 11g 11.1.0.6 + one-off patch or 11.1.0.7 10gR2 + one-off patch Uses STS to capture SQL stats 9i 10gR1 10gR2 or 11g 11.1.0.6 + one-off patch or 11.1.0.7 10gR2 + one-off patch Uses SQL*Trace to capture SQL stats

Use Real Application Testing to Manage Change with Confidence and LOWER change risk LOWER testing time without compromising quality LOWER unplanned outages IMPROVE application reliability IMPROVE system performance IMPROVE end-user experience IMPROVE quality of service ADOPT new technology faster