Evidence-based Best Practices for JD Edwards EnterpriseOne

Similar documents
Delivering Oracle Success. Automatic SQL Tuning in Oracle Database 10g and 11g. Lucy Feng. RMOUG Training Days February 15-17, 2011

Oracle 11g Database Administration

Oracle Database 12c: Performance Management and Tuning NEW

How To Test For A Test On A Test Server

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

Real Application Testing. Fred Louis Oracle Enterprise Architect

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

Oracle Database 11g: Performance Tuning DBA Release 2

Oracle 11g New Features - OCP Upgrade Exam

Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/-

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

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

Oracle Database 12c: Performance Management and Tuning NEW

Oracle Database 11g: New Features for Administrators

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

Oracle Database 11g: Administration Workshop II DBA Release 2

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

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

Proactive Performance Monitoring Using Metric Extensions and SPA

ORACLE DATABASE 11G: COMPLETE

Oracle Database 11g: Administration Workshop II DBA Release 2

SQL Server Training Course Content

Customer evaluation guide Toad for Oracle v12 Database administration

ORACLE DATABASE ADMINISTRATOR RESUME

Oracle Database 10g: New Features for Administrators

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

Maximizing Performance for Oracle Database 12c using Oracle Enterprise Manager

Oracle Database 11g: Administration Workshop II Release 2

Tips & Best Practices

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

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

Oracle Database 11g: Administration And Backup & Recover

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

Oracle Database 11g: Administration Workshop II

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

Ultimate Guide to Oracle Storage

Why Not Oracle Standard Edition? A Dbvisit White Paper By Anton Els

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

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - Administration Workshop II - LVC. 5 Jours [35 Heures]

ORACLE CORE DBA ONLINE TRAINING

2013 OTM SIG CONFERENCE Performance Tuning/Monitoring

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

D12CBR Oracle Database 12c: Backup and Recovery Workshop NEW

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

DATABASE ADMINISTRATION (DBA) SERVICES

Risk-Free Administration for Expert Database Administrators

Oracle Database 10g: Administration Workshop II Release 2

Toad for Oracle tips & tricks

Oracle DBA Course Contents

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

Oracle Database In-Memory A Practical Solution

System Administration of Windchill 10.2

Development Best Practices

Keep It Simple - Common, Overlooked Performance Tuning Tips. Paul Jackson Hotsos

An Oracle White Paper February, Oracle Database In-Memory Advisor Best Practices

Oracle Database 11g: Administration Workshop I

MyOra 3.5. User Guide. SQL Tool for Oracle. Kris Murthy

Collecting Oracle AWR Reports for Database Infrastructure Evaluator Tool (DIET) by Hitachi Data Systems

Monitoring and Diagnosing Oracle RAC Performance with Oracle Enterprise Manager

Product Review: James F. Koopmann Pine Horse, Inc. Quest Software s Foglight Performance Analysis for Oracle

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

Oracle Database 11g: Administration Workshop I Release 2

SQL Server Upgrading to. and Beyond ABSTRACT: By Andy McDermid

Oracle Database 11g: Administration Workshop I Release 2

Using RMAN to restore a database to another server in an ASM environment

VirtualCenter Database Performance for Microsoft SQL Server 2005 VirtualCenter 2.5

Oracle 11g DBA Training Course Content

Oracle Database 11g: SQL Tuning Workshop Release 2

D78850GC10. Oracle Database 12c Backup and Recovery Workshop. Summary. Introduction. Prerequisites

AV-004: Administering and Programming with ORACLE

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

ORACLE DATABASE: ADMINISTRATION WORKSHOP I

DATABASE VIRTUALIZATION AND INSTANT CLONING WHITE PAPER

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

RMAN BACKUP & RECOVERY. Recovery Manager. Veeratteshwaran Sridhar

An Oracle White Paper November SQL Plan Management in Oracle Database 11g

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

<Insert Picture Here> Oracle Database Directions Fred Louis Principal Sales Consultant Ohio Valley Region

DBA / System Administrator. Activities E N A B L E R S O F T H E V I R T U A L E N T E R P R I S E

Oracle Database 11g: Real Application Testing

Oracle Database 11g R1 & R2: New Features for Administrators

Oracle Database 11g: SQL Tuning Workshop

Database Manageability and Productivity Cost Comparison Study: Oracle Database 11g Release 2 VS IBM DB2 Enterprise 9.7. June 2011

Installation and User Guide

