1 © 2010 Julian Dyke Real Application Testing Julian Dyke Independent Consultant juliandyke.com Web Version.

Slides:



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

Copyright © SoftTree Technologies, Inc. DB Tuning Expert.
Kurt Engeleiter Product Manager Database Manageability
Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
Real Application Testing Spreker: Datum: Patrick Munne, Senior Oracle DBA 17 april 2009.
Extern name server - translates addresses of s messages - enables users to use aliases - … ID cards system - controls entrance to buildings,
Module 17 Tracing Access to SQL Server 2008 R2. Module Overview Capturing Activity using SQL Server Profiler Improving Performance with the Database Engine.
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
Oracle Database 11g: Get There With Less Effort, Less Risk, Less Infrastructure, and More Reliability Alan Levine Oracle Enterprise Architect, Oracle.
Juliandyke.com 1 © Julian Dyke Julian Dyke Independent Consultant Is RAT Worth Catching?
Managing Change with Real Application Testing and Snapshot Standby Barry Hodges Senior Solution Architect, Sales Consulting, Oracle NZ.
Introduction to MySQL Administration.  Server startup and shutdown ◦ How to manually start and stop it from the command line ◦ How to arrange an automated.
Microsoft Dynamics AX Technical Conference 2013
Discovering SQL all rights reserved (c) 2010 agilitator.com INSTALLING MySQL 5.1 Community Server.
1 © 2006 Julian Dyke Logical Standby Julian Dyke Independent Consultant juliandyke.com Web Version.
Oracle 11g Real Application Testing: Avoiding Performance Regressions with SQL Performance Analyzer Khaled Yagoub, Pete Belknap, Benoit Dageville, Karl.
Guidance and resources for migrating from Windows Server 2008 Windows Server 2012 R2 Migration and Upgrade Guide.
1 © 2005 Julian Dyke Oracle 10.2 RAC New Features Julian Dyke Independent Consultant Web Version juliandyke.com.
Upgrading to SQL Server 2012 “Done Right” Dandy Weyn DBI335.
1 Data Guard Basics Julian Dyke Independent Consultant Web Version - February 2008 juliandyke.com © 2008 Julian Dyke.
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
Introduction and simple using of Oracle Logistics Information System Yaxian Yao
15 Copyright © 2004, Oracle. All rights reserved. Proactive Maintenance.
® Enterprise Manager/Management Packs Conference Call Phone Number: 1(888) Pass Code: CYBER.
1 © 2006 Julian Dyke Streams Julian Dyke Independent Consultant juliandyke.com Web Version.
DBA’s New Best Friend: Oracle Database 10g and 11g SQL Performance Analyzer Prabhaker Gongloor (GP) Khaled Yagoub Pete Belknap Database Manageability.
11g(R1/R2) Data guard Enhancements Suresh Gandhi
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Overview Scale out architecture Servers, services, and topology in Central Administration.
1 © 2005 Julian Dyke Julian Dyke Independent Consultant juliandyke.com Web Version Native PL/SQL Compilation.
Linux Panel Panel Moderator: Sandra Vucinic. Panel Members Michael Brown - Glen Raven, Inc. Mark Farnham - Rightsizing, Inc. Rich Niemiec – TUSC Sandra.
1 RAC Internals Julian Dyke Independent Consultant Web Version juliandyke.com © 2007 Julian Dyke.
1 Configuring Advanced Replication Julian Dyke Independent Consultant Web Version - July 2009 juliandyke.com © 2009 Julian Dyke.
1 Oracle Enterprise Manager Slides from Dominic Gélinas CIS
Power at Your Fingertips –Overlooked Gems in Oracle EM John Sheaffer Principal Sales Consultant – Oracle Corporation.
1 © 2010 Julian Dyke Edition-Based Redefinition Julian Dyke Independent Consultant juliandyke.com Web Version.
From Microsoft Dynamics AX 4.0/2009 only New hardware Bulk copy program (BCP) ~2500 target scripts Can upgrade into multiple.
1 © 2005 Julian Dyke Reducing Redo Julian Dyke Independent Consultant Web Version juliandyke.com.
Oracle for Physics Services and Support Levels Maria Girone, IT-ADC 24 January 2005.
SQL Query Analyzer. Graphical tool that allows you to:  Create queries and other SQL scripts and execute them against SQL Server databases. (Query window)
Office of Administration Enterprise Server Farm Managed Services August 2004 Briefing.
1Z0-050: Oracle Certified Exam Oracle Database 11g: New Features for Administrators.
3 Copyright © 2006, Oracle. All rights reserved. Designing and Developing for Performance.
1 Presented by: Val Pennell, Test Tool Manager Date: March 9, 2004 Software Testing Tools – Load Testing.
EduGeek Logon Tracker Next generation user tracking.
This is a customer facing presentation that you can use to present the your assessment findings, recommendations, options, benefits and requirements. This.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
TIBCO Business Events Online Training. Introduction to TIBCO BE Tibco Business Events is complex event processing software with a powerful engine enables.
CERN IT Department CH-1211 Genève 23 Switzerland t Load testing & benchmarks on Oracle RAC Romain Basset – IT PSS DP.
2 Copyright © 2007, Oracle. All rights reserved. Realistic Testing Using Database Replay.
New mechanism to update the database schema for DB2 and Oracle databases IBM Workload Scheduler IBM.
Make my day Distributed Replay. Meet the speakers Raoul Illyés Raoul Illyés is a SQL Server MVP, CEO and Mentor at SolidQ Denmark.
Planning a Migration.
Everything you've ever wanted to know about using Control-M to integrate any application workload September 9, 2016 David Fernandez Senior Presales Consultant.
Bishnu Priya Nanda , Tata Consultancy Services Ltd.
Integrating ArcSight with Enterprise Ticketing Systems
Benchmarking like a PRO
Integrating ArcSight with Enterprise Ticketing Systems
SAP Performance Tuning
Using EDB Postgres Replication Server to Offload Oracle Reporting Workloads to Postgres Matthew Lewandowski.
Jim Czuprynski OnX Enterprise Solutions March 7, 2016
DEA Will Be Your New Best Friend!
November 18 EnterpriseOne Upgrade: Considerations and Tips Stress-free JD Edwards 2014 Nigel Sanders - Differentia Consulting November 18 Copyright Differentia.
Geodatabase Administration Toolset
SSDT and Database Project Basics
Microsoft SQL Server Upgrade and Downgrade scenarios
Your Data Any Place, Any Time
Fernando Jacinto Alvarez
Presentation transcript:

