Professional Documents
Culture Documents
Conclusion
2
Oracle Application Quality Management
High quality testing for all tiers of application stack
3
Oracle’s Testing Lifecycle
Production Test Production Test
Capture
Load Testing Functional
Testing
Application
Real Application
Application
Testing
Comprehensive
Application
testing Replay
Change
Mask Clone
4
Real Application Testing Features
SPA and Database Replay
Replay
Workload Deploy Replay
Clients
• SQL unit testing for response time • Load and performance testing for throughput
5
Outline
Conclusion
6
SQL Performance Regressions: Challenges
7
Oracle Real Application Testing: SPA
SQL Plans + Run-time Stats
Pre-Change Trial
SQL Workload
Compare SQL Analysis Report
STS
SQL Plans + Run-time Stats Performance
Post-Change Trial
8
SPA Report (Example)
3
1
9
When to use SPA?
• Testing database upgrades and patch-set releases*
– 9.2/10.1 10.2 or 11g releases
– 10.2.0.x 10.2.0.y or 11g releases
• SPA supports testing in Oracle Database Releases 10.2 and 11g
– Optimizer statistics refresh
– Database parameter changes
– Database schema changes (e.g., add/drop indexes)
– Implementation of tuning recommendations
– I/O subsystem changes (e.g., ASM, Database Machine)
• SPA handles trials in a manner that does not change database data
– Hence can be used for testing in production/standby environments
Conclusion
11
Oracle Real Application Testing
Database Replay
…
Changes
Unsupported
Middle Tier
Changes Supported
•Database Upgrades, Patches
•Schema, Parameters Recording of
External Client
•RAC nodes, Interconnect Requests
•OS Platforms, OS Upgrades Storage
•CPU, Memory
•Storage
•Etc.
14
Outline
Conclusion
15
New Techniques for Avoiding SQL Regressions
16
New Techniques for Avoiding SQL Regressions
Prod Standby DB
Central SPA System
Prod 1 Test 1
17
Database Replay Enhancements
New in Oracle Database 11g Release 2
19
Oracle Database Testing Accelerator
Leverage DB Workload captures
20
Outline
Conclusion
21
David Mitchell
Senior Vice President, OVUM
Source: Oracle Real Application Testing – business agility through superior testing, Jan 2008 22
Case Study
EM RAT Real Application Testing
23
Arup Nanda
Senior Director
Starwood Hotels & Resorts
Worldwide
Conclusion
26
Conclusion
*Based on POC and business case from a Fortune 500 Insurance Company 27
Resources
• Dedicated ½ day workshops for Oracle Customers and Partners
– Contact ruxandra.radulescu@oracle.com for more information
• Oracle Database 11g Manageability and Real Application Testing
– http://www.oracle.com/technology/products/manageability/database/
• Oracle 11g Education (http://education.oracle.com)
– Oracle 11g: New features for Administrators
– Oracle 11g: Administration Workshop I and II
– Oracle 11g: Change Management Overview Seminar
• Oracle-By-Example Series on Oracle 11g
– http://www.oracle.com/technology/obe/11gr1_db/index.htm
• Oracle Database 11g Documentation
– http://www.oracle.com/pls/db111/homepage
• Metalink Notes
– 445116.1: Using the workload capture and replay in 11g
– 443580.1: 11g New Feature Database Replay
– 443720.1: 11g Using Snapshot Standby Database
– 455889.1: SQL Performance Analyzer
– 560977.1: Real Application Testing Now Available for Earlier Releases
28
29