Optimize Oracle Business Intelligence Analytics with Oracle 12c In-Memory Database Option

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

Delivery Method: Instructor-led, group-paced, classroom-delivery learning model with structured, hands-on activities.

Oracle Recovery Manager

ORACLE DATABASE 10G ENTERPRISE EDITION

Response Time Analysis

Applying traditional DBA skills to Oracle Exadata. Marc Fielding March 2013

Management Packs for Database

Oracle Certified Professional. Oracle Database Administrator (OCP 10g Exam 1Z0-042) 50 Cragwood Rd, Suite 350 South Plainfield, NJ 07080

Zen Internet. Online Data Backup. Zen Vault Professional Plug-ins. Issue:

Oracle Database 12c: New Features for Administrators

UBUNTU DISK IO BENCHMARK TEST RESULTS

Oracle Database. 2 Day + Performance Tuning Guide 12c Release 1 (12.1) E

Guerrilla Warfare? Guerrilla Tactics - Performance Testing MS SQL Server Applications

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

SQL Server 2008 Designing, Optimizing, and Maintaining a Database Session 1

Transcription:

Evidence-based Best Practices for JD Edwards EnterpriseOne Using Oracle 11gR2 Real Application Testing Dallas Willett & Jeremiah Wilton Technical Leads Blue Gecko, Inc.

Evidence-based Best Practices for JD Edwards EnterpriseOne Measurable results with Real Application Testing WTS does JD Edwards EnterpriseOne well Blue Gecko does Oracle well Together we set out to demonstrate how to use concrete data from real-life production workloads to tune EnterpriseOne on Oracle

Why Tune JD Edwards EnterpriseOne on Oracle? Tuning leads to less time spent waiting for the database And Less time spent waiting for the database leads to: Better user experience Improved employee productivity Allows for company growth with existing IT resources Lower total cost of ownership

Why Real Application Testing? With Real Application Testing, Oracle gives us the ability to empirically determine the best way to tune the database Empirically derived values are better than: Guessing Estimates Rules of thumb

What will you get from this presentation? Technical understanding of the technologies we used in this experiment A idea of the results you can expect from your partnership with WTS and Blue Gecko.

Why do this experiment? JD Edwards is now an Oracle product Dearth of advice for tuning JD Edwards on Oracle RDBMS WTS excels in JD Edwards on Oracle App-specific database modifications for tuning High availability, scalability Blue Gecko excels in Oracle tuning, support and troubleshooting Service time reduction Problem root cause identification

Ivan Oss WTS Application Engineering Manager 12 Years managing development operations at JDEdwards JDE's 3rd Oracle DBA Contributing author and technical editor for several bestselling books on Oracle s Dallas Willett Blue Gecko Oracle DBA for 14 years Amazon.com s second DBA 1997-2006 Jeremiah Wilton Blue Gecko Oracle DBA for 17 years Amazon.com s first DBA 1997-2004 Member, Oak Table

Ivan Oss WTS Application Engineering Manager 12 Years managing development operations at JDEdwards JDE's 3rd Oracle DBA Contributing author and technical editor for several bestselling books on Oracle s Dallas Willett Blue Gecko Oracle DBA for 14 years Amazon.com s second DBA 1997-2006 Jeremiah Wilton Blue Gecko Oracle DBA for 17 years Amazon.com s first DBA 1997-2004 Member, Oak Table

WTS Corporate Overview Largest provider of hosted applications, managed disaster recovery, and infrastructure services for JD Edwards applications Co-founded with JD Edwards in 1997 Over 70 hosted and disaster recovery customers Support 10,000+ users across 17 time zones Visit WTS at Booth #615 or www.wts.com

Ivan Oss WTS Application Engineering Manager 12 Years managing development operations at JDEdwards JDE's 3rd Oracle DBA Contributing author and technical editor for several bestselling books on Oracle s Dallas Willett Blue Gecko Oracle DBA for 14 years Amazon.com s second DBA 1997-2006 Jeremiah Wilton Blue Gecko Oracle DBA for 17 years Amazon.com s first DBA 1997-2004 Member, Oak Table

Blue Gecko, Inc Remote DBA Services Oracle Oracle E-Business Suite MySQL Microsoft SQL Server 24x7 Support and Proactive monitoring Highly competent Many ex-amazon DBAs

Our Experiment Purpose: Tune JD Edwards EnterpriseOne on Oracle Method: Use Oracle Real Application Testing, which will allow us to gather measurable results

