managing change with oracle real application testingcmgcanada.altervista.org/presentations/2008...

18

Upload: others

Post on 29-Sep-2020

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow
Page 2: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

Managing Change With Oracle Real Application Testing

CMG Canada, Oct 21st 2008

Oleksiy RazborshchukPrincipal Solution Architect, Oracle [email protected]

Page 3: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

Top 3 DBA Activities

• Ongoing Administration• Challenge: Manage More with Less

• Performance Management• Challenge: Sustain Optimal Performance

• Change Management• Challenge: Preserve Order amid Change

Source: IOUG Nov 2006 Database Survey

Page 4: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

Lifecycle of Change Management

Make Change

Set Up TestEnvironments

Test

Diagnose & Resolve Problems

Identify Patches & Workarounds

Diagnose & Manage Problems

Provision for Production

Real Application Testing

Page 5: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

Adaptive Change Assurance Real Application Testing

RemediateRemediate

TestTestTest

DeployDeploy

• Technology benefits• Rapid technology adoption• Higher testing quality

• Business benefits• Higher agility• Lower risk & cost

Solution for the Agile Business

Change

Page 6: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

Real Application Testing

• Product Components• Database Replay• SQL Performance Analyzer

• Change assurance for:• Database and O/S upgrades• O/S migrations, i.e. Windows and Linux• Configuration changes, e.g., conversion from single instance

to Oracle RAC, Oracle init.ora parameters, adding index • Storage changes, e.g. migration to ASM

Page 7: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

Database ReplayProduction Test

Capture ReplayAnalysis &

ReportingProcess

Capture

Page 8: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

Database Replay Comparison

Test Effort

Test Coverage

Workload

üDatabase Time MachineüTechnology that can only be built by Oracle

•Simple app: days•Complex app: days

Real application workload

100% of workflow 1-5% of workflow

Artificial simulated workload

3rd PartyLoad Testing Tools

•Simple app: weeks•Complex app:months

Oracle Database Replay

Page 9: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

DEMO – Database Replay

Database Replay Demo shows:• Capture of a production workload with minimal overhead• Replay of the captured workload on a test system while

maintaining the concurrency, timing, and transaction dependencies of the original workload

• Ability to alter the characteristics of replay, such as think time between successive user calls, with the help of several optionalparameters

• Generation of reports to compare the performance of a capture with a replay or of one replay with another replay

Page 10: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

SQL Performance AnalyzerProduction

Test

Capture SQL

Transport SQL

Execute SQL Pre-change

Execute SQL Post-change

Compare Perf

Page 11: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

SQL Performance Analyzer Comparison

No

Yes, integrate with SQL Tuning Advisor

& SQL Plan Management

Transfer resolutions to production

No, not integrated with optimizer

YesTest with production context

No, require explicit polling & external

storage

YesCapture with low overhead

3rd PartySQL Testing Tools

Oracle SPA

üTechnology that can only be built by Oracle

Page 12: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

DEMO - SPA

SPA Demo shows:• Ability to identify SQL performance improvements and

regressions resulting from a change for complete SQL workloads• Integration with the SQL Tuning Advisor and SQL Plan Baselines

to automatically tune regressed SQL

Page 13: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

0

20

40

60

80T

ime

Tak

en (

Day

s)

Install & Setup

Understand Applica

tion Usage

Identify Key T

ransactions

Generate Test Scrip

tsRun Test

Real Application TestingLoadRunner

Test Effort Comparison Application Tested: Oracle E-Business Suite

Database Replay: 2 weeks

LoadRunner: 30 weeks

Total Testing Time

Page 14: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

Demonstration

Page 15: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

Real Application Testing Advantages

Complete workflows Partial workflows

Low risk High risk

Automated Manual intensive

Production workloads Artificial workloads

Days of development Months of development

2 Weeks

Real Application Testing Traditional Testing Tool

30 Weeks

Page 16: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

For More Information

http://search.oracle.com

or

www.oracle.com/manageability

database manageability

Page 17: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow

Q&A

Page 18: Managing Change With Oracle Real Application Testingcmgcanada.altervista.org/presentations/2008 Oct... · •Complex app: days Real application workload 100% of workflow 1-5% of workflow