1 © 2010 Julian Dyke Real Application Testing Julian Dyke Independent Consultant juliandyke.com Web Version

© 2010 Julian Dyke juliandyke.com 2 Real Application Testing Introduction  Introduced in Oracle 11.1  Licensable option  Includes  Database Replay  SQL Performance Analyzer  Database Replay  Captures database workload on production system  Replays captured workload on test system  Optionally includes concurrency and timing characteristics  Generates reports and recommends changes  SQL Performance Analyzer  Identifies performance divergence between workloads on source and target platforms  Generates tuning recommendations

© 2010 Julian Dyke juliandyke.com 3 Real Application Testing Database Replay  Requires the following steps:  Capture workload into capture files  Copy files to test system and preprocess them  Replay files on test system  Perform detailed analysis of workload capture and replay using reports generated by Database Replay  Potential applications  Test operating system upgrades  Test database upgrades and migrations  Test parameter changes  Evaluate migration from single-instance to RAC  Test storage changes  Debugging  Test database manageability features

© 2010 Julian Dyke juliandyke.com 4 Real Application Testing Workload Capture  To capture workload on an existing system:  Create a operating system directory e.g. mkdir /home/oracle/rat/test1 SQL> CREATE DIRECTORY dir1 AS '/home/oracle/rat/test1';  Create an Oracle directory e.g.:  Run the workload:  Start the capture process: dbms_workload_capture.start_capture ( name => 'TEST4', dir => 'DIR4' ); dbms_workload_capture.finish_capture;  Finish the capture process:

© 2010 Julian Dyke juliandyke.com 5 Real Application Testing Replay Preparation  Copy the capture files to the target database server  On the target database  Preprocess the captured workload dbms_workload_replay.process_capture ( capture_dir => 'DIR1' );  Initialize the replay dbms_workload_replay.initialize_replay ( replay_name => 'REPLAY1', replay_dir => 'DIR1' ); dbms_workload_replay.prepare_replay ( synchronization => FALSE );  Prepare the replay

© 2010 Julian Dyke juliandyke.com 6 Real Application Testing Workload Replay  Copy the workload files to the client system. For example:  /home/oracle/rat/test1  On the client  Run the workload client to calibrate the replay  The calibration process recommends the number of client processes required to perform the replay  Replay the workload $ wrc mode=CALIBRATE \ replaydir=/home/oracle/rat/test1 $ wrc mode=REPLAY \ replaydir=/home/oracle/rat/test1  The client will not start to replay the workload until the replay has been started on the target database

© 2010 Julian Dyke juliandyke.com 7 Real Application Testing Workload Replay  On the target database  Start the replay process dbms_workload_replay.start_replay;  When the replay process completes on the client, run the replay report SET SERVEROUTPUT ON TRIMSPOOL ON LONG LINESIZE 200 VAR v_rep_rpt CLOB; DECLARE l_cap_id NUMBER; l_rep_id NUMBER; BEGIN l_cap_id := dbms_workload_replay.get_replay_info (dir => 'DIR4'); SELECT MAX (id) INTO l_rep_id FROM dba_workload_replays WHERE capture_id = l_cap_id; :v_rep_rpt := dbms_workload_replay.report ( replay_id => l_rep_id, format => DBMS_WORKLOAD_CAPTURE.TYPE_TEXT ); END; / PRINT :v_rep_rpt

© 2010 Julian Dyke juliandyke.com 8 Real Application Testing SQL Performance Analyzer  Can analyze impact on SQL performance of  Database upgrade  Configuration changes to operating system or hardware  Schema changes  Changes to database initialization parameters  Refreshing optimizer statistics  SQL tuning

© 2010 Julian Dyke juliandyke.com 9 Thank you for your interest