What are we measuring? DB time used by a real-life application Not buffer gets Not CPU used Not disk reads Not number of anything Just DB time by the application

The Components of our Experiment Windows Server 2003 R2 64-bit (5.2) JD Edwards EnterpriseOne Oracle 11gR2 64-bit (11.2.0.2) Oracle Real Application Testing Replay SQL Performance Analyzer (SPA) Oracle Diagnostic and Tuning Packs SQL Tuning Advisor Automatic Workload Repository (AWR) Automatic Diagnostic Monitor (ADDM)

The Components of our Experiment Windows Server 2003 R2 64-bit (5.2) JD Edwards EnterpriseOne Oracle 11gR2 64-bit (11.2.0.2) Oracle Real Application Testing Replay SQL Performance Analyzer (SPA) Oracle Diagnostic and Tuning Packs SQL Tuning Advisor Automatic Workload Repository (AWR) Automatic Diagnostic Monitor (ADDM)

The Components of our Experiment Windows Server 2003 R2 64-bit (5.2) JD Edwards EnterpriseOne Oracle 11gR2 64-bit (11.2.0.2) Oracle Real Application Testing Replay SQL Performance Analyzer (SPA) Oracle Diagnostic and Tuning Packs SQL Tuning Advisor Automatic Workload Repository (AWR) Automatic Diagnostic Monitor (ADDM)

The Components of our Experiment Windows Server 2003 R2 64-bit (5.2) JD Edwards EnterpriseOne Oracle 11gR2 64-bit (11.2.0.2) Oracle Real Application Testing Replay SQL Performance Analyzer (SPA) Oracle Diagnostic and Tuning Packs SQL Tuning Advisor Automatic Workload Repository (AWR) Automatic Diagnostic Monitor (ADDM)

Real Application Testing Please do not call it RAT (per Oracle) Added-cost feature set for guaranteeing stable changes Two mainly unrelated components Replay (DB Replay) Captures and replays a faithful production workload Detects performance differences across changes This is the component we used for this experiment SQL Performance Analyzer (SPA) Benchmarks selected sets of SQL statements across changes Detects regressions in individual SQL statements

Real Application Testing Please do not call it RAT (per Oracle) Added-cost feature set for guaranteeing stable changes Two mainly unrelated components Replay (DB Replay) Captures and replays a faithful production workload Enables the detection performance differences across changes This is the component we used for this experiment SQL Performance Analyzer (SPA) Benchmarks selected sets of SQL statements across changes Detects regressions in individual SQL statements

How DB Replay works Capture Workload Clone Prepare Clone Replay Workload AWR Snapshots Step 1: Capture Production Workload Flashback Tuning Advisors Step 2: Setup Clone Step 3: Prepare Cloned Tune Step 4: Baseline Test Run Step 5: Subsequent Test Runs

How DB Replay works Capture Workload Clone Prepare Clone Replay Workload AWR Snapshots Step 1: Capture Production Workload Flashback Tuning Advisors Capture a workload to files Running production system Typical (or peak) workload period Oracle 9.2.0.8, 10.2.0.3-5, 11g Tune

How DB Replay works Capture Workload Clone Prepare Clone Replay Workload AWR Snapshots Step 2: Setup Clone Flashback Tuning Advisors Clone production database using RMAN Recover until the time/scn at which the workload capture began Tune

How DB Replay works Capture Workload Clone Prepare Clone Replay Workload AWR Snapshots Step 3: Prepare Cloned Flashback Tuning Advisors Upgrade the clone to 11g If production wasn t 11g already Create a Flashback Restore Point Preprocess the captured workload files Tune

How DB Replay works Capture Workload Clone Prepare Clone Replay Workload AWR Snapshots Step 4: Baseline Test Run Flashback Tuning Advisors Replay the workload against the clone database First run used as a baseline Capture performance data. Take AWR Snapshots during the test Analyze performance and start tuning Tune

How DB Replay works Capture Workload Clone Prepare Clone Replay Workload AWR Snapshots Step 5: Subsequent Test Runs Flashback Tuning Advisors Implement tuning changes Flashback Or re-clone to the workload start time Replay the workload Compare AWR statistics between runs Tune

How SQL Tuning Advisor works Capture Workload Clone Prepare Clone Replay Workload AWR Snapshots Step 1: Take AWR Snapshots Step 2: Run SQL Tuning Flashback Tuning Advisors Advisor Step 3: Tune Tune

How SQL Tuning Advisor works Capture Workload Clone Prepare Clone Replay Workload AWR Snapshots Step 1: Take AWR Snapshots Flashback Tuning Advisors Take AWR snapshots while DB Replay is running Pick a begin time and end time for your snapshots Tune Write code such that the snapshots are taken at the same time during each replay

How SQL Tuning Advisor works Capture Workload Clone Prepare Clone Replay Workload AWR Snapshots Step 2: Run SQL Tuning Advisor Create a SQL Set from your two AWR Snapshots Flashback Order SQL Statements by elapsed time Tune Specify the number of SQL statements to analyze (Top-N) Create and execute a Tuning Task over this SQL Set Tuning Advisors

How SQL Tuning Advisor works Capture Workload Clone Prepare Clone Replay Workload AWR Snapshots Step 3: Tune Flashback Tuning Advisors Run a report on your tuning task SQL Tuning Advisor recommends New SQL profiles Index changes Tune

Our Setup Capture Workload Clone Prepare Clone Replay Workload AWR Snapshots Collected production Flashback Tuning Advisors workload on Oracle 10gR2 Cloned the production Tune database to similar hardware Upgraded the clone to 11gR2

Our Tests We ran the workload multiple times with Replay to produce three test results: (Test A) Baseline E1 Some additional tuning/enhancements from what you would get from the JD Edwards Deployment Tool Appropriately sized SGA and other Oracle initialization parameters ASM for datafiles Relevant OS and patching

Our Tests (Test B) With WTS database customizations for E1 Exactly like production Has additional Indexing and SQL Profiles not found in the baseline E1 database. (Test C) With WTS database customizations for E1 plus Blue Gecko advanced tuning Even more Indexing and SQL Profiles Multiple tuning passes with DB Replay

Our Tests Replays 1) Baseline E1 DB (Test A) 2) WTS Customizations (Test B) Description Removed WTS Customizations Same as Production 3) Blue Gecko Run Tuned Top-100 SQLs from Run2 4) Blue Gecko Run Tuned Top-100 SQLs from Run3 5) Blue Gecko Run (Test 3) Tuned Top-100 SQLs from Run4

The Results (Test A) Baseline database created by E1 DB Time of 214 minutes (Test B) With WTS database customizations for E1 DB Time of 151 minutes (42% performance increase) (Test C) With WTS database customizations for E1 plus Blue Gecko advanced tuning DB Time of 65 minutes (229% performance increase)

Our Process The DB Replay runs we executed: Run #1: Baseline E1 DB (Test A) Run #2: WTS database customizations for E1 (Test B) Run #3: Added SQL Profiles and Indexes from Run #2 Run #4: Added SQL Profiles and Indexes from Run #3 Run #5: Added SQL Profiles and Indexes from Run #4 (Test C)

The Results Replays 1) Baseline E1 DB (Test A) 2) WTS Customizations (Test B) New SQL Profiles New Indexes DB Time 0 0 214 min 13 8 151 min 3) Blue Gecko Run 41 31 78 min 4) Blue Gecko Run 57 43 72 min 5) Blue Gecko Run (Test 3) 65 46 65 min

Technical Details Capture Workload Clone Prepare Clone Replay Workload AWR Snapshots Capture Script Replay Script SQL Tuning Script More Detailed AWR Results Flashback Tune Tuning Advisors

Technical Details Capture Workload Clone Prepare Clone Replay Workload AWR Snapshots Replay Script SQL Tuning Script More Detailed AWR Results Flashback Tune Tuning Advisors

Capture Script Capture production workload PL/SQL or use Enterprise Manager to kick this off SQL> create directory CAPTURE_DIR as 'f:\capture_dir'; SQL> exec dbms_workload_capture.start_capture( name => :capture_name, dir => 'CAPTURE_DIR', duration => 3*60*60); SQL> exec dbms_workload_capture.finish_capture;

RMAN Clone Setup Clone RMAN> connect target sys/password RMAN> connect auxiliary / RMAN> duplicate target database to AUXSID; Clone will be specific to your environment SQL> exec dbms_workload_replay.process_capture( capture_dir => 'CAPTURE_DIR );

Replay Script Step 1: Flashback the Step 2: Load Tuning Changes Step 3: Prepare Replay Step 4: Start Replay Step 5: Monitor Replay The SQL scripts we used in this experiment and presentation are available at: http://www.bluegecko.net/oracle/real-application-testing

Replay Script Step 1: Flashback the SQL> @save_sql_profiles.sql SQL> shutdown immediate SQL> startup mount SQL> flashback database to restore point pre_capture; SQL> alter database open resetlogs; We used dbms_datapump commands to save the current SQL Profiles between tests. Flashback saved us a lot of time

Replay Script Step 2: Load Tuning Changes SQL> create directory workload_dir as 'f:\export_dir'; SQL> @load_sql_profiles.sql SQL> @schema_changes.sql We used dbms_datapump to reload the SQL Profiles from previous test back into the database. We added new indexes suggestions from the SQL Tuning Advisor to our schema_changes.sql script.

Replay Script Step 3: Prepare Replay SQL> exec dbms_workload_replay.initialize_replay (replay_name=>:replay_nm, replay_dir=>'workload_dir'); SQL> @delete_old_replay_info.sql SQL> @remap_connections.sql Removed old replay information Remap connections from production DB to clone

Replay Script Step 3: Prepare Replay (continued ) Remove any delay between SQL statements SQL> exec dbms_workload_replay.prepare_replay (think_time_scale=>0); The default for THINK_TIME_SCALE 100 (percent) Used to compare the production database to your cloned database We set THINK_TIME_SCALE to zero. We re not comparing to production We re doing comparisons between runs on our cloned database

Replay Script Step 4: Start Replay SQL>!nohup./run_wrc.bash SQL> exec dbms_workload_replay.start_replay; We kicked off 25 Workload Replay Clients (wrc) We ran these wrc processes on another machine

Replay Script Step 5: Monitor Replay SQL> @replay_minder.proc SQL> exec dbms_scheduler.create_job (job_name=>'replay_minder_job', job_type=>'stored_procedure', job_action=>'replay_minder', enabled=>true); Stored Procedure checks the progress of the replay periodically Takes initial and final AWR Snapshots Then terminates the replay

SQL Tuning Script Step 1: Create a SQL Set Step 2: Populate the SQL Set Step 3: Create and Execute a Tuning Task Step 4: Examine Tuning Report The SQL scripts we used in this experiment and presentation are available at: http://www.bluegecko.net/oracle/real-application-testing

SQL Tuning Script Step 1: Create a SQL Set SQL> exec dbms_sqltune.create_sqlset (sqlset_name=>:sqlset_nm); To populate this new SQL Set, we used the AWR Snapshots that we took during DB Replay

SQL Tuning Script Step 2: Populate the SQL Set SQL> OPEN v_cursor FOR SELECT VALUE(P) FROM table (dbms_sqltune.select_workload_repository( begin_snap=>v_begin_snap, end_snap=>v_end_snap, basic_filter=> 'parsing_schema_name <> ''SYS''', ranking_measure1=>'elapsed_time', result_limit => &v_result_limit, attribute_list=>'all')) P;

SQL Tuning Script Step 2: Populate the SQL Set (continued ) SQL> exec dbms_sqltune.load_sqlset( sqlset_name => :sqlset_nm, populate_cursor => v_cursor, load_option => 'MERGE', update_option => 'ACCUMULATE');

SQL Tuning Script Step 3: Create and Execute a Tuning Task SQL> exec :tuning_task := dbms_sqltune.create_tuning_task( sqlset_name => :sqlset_nm, time_limit => &v_dur_mins*60); SQL> exec dbms_sqltune.execute_tuning_task (:tuning_task);

SQL Tuning Script Step 4: Examine Tuning Report SQL> select dbms_sqltune.report_tuning_task (:tuning_task) from dual; SQL> select dbms_sqltune.script_tuning_task (:tuning_task) from dual;

SQL Tuning Advisor Output Query of DBA_SQLSET_STATEMENTS SQL_ID ELAPSED_TIME EXECUTIONS OPTIMIZER_COST ------------- ------------ ---------- -------------- 343px2czg00br 406061746 2 24151 0bbd27chkkw0s 350630523 29 225 3tyyq6gm3zs0j 315514346 1 1903 1dumbdy32gvdx 279378002 32 1420 4mp577zznhjju 172512711 7 90634

SQL Tuning Advisor Output --------------------------------------------------- Global SQL Tuning Result Statistics --------------------------------------------------- Number of SQLs Analyzed : 5 Number of SQLs in the Report : 4 Number of SQLs with Findings : 4 Number of SQLs with SQL profiles recommended : 3 Number of SQLs with Index Findings : 3 Number of SQLs with Timeouts : 1

SQL Tuning Advisor Output ------------------------------------------------------- SQLs with Findings Ordered by Maximum (Profile/Index) ------------------------------------------------------- profile index object ID SQL ID (benefit) (benefit) ---------- ------------- --------- --------- 2 343px2czg00br 99.32% 99.95% 4 3tyyq6gm3zs0j 51.78% 98.16% 3 0bbd27chkkw0s 97.33% 6 4mp577zznhjju 93.55%

SQL Tuning Advisor Output Example SQL Profile Recommendation Recommendation (estimated benefit: 99.32%) ------------------------------------------ - Consider accepting the recommended SQL profile. execute dbms_sqltune.accept_sql_profile( task_name => 'TASK_367582, object_id => 2, task_owner => 'SYS', replace => TRUE);

SQL Tuning Advisor Output Example SQL Profile Recommendation ------------------------------------------------------- DETAILS SECTION ------------------------------------------------------- Object ID : 2 SQL ID : 343px2czg00br Original Plan SQL Profile % Improved ------------- ----------- ---------- Elapsed Time: 15.51271.028304 99.81 % CPU Time:.59375.003125 99.47 % User I/O Time: 15.19699.026501 99.82 %

SQL Tuning Advisor Output Example Index Recommendation Recommendation (estimated benefit: 99.95%) ------------------------------------------ - Consider running the Access Advisor to improve the physical schema design or creating the recommended index. create index IDX$$_59BD60018 on F470371("SZDOCO","SZLITM");

SQL Tuning Advisor Output We decided not to accept any parallel query SQL profiles Recommendation (estimated benefit: 93.06%) ------------------------------------------ - Consider accepting the recommended SQL profile to use parallel execution for this statement. execute dbms_sqltune.accept_sql_profile( task_name => 'TASK_367574', object_id => 38, task_owner => 'SYS', replace => TRUE, profile_type => DBMS_SQLTUNE.PX_PROFILE);

The Results (Test A) Baseline database created by E1 DB Time of 214 minutes (Test B) With WTS database customizations for E1 DB Time of 151 minutes (42% performance increase) (Test C) With WTS database customizations for E1 plus Blue Gecko advanced tuning DB Time of 65 minutes (229% performance increase)

The results continued Additional AWR Data: Test DB Time SQL Profiles Indexes A Baseline E1 214 min 0 0 B WTS Customizations 151 min 13 8 C Blue Gecko Advanced Tuning 65 min 65 46

The results continued Additional AWR Data: Test DB Time CPU Time IO Time A Baseline E1 214 min 65 min 147 min B WTS Customizations 151 min 101 min 48 min C Blue Gecko Advanced Tuning 65 min 38 min 24 min

The results continued Additional AWR Data: Test A Baseline E1 B WTS Customizations I/O Reads 161 GB 590 req/sec 116 GB 520 req/sec I/O Writes 9 GB 120 req/sec 9 GB 140 req/sec C Blue Gecko Advanced Tuning 54 GB 135 req/sec 6 GB 150 req/sec

The results continued Additional AWR Data: Test DB Time Clock Time A Baseline E1 209 min 113 min B WTS Customizations C Blue Gecko Advanced Tuning 163 min 104 min 65 min 87 min

The results continued Additional AWR Data: Test Buffer Cache Hit Ratio Buffer Gets A Baseline E1 98% 208 million B WTS Customizations 96% 82 million C Blue Gecko Advanced Tuning 99% 70 million

The results continued Buffer Pool Advisory (Read Factor versus Pool Size) 9 8 7 6 5 4 3 2 1 0 10% 30% 50% 70% 90% 110% 130% 150% Test A Test B Test C

Evolve with WTS and BlueGecko Are you using industry best practices for JDE management? How big is your support community? How many master level Oracle DBAs do you have on staff? How much time do you have for R&D projects?

Evidence-based Best Practices for JD Edwards EnterpriseOne Using Oracle 11gR2 Real Application Testing The SQL scripts we used in this experiment and presentation are available at: http://www.bluegecko.net/oracle/real-application-testing Visit WTS at Booth #615 or www.wts.com

Did you register through Quest? You are now a member! Continue the education ALL YEAR: Regional Education Conferences: Northeast: July 20-21 West: Aug. 16-17 Midwest: Nov. 7-8 Online Learning Series: Business Intelligence: May11-27 HCM: Aug. 9-25 Financials: Sept. 8-27 Upgrades: Oct. 13-27 Year-End: Nov. 3-15 Plus 200+ OnDemand Online Sessions Save by using the member rate! www.questdirect.org