+ All Categories
Home > Documents > 1 Copyright © 2013, Oracle and/or its affiliates. All...

1 Copyright © 2013, Oracle and/or its affiliates. All...

Date post: 14-Mar-2018
Category:
Upload: dohanh
View: 217 times
Download: 2 times
Share this document with a friend
103
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1
Transcript
Page 1: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.1

Page 2: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Getting Optimal Performance from Oracle E-Business Suite

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.2

Samer BarakatDevelopment Director, Applications Performance

Page 3: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

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

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

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.

Page 4: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Program Agenda

� Performance Triage & Resolution

� Optimizing E-Business Suite Applications Tier

� Optimizing E-Business Suite Database Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.4

� Optimizing E-Business Suite on RAC

� E-Business Suite on Engineered Systems

� Optimizing E-Business Data Management

� Optimizing E-Business Platform Migration

� Q&A

Page 5: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Performance Triage & Resolution

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.5

Page 6: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Performance Triage & Resolution

� DEFINE the problem clearly

� GATHER the right data to analyze the issue

� Identify the ROOT CAUSE of the problem, possibly gather additional data

� Search for a KNOWN SOLUTION or workaround that addresses the root cause ofthe problem

How to Approach a Performance Issue

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.6

the problem

� If it is a product issue, PASS ON the right information to support/dev through theregular channels

� Try to identify a TEMPORARY WORKAROUND to alleviate the issue while you get apermanent fix

Page 7: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Performance Triage & Resolution

� Get a clear understanding & quantitative definition of the issue

� Where is the time going ? Get the right diagnostics

– What?

– Where?

– When?

Define the Problem

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.7

– When?

– Why?

– How?

� Identify the Techstack

components in-play

� Refer to the architecture

Page 8: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Performance Triage & Resolution

� ~ 80% of issues are DB processing related

� If non-database (client side) processing occurs within the flow, you may see DB wait events like

Define the Problem

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.8

SQL*Net Message from client

TCP Socket%

PLSQL Lock Timer

� Keep a watchful eye on OS metrics and resource consumption in all 3 tiers

Page 9: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Performance Triage & Resolution

Gather Diagnostic Data

Start with MOS ID 1121043.1 for How-to & Best Practices•• SQL Tuning

• Trace files

• SQLT output (MOS ID: 215187.1)

• Trace Analyzer (MOS ID: 224270.1)

• AWR Report (MOS ID: 748642.1)

• Database Tuning

• AWR Report (MOS ID: 748642.1)

• ADDM report (MOS ID: 250655.1)

• Active Session History (ASH)

• Forms Tuning

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.9

• 11g SQL Monitor Report

• AWR SQL Report (awrsqrpt.sql)

• PL/SQL Tuning

• Product logs

• PL/SQL Profiler (MOS ID: 808005.1)

• Reports Tracing (MOS ID: 111311.1)

• Forms Tracing (MOS ID: 373548.1)

• FRD Log (MOS ID: 445166.1)

• Generic note (MOS ID: 438652.1)

• Middle tier Tuning

• JVM Logs

• JVM Sizing/Tuning (MOS ID:

362851.1,278868.1)

• OS - OSWatcher (MOS ID: 301137.1)

Page 10: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Performance Triage & Resolution

Gather Enhanced Performance Diagnostics for Oracle E-Business Suite

(MOS ID: 1362660.1)

� Gather as much diagnostic data as possible in one round trip to customer.

� Available on 12.1.3 as a standalone patch# 12544073 (Mandatory Pre-Requisite AD Patch# 12991557)

� Enhancement to FND_TRACE : New procedure “set_preferences” enables you to

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.10

� Enhancement to FND_TRACE : New procedure “set_preferences” enables you to

– Enable tracing for sessions

– Enable tracing for one or more SQL statements using SQL_ID (*)

– Generate CBO trace when tracing SQL statements (*)

– Trace PL/SQL using PL/SQL Hierarchical Profiler (*)

– Set Statistics Level

�(*) - Only in Oracle Database 11g+

Page 11: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Performance Triage & Resolution

� One or more of the following outputs can generated automatically after the end of traced session. The concurrent program 'Gather Diagnostic Data for Traced Sessions' is automatically submitted via 'System Administrator responsibility to gather this output.

– AWR, ADDM and ASH Reports

– Session Statistics

Gather Enhanced Performance Diagnostics for Oracle E-Business Suite

(MOS ID: 1362660.1)

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.11

– Session Statistics

– SQLT output (*)

– Trace Analyzer output, which includes SQLT output for top SQLs

– Objects statistics when a SQL statement is traced, but SQLT output is not chosen or not installed

– Real-Time SQL Monitor Report when a SQL statement is traced (**)

– SQL Detail Report when a SQL Statement is traced (***)

�(* )Requires SQLT tool - Note 215187.1, (** )Oracle DB 11g+ (*** )Oracle DB

11.2.0.1+

Page 12: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Establish baselines for different workloads by collecting system level performance information

– AWR (Automatic Workload Repository) Report

– ADDM (Automatic Database Diagnostic Monitor) Report

– ASH (Active Session History) Report

– Real-Time SQL Monitoring Report (11g+) (Parallel queries and queries taking > 5 seconds)

Performance Triage & Resolution

Gather Diagnostic Data

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.12

– Real-Time SQL Monitoring Report (11g+) (Parallel queries and queries taking > 5 seconds)

� Operating system statistics

– OSW Document Doc ID 301137.1

– OSWg Document Doc ID 461053.1

Page 13: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Monitor and trace critical flows & concurrent programs

– ASH (Active Session History) Report

– SQL Trace Level 8 (with waits) or Level 12 (with waits and binds) followed by TKPROF

• Check both raw trace and TKPROF

• Interpreting Raw SQL_TRACE files MOS Doc ID 39817.1

– Trace Analyzer (TRCA) reads an Event 10046 SQL Trace file and provides a

Performance Triage & Resolution

Gather Diagnostic Data

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.13

– Trace Analyzer (TRCA) reads an Event 10046 SQL Trace file and provides a comprehensive report for performance analysis and tuning MOS Doc ID 224270.1

� Monitor and trace specific SQLs

– SQLTXPLAIN (aka SQLT) MOS Doc ID 215187.1

•Maintained by Oracle Support - often requested

•Collects information on why the execution plan was chosen

Page 14: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Trace/TKPROF ? Get the complete session story

Set Trace Parameters

– max_dump_file_size=unlimited

•Ensure there is sufficient disk space in the tracing directory

– user_dump_dest or if diagnostic_dest is set in Oracle11g

•(diagnostic_dest)/diag/rdbms/(dbname)/(instname)/trace

Performance Triage & Resolution

Gather Diagnostic Data

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.14

•(diagnostic_dest)/diag/rdbms/(dbname)/(instname)/trace

•background_dump_dest for parallel slave processes

– STATISTICS_LEVEL=ALL

Generate Trace

– Forms: Help -> Diagnostics -> Trace

– OA HTML: Diagnostics -> Tracing

– Set the profile: “Initialization SQL Statement - Custom“. Use FND_CTL.FND_SESS_CTL

Page 15: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Trace/TKPROF ? Get the complete session story

Raw trace must be

– From before the user action began To the point the DB session ends**

– A complete, non-truncated trace file

*** DUMP FILE SIZE IS LIMITED TO 12345 BYTES***

Run TKPROF from the correct Oracle home

Performance Triage & Resolution

Gather Diagnostic Data

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.15

Run TKPROF from the correct Oracle home

•Use the sort options = fchela,exeela,prsela

TKPROF output MUST have

•Runtime Execution Plans and Row Counts & Row Source Stats

•Run Time Execution Plan = “Row Source Operation” != “Explain Plan”

Best practices, detailed how-to steps & recommended tracing patches

•MOS Doc 1121043.1 (Also review Appendix B – Getting In-Memory partial runtime stats)

Page 16: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Automatic Workload Repository (AWR) ? Get the complete system story

– Regularly Review Automatic Workload Repository (AWR) data for different workloads

– Use DBMS_WORKLOAD_REPOSITORY or Enterprise Manager to create snapshots

– Generate reports using $ORACLE_HOME/rdbms/admin/awrrpt.sql

– Review the Advisory sections in AWR to fine tune SGA & PGA.

– Monitor and correlate top SQL in AWR to business flows.

Performance Triage & Resolution

Gather Diagnostic Data

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.16

– Monitor and correlate top SQL in AWR to business flows.

– Review Load Profile and Top 5 Timed Events section to determine utilization & bottlenecks and review relevant detailed sections for these events.

Page 17: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Regularly Review Automatic Workload Repository (AWR) data for different workloads

– For Latch related waits

•Often due to: non-sharable SQL, sub-optimal SQL which performs full table or full index scans, dynamic object creation/removal, etc.

•Review the latch Statistics section to determine the hot latches

•Trace waiter and holder sessions to determine actual cause

Performance Triage & Resolution

Analyze Root Cause

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.17

•Trace waiter and holder sessions to determine actual cause

– For I/O related waits

•Review SQL sections by Logical/Physical reads and the Segment Statistics sections by I/O

– For Enqueue related or buffer busy waits

•Review the following sections: enqueue, segment statistics by buffer busy waits, row lock & ITL waits

Page 18: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� If bottleneck is IO related...

(db file sequential read, db file scattered read, log file sync, free buffer waits, etc...)

– Tune Top SQL is always the first step

– Make sure that system has updated statistics.

– Maximize Memory availability, allocate generously to buffer cache, review AWR advisories & monitor swapping & paging.

Performance Triage & Resolution

Analyze Root Cause

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.18

advisories & monitor swapping & paging.

– Use ASM or alternatively use the SAME methodology for db files.

– IO Sub-system:

� RAID 10 still preferred most often for high end requirements Ideal avg. response times of < 10ms.

– Check for excessive/redundant indexing.

– Configure async IO, use quick IO technologies.

Page 19: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� If the bottleneck is concurrency related

(enq%, latch%, buffer busy%, etc$ )

– Use global hash-partitioned indexes for hot leaf blocks - Identify via AWR "Top logical IOs by Segment"

– Some of these waits are commonly caused by bad SQL execution plans

i.e. :latch: cache buffer chains, %buffer busy waits, read by other session

Performance Triage & Resolution

Analyze Root Cause

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.19

i.e. :latch: cache buffer chains, %buffer busy waits, read by other session

– Make sure to use ASSM and OATM tablespace model.

– Increase INITRANS to alleviate ITL contention.

– Increase sequence caches,

– Work with support/consulting to evaluate if table/index partitioning will help .

– If the program allows, more frequent commits (batch size) can help by reducing the CR (consistent read) work required.

Page 20: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite Applications Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.20

Page 21: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite Applications Tier

� Apply latest Release Update Packs

� Release 12.1.3: Patch 9239090 : MOS ID: 1080973.1

� Release 12.0 - RUP6: Patch 6728000 : MOS ID: 743368.1

� Apply the latest EBS Family Packs + Recommended Patch List

Stay Current

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.21

� “Recommended Performance Patches for the Oracle E-Business Suite”, MOS ID 244040.1

� Recommended performance patches for all the modules and tech stack components are consolidated in this note

� Upgrade techstack components to the latest certified levels

http://blogs.oracle.com/stevenChan/resource/certifications.html

Page 22: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite Applications Tier

� FND: Debug Log Enabled - Set it to ‘Yes’ (12.0 RUP3+, 12.1.x)

� FND: Debug Log Level - Set to Unexpected (Level=6)

� Query FND_LOG_MESSAGES to check the logging traffic

Use Optimal Logging Settings

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.22

� Query FND_LOG_MESSAGES to check the logging traffic

� With above profile configuration

� If the query shows a large number of rows being created, there could beexceptions and errors which need to be investigated

Page 23: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite Applications Tier

�Purge runtime data (Conc Program: FNDWFPR)

� Can run by ITEM_TYPE

� Monitor/Troubleshoot old workflows not properly closed

� Purge frequently

�For background engines via Concurrent Manager, set the ‘Process Stuck’

Optimize Workflow Processes

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.23

�For background engines via Concurrent Manager, set the ‘Process Stuck’ parameter to ‘No’

� Identification of stuck workflows is resource intensive

� Start a separate background engine to handle stuck/timed out processes with a low frequency –i.e. once a day

�Use deferred activities to improve online response times for flows such as Scheduling, PO Document Approval, etc.

Page 24: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite Applications Tier

�Run $FND_TOP/sql/wffngen.sql to translate the activity function calls into static calls

� Edit & add heavily used ITEM_TYPES

� itemtypeList_t (‘WFSTD’,’FNDFFWF’)

� Generates wffncal2b.pls in utl_file_dir to re-create pkg

�Disable retention on Workflow Queues

Optimize Workflow Processes

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.24

�Disable retention on Workflow Queues

DBMS_AQADM.ALTER_QUEUE(queue_name=>:b1,retention_time=>0);

�Partition runtime tables for higher scalability – MOS ID: 260884.1

�For high volume batch processing in RAC use ITEM_TYPE to Node affinity

Define node affinity at the program level ( See MOS Doc ID 1129203.1)

Page 25: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimize Forms Processes

� To reduce load on the database server, ensure users are optimally utilizing the professional Forms interfaces.

– Avoid Blind queries

– Provide selective criteria in Find windows and LOVs

Optimizing E-Business Suite Applications Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.25

� Minimize network traffic and form open times

– Avoid opening and closing forms across transactions

– Combine forms from multiple-products onto a single menu

� Generate complete SQL trace and Forms Runtime Diagnostics (FRD) to debug performance issues

Page 26: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimize JVM Processes

� Total available memory is the most important factor affecting GC performance.

� Review the frequency of collections, especially major collections (i.e. Full GC)

� Enable verbose GC to tune heap sizes based on the GC traffic

Optimizing E-Business Suite Applications Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.26

� Enable verbose GC to tune heap sizes based on the GC traffic

� Start with: -Xms1024M and –Xmx1024M

� Setting -Xms and -Xmx to the same value avoids the need for heap memory re-allocation during runtime

Page 27: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimize JVM Processes

� If full GCs are too frequent, consider increasing Xms and Xmx

� Consider using jstat to see and review each of the heap generations for possible tuning

Optimizing E-Business Suite Applications Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.27

� Increase the number of JVMs to scale up for more users with faster GC times.

– Each JVM has a smaller Xmx,Xms memory footprint so full GCs will be faster!

Page 28: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite Applications Tier

� The main contributors to the middle tier memory are the JVMs heaps, forms (frmweb) process memory and concurrent manager components, especially java concurrent programs.

� To calculate physical memory for oacore JVM heap, the following formula can be used:

M= (N/ 150 ) * 1 GB

Size The Middle Tier For Concurrency

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.28

M= (N/ 150 ) * 1 GB

Where M = total memory used by oacore VMsN = total number of concurrent Self-Service users

� Use one JVM per 2 CPUs

� ~100-150 concurrent users per JVM

Page 29: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite Applications Tier

� To calculate physical memory for Forms frmweb processes, the following formula can be uses used:

M= N * 40MB

Where

Size The Middle Tier For Concurrency

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.29

M = total memory used by Forms frmweb processes N = total number of concurrent Forms users

� Care should be taken to size for the concurrent manager components, especially java concurrent programs.

Page 30: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite Applications Tier

� A new updated set of sizing guidelines for 12.2 has been published based internal benchmarks with different workloads and concurrency levels, the information is available through

Oracle E-Business Suite Installation Guide: Using Rapid Install

Release 12.2 (12.2.0)

Size The Middle Tier For Concurrency

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.30

Part Number E22950-16

� http://docs.oracle.com/cd/E26401_01/doc.122/e22950/T422699i4773.htm#T610671

Page 31: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimize the Concurrent Manager

� Manage CM Jobs Lifecycle: 50% of performance tuning is in the business!

– Review long-running auto resubmitted jobs

– Review short/long-running jobs – selective parameters?

– Don’t purge jobs that the users then have to run again

– Trim the fat: Review and eliminate concurrent jobs that are not required and/or are not

being used by users.

Optimizing E-Business Suite Applications Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.31

being used by users.

� Manage CM Managers : More managers/workers != more throughput

– Avoid enabling an excessive number of standard or specialized managers.

– A common guideline is between 1-2 target process per CPU, but this needs to be

balanced with resources required by online activity

– Utilize Parallel Concurrent Processing (PCP) to leverage the Cluster (RAC)

Page 32: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimize the Concurrent Manager

� Manage CM State Data:

– Purge the FND tables on a regular basis using the “Purge Concurrent Request and Manager Data” program

– Patch 7530490 for R12 or 7834670 for 11i (MOS ID 822368.1)

– High throughput: Keep *.out and *.log on fast disks. Use Separate disks if throughput seems slow especially on NFS Filers

– Truncate the reports.log file in log directory. Watch for 2GB limit on any output files

Optimizing E-Business Suite Applications Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.32

– Truncate the reports.log file in log directory. Watch for 2GB limit on any output files (Doc ID 842850.1)

� Manage CM Schedules:

– Use specialization rules and work shifts to bind specific jobs to specific time windows .

– Avoid scheduling resource intensive batch requests during peak activity.

– Reschedule some programs to run when the concurrent managers have excess capacity.

– Define Workload Management Strategy based on job average duration and system usage profile.

Page 33: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimize the Concurrent Manager: Workload Management Strategy

– Avoid Short Sleep Times

Optimizing E-Business Suite Applications Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.33

• *Enough for a couple of minutes of work

• **Set cache size to at least twice the number of workers

– Specialization rules and work shifts

• Bind specific jobs to specific time windows

• Profile Option: Concurrent: Active Request Limit can be used restrict the number

of concurrent requests that may be run simultaneously by each user

• Specialize if there are too many jobs in a specific category

Page 34: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimize the Concurrent Manager

� Conflict Resolution Manager Sleep Time:

– To maximize throughput for jobs which spawn parallel workers (i.e. Auto Invoice, Payroll),

consider reducing the sleep time of the Conflict Resolution Manager (CRM).

– Default is 60s, consider 5 or 10 seconds

� Concurrent Manager Sleep Time:

– Define dedicated queues for short and frequent requests and increase the sleep times for

Optimizing E-Business Suite Applications Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.34

– Define dedicated queues for short and frequent requests and increase the sleep times for

managers which do not require near real-time job execution

– Reducing sleep time to a very low value many cause excessive CPU utilization.

� Transaction Manager Sleep Time:

– Set the profile “Concurrent:Wait for Available TM” to 1 (second) to minimize TM latency. The

profile sets the total time to wait for a TM before switchover to next available TM

– Set Sleep time on Transaction Managers to 30 minutes. this avoids constant polls to check

for shutdown requests.

Page 35: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimize the Concurrent Manager

� CM Queues :

– Consider dedicating certain concurrent managers to process either short or long running

programs to avoid queue backup

– Add more queues if all queues are running at maximum capacity only if resources permit.

– Tune the sleep time for queues with a large number of target processes.

� Cache Size:

Optimizing E-Business Suite Applications Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.35

� Cache Size:

– The cache size specifies the number of requests that will be cached each time the

concurrent manager reads from the FND_CONCURRENT_REQUESTS table

– Increase the cache size (number of requests cached) to at least twice the number of

target processes

– Increasing the cache size will boost the throughput of the managers by attempting to

avoid sleep time.

Page 36: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimize the Concurrent Manager

� Transaction Managers (Pipes vs Advanced Queue) :

– Transaction Managers are used for synchronous online processing (ex:Inventory

Transactions)

– Transaction Managers can use Pipes or queues (AQ).

– Set System Profile: “Concurrent:TM Transport Type”: to either Pipe/Queue

Optimizing E-Business Suite Applications Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.36

– Set System Profile: “Concurrent:TM Transport Type”: to either Pipe/Queue

– Use queues in RAC for easier setup while supporting Failover.

– Queues are Available in 11i (Doc ID 413636.1)

– For R12 (or 11i post Oracle 10.1) AQ is largely self-tuning

Page 37: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimize the Concurrent Manager

� Concurrent Manager Tracing Best Practices

– Program Level

� Not recommended

� Enable the trace/profiling option in the concurrent program definition

Request Level

Optimizing E-Business Suite Applications Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.37

– Request Level

� Ensure “Concurrent: Allow Debugging” is set to ‘Yes’

� Use the Debug Options button in the Request Submission Form

– Tracing Documents

� 280391.1 How to Retrieve SID Information For a Running Request

Page 38: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite Database Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.38

Page 39: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite Database Tier

� Tune Init.ora Parameters:

– Ensure mandatory init.ora parameters are set correctly.

– MOS ID 396009.1 & 216205.1 (R12 & 11i respectively)

� Apply Required Patches & Fixes/Workarounds for Known Issues

Recommended Performance Patches - MOS ID 244040.1

Verify init.ora Parameters and EBS Patches

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.39

– Recommended Performance Patches - MOS ID 244040.1

– Required Patching – Interoperability Notes

»11gR1 Certified with 11i and R12 – MOS ID 452783.1 & 735276.1

»11gR2 Certified with 11i – MOS ID 881505.1

Page 40: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite Database Tier

� Use Large/Huge pages. For example on Linux Huge Pages – See MOS ID 744769.1

� MOS ID 361468.1, “Huge Pages on Oracle Linux 64-bit” describes how to configure huge pages. When running the recommended script provided with Note 401749.1, make sure that all database instances are started.

� Set the parameter USE_LARGE_PAGES=’only’ for each instance so that the instance

Properly Size SGA/PGA Memory

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.40

� Set the parameter USE_LARGE_PAGES=’only’ for each instance so that the instance will only start if sufficient Huge Pages are available. See MOS ID 1392497.1 “USE_LARGE_PAGES To Enable Huge Pages In 11.2”

� Only SGA allocation benefits from large/huge pages, PGA allocation does not.

� Consider both SGA and PGA memory requirement when sizing your RAM

Page 41: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite Database Tier

� Ensure kernel asynchronous I/O is enabled and supported for the underlying file system (if file systems are being used for the DB files)

� Configure & verify direct IO is used (if file systems are being used for the DB files)

– Improves performance/scalability by simulating raw devices, avoiding file system cache traffic

� Ensure your IO subsystem can handle your peak IO load & IOPS

– Measure with ORION tool or in 11g

Tune Disk IO

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.41

– Measure with ORION tool or in 11gDBMS_RESOURCE_MANAGER.CALIBRATE_IO – MOS ID 727062.1

� Reduce the IO workload

– Tune expensive SQL

– Trim the workload of unnecessary tasks

– Do 3X less IO on average with 11g Advanced Compression Option

Page 42: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite Database Tier

� OATM Consolidates # of Apps tablespaces from 400 to ~12

– MOS ID 248857.1

� OATM Uses automatic segment management (ASSM) along with uniform extent sizes for tablespaces containing large transaction tables/indexes.

� OATM supports uniform extent allocation and auto allocate extent (AUTOALLOCATE )

Convert to the OATM Tablespace Model

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.42

� OATM supports uniform extent allocation and auto allocate extent (AUTOALLOCATE ) management

� OATM provides efficient space utilization. This is achieved by supporting locally managed tablespaces as opposed to the dictionary managed tablespace

� OATM Helps avoid frequent space management operations.

� Migration utility can be used to migrate a schema at a time

Page 43: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite Database Tier

� Utilize PL/SQL Native Compilation.

� Pin Top Apps PL/SQL packages by executions to help avoid shared pool fragmentation and reloads.

� Check cursor leaks and SQL statements using literals with large execution counts. Cursor leaks/literals can result in ORA-4031 errors.

Optimize Backend Code Execution Path

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.43

leaks/literals can result in ORA-4031 errors.

� Tune sequence cache sizes for hot sequences (e.g. 1,000 or higher) in order to minimize index key contention for the Apps surrogate keys.

� Make sure to use FND_STATS to gather statistics.

Page 44: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Statistics gathering strategy should not be based on time.

� It should always be based on rate of change in the data and is an iterative process.

� Disable the 10g/11g automatic job to gather stats

� Do not gather statistics excessively on entire schemas or the entire database such as

Gather Applications Statistics

Optimizing E-Business Suite Database Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.44

� Do not gather statistics excessively on entire schemas or the entire database such as nightly or weekly.

• Do not gather statistics on Global Temporary Tables.

� Avoid gathering statistics during peak hours.

� Gather statistics after large data load and when mix/max values have changed.

Page 45: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� New Published MOS ID 1586374.1 for "Best Practices for Gathering Statistics with Oracle E-Business Suite"

� Use only FND_STATS or the Gather Schema / Table Statistics Concurrent Programs

� Do NOT USE the analyze or dbms_stats command directly. It is not supported, and can result in sub-optimal plans.

When Gather Schema Statistics concurrent program is used fnd_stats does the

Gather Applications Statistics

Optimizing E-Business Suite Database Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.45

� When Gather Schema Statistics concurrent program is used fnd_stats does the bookkeeping for the run.

� FND_STATS supports column histograms.

� Histograms can be seeded by calling to fnd_stats.load_histogram_cols.

� Use the GATHER_AUTO option to gather incrementally. This will re-analyze objects which currently have no statistics and objects with stale statistics

Page 46: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Analyze all schemas at 10%, then for some specific objects use higher sampling x%

� Due to data skew, some tables benefit from higher sampling %

� For 11g, can use value of zero (AUTO_SAMPLE_SIZE)

� Do not invalidate cursors

� While submitting concurrent request to gather statistics set “Invalidate Dependent

Gather Applications Statistics

Optimizing E-Business Suite Database Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.46

� While submitting concurrent request to gather statistics set “Invalidate Dependent Cursors” parameter to No.

� Consider locking statistics for very volatile tables once a representative set is gathered.

� For example, interface tables, ap_selected_invoices, wsh_pr_workers etc.

� These intermediate tables are used in batch processes.

� Use FND_STATS.LOAD_XCLUD_TAB to skip the table.

Page 47: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

• Gather dictionary object statistics when there is a significant change in dictionary, for example, lot of new objects created.

exec dbms_stats.gather_dictionary_stats;

• Gather fixed object statistics with reasonable load on the system

Gather Dictionary and Fixed Stats

Optimizing E-Business Suite Database Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.47

exec dbms_stats.gather_fixed_objects_stats

• Dictionary and Fixed stats should be gather manually as they are not gathered automatically in the Release 12 upgrade by adstats.sql or any other method.

Page 48: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite on RAC

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.48

Page 49: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite on RAC

� Interconnect– Private; GigE or Infiniband

� Network Configuration– Use Jumbo frames

� ifconfig <adapter> mtu 9000

� IO subsystem sized for performance, not just storage; write optimized

� Buffer Cache +10%

Verify Optimal HW/DB Configurations

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.49

� Use Parallel Query Instance Affinity (Set PX affinity local each node)

� 10g - Set instance specific values for INSTANCE_GROUPS, PARALLEL_INSTANCE_GROUP

� 11gR1 - Can be done as above or via services

� 11gR2 - PARALLEL_FORCE_LOCAL =true

� Monitor CPU utilization, run queue lengths and interconnect traffic

Page 50: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite on RAC

� Follow EBS RAC conversion MOS documents for patch and parameter info

� (MOD ID 466219.1) 11gr1 RAC with EBS R12

� (MOS ID 823587.1) 11gr2 RAC with EBS R12

� Use Affinity : Direct some workload components to specific RAC nodes to maximize

scalability by minimizing inter-node communication and synchronization work.

Utilize Instance Affinity and PCP

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.50

scalability by minimizing inter-node communication and synchronization work.

� Utilize Parallel Concurrent Processing (PCP) to leverage the Cluster (RAC).

� For RAC and PCP refer to (MOS ID1359612.1)

� On 12.1 you can define node affinity at the program level (MOS ID 1129203.1)

Page 51: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite on RAC

� PCP: Maintain 1 – 1 correspondence of CM nodes to RAC nodes

� Set <s_cp_twotask> per CM node to tie to a specific RAC instance.

� Do not use a load balanced TNS entry for the value of s_cp_twotask. The request

may hang if the sessions are load balanced.

� Define primary/secondary CM nodes for Failover

Utilize Instance Affinity and PCP

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.51

� 12.1 Define node affinity at the program level

� Concurrent | Program | Define ( See MOS Doc ID 1129203.1)

� 12.1.3 introduced option to define node affinity at the program level – Concurrent ->

Program -> Define

Page 52: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Suite on RAC

� Extend Affinity to the Applications Tier (Forms)

� Set Profile Option "Database Instance" at App or Resp level which can be tied to

two_task value or to a service

� Extend Affinity to the Applications Tier (Self-service)

Utilize Instance Affinity and PCP

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.52

� Set Profile Options “App%Agent” to web tier hosts configured for specific services

`or

� Set Profile Option "Applications Database ID" to node specific DBC file name

Page 53: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

E-Business Suite on Engineered Systems

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.53

Page 54: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Engineered Systems I The Family

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.54

•• Expedited time to valueExpedited time to value

•• Easier to manage and upgradeEasier to manage and upgrade

•• Lower cost of ownershipLower cost of ownership

ExalyticsExadata

Database

Machine

Exalogic

Elastic

Cloud

Database

ApplianceSPARC

Super

Cluster

Big Data

Appliance

•• Reduced change management riskReduced change management risk

•• OneOne--stop supportstop support

•• Extreme performanceExtreme performance

Page 55: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

• End-User response time faster• Batch processing faster• ETLs faster• Ability to scale with ease

Performance

Technical Benefits

E-Business Suite on Exadata and Exalogic

• Single vendor• Fewer variations• Platinum services• Risk reduced

Supportability and Availability

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.55

• Ability to scale with ease

• IT Infrastructure reduced• All Applications, FMW, DB run

on a single platform

Consolidation

• Risk reduced

• End-to-end management with EM Cloud Control

• Deploy OVM templates quickly

Manageability

v4

Page 56: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Slide 55

v4 new slidevsrao, 3/29/2013

Page 57: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

E-Business Suite on Exalogic and Exadata

� Oracle E-Business Suite Characteristics:

– Workloads are CPU intensive

– Requires large SGA and PGA due to high concurrency online workloads

– Requires high I/O and low latency for data intensive batch processing

Benefits of deploying Oracle E-Business Suite on Engineered Systems:

Performance

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.56

� Benefits of deploying Oracle E-Business Suite on Engineered Systems:

– Up to 3X performance improvements in batch processing

– Up to 8X performance improvements in responsiveness to end user

– Large Memory capacity of Engineered Systems

– Dramatically faster backups, cloning and other routine operation tasks

– Improved scalability allows adding more users and transaction volumes

Page 58: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

E-Business SuiteHR Self Service and

Procurement

8x better Response Time

2x better Scalability

E-Business SuiteHR Self Service and

Procurement

8x better Response Time

2x better Scalability

Response Time

E-Business SuiteOrder to Cash

3x better Response Time

2x better Scalability

E-Business SuiteOrder to Cash

3x better Response Time

2x better Scalability

Response Time

� Faster Response:

– 3x For O2C Forms transactions

– 8x For Self Service transactions

– Higher productivity for Online users

� Users per Core:

– Twice as much additional users per core.

Standard hardware Exalogic and Exadata

E-Business Suite on Exalogic and Exadata

Performance

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.57

Response Time

8X

11.94 s

1.42 s

Response Time

2.23 s

0.74 s

– Twice as much additional users per core.

– Headroom for additional loads.

� Higher through-put

– Push more transactions through a single Exa* core.

� Linear Scaling

– Support very large deployments with ease

3X

Page 59: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

E-Business Suite on Exalogic and ExadataScalability

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.58

Page 60: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

We

b L

iste

ne

r

Client

Global Single

JD

BC

/SQ

L N

et

HT

TP

/ S

Application Database

11gR2WebLogic Server

WebLogic uptake in R12.2 brings

Exalogic optimizations to

E-Business Suite on Exalogic and ExadataEBS Release 12.2 and Exalogic

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.59

WebLogic JSP

Forms

BI Publisher

BC4J

We

b L

iste

ne

r

UIX 11g RAC & ASM

Global Single

Data Model

JD

BC

/SQ

L N

et

HT

TP

/ S

Edition-Based

Redefinition

optimizations to E-Business Suite

Page 61: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Latest Fusion Middleware 11g supported

� WebLogic Server replaces OC4J

� WebLogic Server and Exalogic

– Native support for huge pages allowing faster memory access

– More robust utilization of InfiniBand layer by utilizing JDBC over SDP

– Network latency and CPU utilization decreased due to SDP

E-Business Suite on Exalogic and Exadata

EBS Release 12.2 and Exalogic

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.60

– Network latency and CPU utilization decreased due to SDP

– More robust connection harvesting while optimizing resource and connection

pool usage on the middle tier with huge savings on PGA memory requirements

on the database for high concurrency levels.

� E-Business Suite OVM templates for Exalogic

� E-Business Suite and Oracle Traffic Director (OTD) certification for Exalogic

Page 62: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� With higher performance and throughput and smaller footprint, it becomes possible to reduce the number of instances by aggregating more applications and databases

� Resource Manager can help database consolidation in two ways.

– Control CPU usage and manage CPU contention through instance caging

– Control disk I/O usage and contention through IORM’s inter-database resource

Consolidation | Exadata

E-Business Suite on Exalogic and Exadata

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.61

– Control disk I/O usage and contention through IORM’s inter-database resource plans.

� Configuring and Monitoring Instance Caging [ID 1362445.1]

� Master Note for Oracle Database Resource Manager [ID 1339769.1]

Page 63: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Mission-critical server virtualization offers a whole new level of consolidation where multiple virtual machines are sharing a single physical server in order to maximize the utilization of server hardware, while minimizing associated costs

� Exalogic has been engineered to leverage a technique known as Single-Root I/O Virtualization to eliminate virtualization overhead and deliver the maximum performance

Consolidation | Exalogic

E-Business Suite on Exalogic and Exadata

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.62

Virtualization to eliminate virtualization overhead and deliver the maximum performance and scalability.

� Oracle E-Business Suite Release 12.1.3 Database Tier and Application Tier Templates for Oracle Exalogic [ID 1499132.1]

� Oracle VM Templates for Oracle E-Business Suite for Exalogic Deployment Guide, Release 12.2.3 (ID 1633952.1)

Page 64: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Consolidation

E-Business Suite on Exalogic and Exadata

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.63

Page 65: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

EBS EBS

HA

Oracle VM Server Pool

E-Business Suite OVM Template for Exalogic

E-DeliveryDownload from Oracle• Pre-built, pre-configured OVM

Exalogic Template for E-Business Suite, MOS Note 1499132.1

VM

Customize &

Save

as Golden

Images

FMW Test

& Dev

E-Business Suite on Exalogic and Exadata

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.64

Start-Up vServer

in Oracle VM Pool Oracle VM on ExalogicImport to

Enterprise

Manager

EBS

Exalogic

OVM

Templates

Images

VM

Save days or weeks in installation and configuration time

Page 66: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Exalogic and Exadata are pre-assembled systems with limited variations in end user configuration.

� Pre-assembly saves 1000s of hours spent by customers in researching and building a system to scale to the demanding needs of Oracle E-Business Suite.

Supportability

E-Business Suite on Exalogic and Exadata?

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.65

� Reduced number of end user configurations (uniform Operating system, CPU, memory, network, and storage) allows Oracle to replicate customer issues easily and maintain consistent patch sets across components

� Running an E-Business Suite instance on a well-known single vendor configuration and keeping it up-to-date with consistent patches lowers business risk.

Page 67: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Best practices for deploying Oracle E-Business Suite on Exadata Database Machine for maximum availability and disaster recovery have been documented and validated by the Applications MAA/Exadata team

� Configure EBS using our MAA best practices

– Load balanced web and forms servers

High Availability and Disaster Recovery

E-Business Suite on Exalogic and Exadata?

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.66

– Load balanced web and forms servers

– Parallel concurrent processing

– Oracle RAC and Oracle Data Guard

� Oracle Maximum Availability Architecture - MAA

http://www.oracle.com/goto/maa

http://www.oracle.com/technetwork/database/availability/ebs-maa-2158952.pdf

Page 68: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Data Management

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.67

Page 69: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

High

VolumeActivity

Data

Volu

me

Active

Optimizing E-Business Data Management

What Do We Know About Data

� From Day 0 data starts to grow

� Data comes from many sources such as

– Transactional e.g. Oracle Payables

– Transient data (i.e. login, concurrent requests etc..)

– Reference/Seed data e.g. lookup

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.68

Low

Volume

Less

Active

0 1 1 5 10

Months Years

FACT: More than 80% of Data is Inactive

– Reference/Seed data e.g. lookup codes

� Is all this data needed or required to be available online?

Page 70: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Data Management

Why Do We need To Know

Optimal Data Management

� Reduced Hardware Cost

� Reduced network impact from data movement

� Reduced backup time

� Reduced upgrade time and associated

Available Oracle Solutions

� Data Growth Control Methods

� Archive/Purge Functionality within E-Business Suite

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.69

� Reduced upgrade time and associated downtime

� Increased Transactions Per Second Rates (TPS)

� Improved Operating Performance

� Reduced Total Cost of Ownership (TCO)

� Data Management Methods

� Database Partitioning

� Database Compression

� Information Lifecycle Management (ILM)

� These methods can be used interchangeably

Page 71: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Archive

Periodically saving

data (with reduced

attributes) e.g.

transaction data

Purge

Deleting data

that you no

longer need e.g.

transient data or

After ArchivePeriodically

Optimizing E-Business Data Management

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.70

transaction data transient data or

useless data

such as dead

leads or closed

orders.

Improves Upgrade performance

(Less Data.. Less Work)

Performance

SpaceStatutory

Requirements

HistoricalRequirements

Page 72: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Data Management

� Where possible try to utilize the standard Oracle supplied programs

� Purge/Archive programs provided at the module level in the E-Business Suite

� Many documented standard programs available

� 260 purge and archive programs in R12

E-Business Suite: Archiving & Purging

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.71

� Financials

� GL, AR, AP,

� Costing,

� Cash Management,

� HR, FA, PA

� Manufacturing

� Order Management,

� INV, BOM,

� WIP, QP,

� Shipping, Purchasing

Page 73: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Data Management

� Purge Portal

� Purge Portal introduced in 11i10

� Single purge/archive management console

� Purge programs can be configured, initiated and monitored

E-Business Suite: Archiving & Purging

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.72

initiated and monitored

� Set the execution frequency as well view history of purge programs.

� Accessing the Purge Portal

� System Administrator > Oracle Applications Manager >Purging/Critical Activities

Page 74: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Data Management

� E-Business Suite provides Purge/Archive solutions for the key transactional entities

� The native E-Business Suite purge and archive programs are synchronized with the data model

E-Business Suite: Archiving & Purging

Human

ResourcesAlert

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.73

the data model

� Oracle’s solution considers cross-product dependencies

� Example: We can’t simply delete data in Oracle Payables

Payables General

LedgerWorkflo

w

iExpense

Page 75: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Data Management

� Archive/Purge Product Information

– Product User guides – GL/AP/AR/FA/OM

– Support Notes:

� (MOS ID 138264.1) – General Ledger Archive/Purge FAQ

� (MOD ID 144431.1) – Fixed Assets Archive/Purge FAQ

� (MOS ID 136919.1) – General Ledger Archive/Purge Setup and Usage

E-Business Suite: Archiving & Purging

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.74

� (MOS ID 136919.1) – General Ledger Archive/Purge Setup and Usage

� (MOS ID 752322.1) : Reducing Oracle E-Business Suite Data Footprint

Page 76: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Data Management

When ?

– Many times it will be an implementation decision driven by huge data volume

– Can be physical DM decision to improve performance

Situations where partitioning can help

– Large deletes could become simple truncates of a partition

– Re-population/Refreshing of large portions of data could become a “partition

E-Business Suite: Partitioning

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.75

– Re-population/Refreshing of large portions of data could become a “partition exchange” operation

– Very large tables & their indexes can be split into smaller segments, reducing IO

Partition Key

– Should be a key that most statements will have in the WHERE clause to reap the benefits of partition pruning & elimination as well as index IO (local index)

– Should not change often to avoid row-movement between partitions

Page 77: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Data Management

� E-Business Suite release 11i and Release 12 are certified with the Oracle Database 11g Partitioning Option

(MOS ID 554539.1)(MOS ID 554539.1)(MOS ID 554539.1)(MOS ID 554539.1) – Database Partitioning for Oracle E-Business Suite

� The Oracle E-Business Suite uses partitioning out-of-the-box with few modules:

� 200+ tables

Tables have a natural and logical partition key

E-Business Suite: Partitioning

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.76

� Tables have a natural and logical partition key

� Majority of the runtime access path (of the standard product) is based on this natural partition key

� Many E-Business Suite tables do not have a natural partitioning key which would apply to all customers

� Based on their own requirements, customers are free to partition the tables in a logical manner

Page 78: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Data Management

Read Query performance

� Partition elimination is important

� Visible performance gains in a warehouse/reporting applications.

� In OLTP, partitioning slightly improves read query performance

� You must be careful to not negatively impact it

� Occasionally, it can increase read performance due to clustering

E-Business Suite: Partitioning

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.77

� Occasionally, it can increase read performance due to clustering

� List partition by region, application queries by region, all data on a given block is for that region

Write Query performance

� Reduced contention

� Instead of 1 index with 1 hot block, you have N indexes with 1 hot block each

� Instead of one set of freelists (be they ASSM or MSSM), you have N.

Page 79: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Introduced in Oracle Database 9i Release 2

� Compression during bulk load operations (Direct Load, CTAS)

� Data modified using conventional DML not compressed

� Oracle Database 11g extends table compression for OLTP data

� Support for conventional DML Operations (INSERT, UPDATE)

Optimizing E-Business Data Management

Oracle 11g Advanced Compression Option (ACO)

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.78

� New algorithm significantly reduces write overhead

� Batched compression minimizes impact on OLTP transactions

� No impact on reads

� Reads data directly in compressed format

� Reads may actually see improved performance due to fewer I/Os and enhanced memory efficiency

Page 80: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Advanced Compression (ACO) option is an ideal choice for saving space with read-intensive operations and can reduce the associated Disk I/O. ACO reduces storage requirement from 2-4 times.

� In our benchmarks, online workload showed up to 30% improvement with up to 6% increase in CPU consumption

Optimizing E-Business Data Management

E-Business Suite: Advanced Compression (ACO)

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.79

� As for the batch programs, Order-to-Cash batch runtime increased by only 0.43%, while payroll process runtime reduced by 17% with additional 3.7% CPU usage

Oracle E-Business Suite Release 12.1 with Oracle Database 11g Advanced Compression [ID 1110648.1]

Page 81: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Average overall storage savings 3x

• Table compression 4x

• Index compression 2x

• LOB compression 2.3x

Optimizing E-Business Data Management

Oracle’s Internal Use of Advanced Compression

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.80

231 TB of total storage savings across primary, standby, test,

dev and backup instances • Payroll, Order to Cash, AP/AR batch flows,

Self-Service flows run without noticeable

regression

• Queries involving full table scans are faster

Page 82: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� HCC can be used on DW/BI tables that contain historical data and/or tables with no update operations against them.

� For the purpose of archive and reporting or DW type of access. HCC will provide the following benefits :

– Space: an average of 15X space saving.

Hybrid Columnar Compression (HCC)

Optimizing E-Business Data Management

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.81

– Space: an average of 15X space saving.

– DW/BI type reporting doing full scan operations benefit greatly from reduced IO -this is not common in EBS-

Page 83: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� The majority of E-business suite transactions are OLTP in nature, thus we do not recommend using HCC for E-business suite, for the following reasons:

– Updating compressed data is very costly: Up to 14X slower

– Updating will undo space saving : Data will be uncompressed when updating an HCC compressed table. This will result in chained rows which will affect table

Hybrid Columnar Compression (HCC)

Optimizing E-Business Data Management

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.82

HCC compressed table. This will result in chained rows which will affect table scans.

– Coarse locking - Update of 1 row can lock thousands of rows

Page 84: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Optimizing E-Business Platform Migration

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.83

Page 85: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� One important consideration – the “endian-ness” of the platform, i.e. the byte order storage.

Big Endian Platforms Little Endian Platforms

� Oracle Solaris on SPARC � Linux x86 and x86-64

� HP-UX Itanium and PA RISC � Oracle Solaris on x86-64

� IBM AIX on POWER Systems � HP Tru64 and OpenVMS Alpha

IBM: Linux on System z Linux Itanium

Optimizing E-Business Platform Migration

Database Migration

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.84

� IBM: Linux on System z � Linux Itanium

� IBM: Linux on Power Systems � MS Windows Server x86/x64/Itanium

An upgrade of EBS combined with a platform migration could take the form of:

(a) an Operating System upgrade on the same platform (for example, upgrading from Oracle Linux 4 to Oracle Linux 5)

(b) a migration across platforms of the same endian format

(c) a migration across platforms of different endian formats.

Page 86: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� When considering a newer operating system as the target (for example, a newer version of Oracle Linux or Solaris), users can simply use the Rapid Clone technique of essentially copying datafiles over to a new machine.

� Most of the time is spent in copying database files and middle tier

Optimizing E-Business Platform Migration

Operating System upgrade on the same platform

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.85

� Parallel copy with compression can be used to optimize the time consuming step of copying dbf files.

� Reference Note:

Cloning Oracle Applications Release 12 with Rapid Clone' - MOS ID 406982.1

Page 87: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� When the target of a database migration is of the same endian format, we recommend the use of the database migration process called Transportable Database (TDB) to migrate the database. While export/import (datapump) might be used, TDB represents the quickest way to migrate the database and is recommended.

Optimizing E-Business Platform Migration

Migration to a new platform of the same endian format

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.86

� Reference Notes:

11i : 'Using Transportable Database to migrate Oracle E-Business Suite Release 11i Using Oracle

Database 10g Release 2 or 11g Enterprise Edition' MOS ID 729309.1

R12 : 'Using Transportable Database to migrate Oracle E-Business Suite R12 using Oracle Database

10g Release 2 or 11g Enterprise Edition' - MOS ID 734763.1

Page 88: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� The source (export from) ORACLE_HOME directory must be Oracle Database 10g Release 2 (10.2.0), 11g Release 1 (11.1.0), or 11g Release 2 (11.2.0). The target Oracle home version (including patch set version) must match the source.

� You may choose to convert the datafiles of the database being transported on the destination platform (target system conversion) instead of the source platform.

Optimizing E-Business Platform Migration

Migration to a new platform of the same endian format

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.87

destination platform (target system conversion) instead of the source platform. Reasons for doing this include:

� Avoiding any performance overhead on the source host due to the conversion process.

� Distributing a database from one source system to multiple recipients on several different platforms.

Page 89: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Only data files that contain undo data require conversion. However, the default behavior of CONVERT DATABASE is to perform a conversion on all data files. Eliminating unnecessary data file conversion, which is possible with target system conversion, can significantly reduce platform migration time. See MetaLink Note 732053.1 for details.

Optimizing E-Business Platform Migration

Migration to a new platform of the same endian format

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.88

� Use all available computer resources to do the CONVERT DATAFILE operations by running them in parallel. RMAN allows the PARALLEL option to be specified with the CONVERT DATABASE command.

Page 90: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Export/import using datapump has traditionally been used to perform Database migrations across platforms - this represents a full logical export of the database to a dump file which is then moved to the target machine before being imported

� Reference Notes:

11i/10gR2 :'Export/Import Process for Oracle Applications Release 11i Database Instances Using Oracle

Optimizing E-Business Platform Migration

Migration to a new platform of different endian formats (Export/Import (Datapump))

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.89

11i/10gR2 :'Export/Import Process for Oracle Applications Release 11i Database Instances Using Oracle

Database 10g Release 2' - MOS ID 362205.1

11i/11gR1 and 11i/11gR2 : 'Export/Import Process for Oracle E-Business Suite Release 11i Database

Instances Using Oracle Database 11g Release 1 or 2' - MOS ID 557738.1

R12/10gR2 : 'Export/Import Process for Oracle E-Business Suite Release 12 Database Instances Using

Oracle Database 10g Release 2' - MOS ID 454616.1

R12/11gR1 and R12/11gR2 : 'Export/Import Process for Oracle E-Business Suite Release 12 Database

Instances Using Oracle Database 11g Release 1 or 11g Release 2' - MOS ID 741818.1

Page 91: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Export/import has been certified for every version of EBS and the database - the use of export/import for EBS also supports the export of data from earlier DB versions while importing to later versions. This may save some time in combining an upgrade of the Database with a migration.

� For larger databases (>1TB) however, the use of export/import can be an

Optimizing E-Business Platform Migration

Migration to a new platform of different endian formats (Export/Import (Datapump))

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.90

� For larger databases (>1TB) however, the use of export/import can be an extremely slow process

� We can modify the data pump parameter file to utilize parallel processing. By properly having multiple dump file and specifying enabling the parallel import and export

Page 92: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Here is a general guideline for what should be considered when using the PARALLEL parameter:

� Set the degree of parallelism to two times the number of CPUs, then tune from there.

� For Data Pump Export, the PARALLEL parameter value should be less than or equal to the number of dump files.

Optimizing E-Business Platform Migration

Migration to a new platform of different endian formats (Export/Import (Datapump))

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.91

equal to the number of dump files.

� For Data Pump Import, the PARALLEL parameter value should not be much larger than the number of files in the dump file set.

� To specify multiple dump files with a specific sizing criteria you can use the following in the parameter file

DUMPFILE=expdir:exp%U.dmpDUMPFILE=expdir:exp%U.dmpDUMPFILE=expdir:exp%U.dmpDUMPFILE=expdir:exp%U.dmpFILESIZE=2GFILESIZE=2GFILESIZE=2GFILESIZE=2G

Page 93: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� The alternative for migrating to a target platform of a different endian format is a more recently certified technique of migration called Transportable Tablespaces (TTS)

� Reference Notes:

11i/10gR2 : 'Using Transportable Tablespaces to migrate Oracle Applications Release 11i

Optimizing E-Business Platform Migration

Migration to a new platform of different endian formats (Transportable Tablespaces)

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.92

11i/10gR2 : 'Using Transportable Tablespaces to migrate Oracle Applications Release 11i

Using Oracle Database 10g Release 2 Enterprise Edition' - MOS ID 454574.1

11i/11gR2 : 'Using Transportable Tablespaces to migrate Oracle Applications Release 11i

Using Oracle Database 11g Release 2 Enterprise Edition' - MOS ID 1366265.1

R12/11gR2 : 'Using Transportable Tablespaces to migrate Oracle Applications Release 12

Using Oracle Database 11g Release 2 Enterprise Edition' - MOS ID 1311487.1

Page 94: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� The RMAN DB file conversion step will take the longest amount of time out of the entire migration. So we need to focus on optimizing this step by doing the following

� Create multiple RMAN conversion scripts each covering a subset of the database files (20 files per scripts as an example)

Optimizing E-Business Platform Migration

Migration to a new platform of different endian formats (Transportable Tablespaces)

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.93

� Use all available computer resources to do the CONVERT DATAFILE operations by running them in parallel. RMAN allows the PARALLEL option to be specified with the CONVERT DATABASE command.

Page 95: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Migrating the Oracle E-Business Suite Database to Oracle Exadata Database Machine Using Transportable Tablespaces

http://www.oracle.com/technetwork/database/features/availability/maa-ebs-exadata-xtts-321616.pdf

Migrating Oracle E-Business Suite to Oracle Exadata Database Machine Using Oracle

Optimizing E-Business Platform Migration

Migrating to Engineered System

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.94

Migrating Oracle E-Business Suite to Oracle Exadata Database Machine Using Oracle Data Pump

http://www.oracle.com/technetwork/database/features/availability/maa-ebs-dbm-datapump-167285.pdf

Migrating an Oracle E-Business Suite Database to Oracle Exadata Database Machine [ID 1133355.1]

Page 96: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Q&AQ&A

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.95

Q&AQ&A

Page 97: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Additional Resources

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.96

Page 98: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

• 1121043.1 Collecting Diagnostic Data for Performance Issues in Oracle E-Business Suite

• 1362660.1 Enhanced Performance Diagnostics for Oracle E-Business Suite Release 12.1.3

• 301137.1 OSW Document

• 461053.1 OSWg Document

• 215187.1 SQLTXPLAIN (SQLT)

Additional Resources

Optimizing E-Business Suite Database Tier

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.97

• 215187.1 SQLTXPLAIN (SQLT)

• 224270.1 Trace Analyzer (TRCA)

• 39817.1 Interpreting Raw SQL_TRACE files

• 280391.1 How to Retrieve SID Information For a Running Request

Page 99: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

• 1359612.1 Webcast 'E-Business Suite - RAC & Parallel Concurrent Processing

• 1367676.1 Webcast 'E-Business Suite - Concurrent Manager Performance

• 164085.1 Enhancing and Automating Oracle Applications Concurrent Processing

• 1057802.1 Best Practices for Performance for Concurrent Managers

• 1304305.1 E-Business Concurrent Processing Information Center

Additional Resources

Tuning the Concurrent Manager

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.98

• 1304305.1 E-Business Concurrent Processing Information Center

Page 100: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

� Best Practices for Minimizing Oracle E-Business Suite Release 12 Upgrade Downtime (Doc ID 1581549.1)

� Express Diagnosis of Oracle E-Business Suite Release 12 Upgrade Performance Issues (Doc ID 1583752.1)

� R12.1 documentation roadmap (MOS ID 790942.1)

� Oracle E-Business Suite Release 12.1 Info center (MOS ID 806593.1)

� Database preparation guidelines for R12.1 upgrade (MOS ID 761570.1)

Additional Resources

EBS Upgrade and Platform Migration

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.99

� Database preparation guidelines for R12.1 upgrade (MOS ID 761570.1)

� Patching FAQs (MOS ID 459156.1, 225165.1)

� Staged or shared APPL_TOP and distributed AD (MOS ID 734025.1, 384248.1, 236469.1)

� OAM “Patch Wizard” overview and FAQ (MOS ID 976188.1, 976688.1)

� AD Command Line Options for Release R12 (MOS ID 1078973.1)

� Recommended Performance Fixes (MOS ID 244040.1)

� R12 Upgrade Sizing & Best Practices (MOS ID 399362.1)

Page 101: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

EBS R12.1 Upgrade related Reports

� EBS 12.1.3 Data Model Comparison Report (MOS ID 1290886.1)

� EBS ATG Seed Data Comparison Report (MOS ID 1327399.1)

� EBS File Comparison Report (MOS ID 1446430.1)

� EBS pre-install patches Report (MOS ID 1448102.1)

Additional Resources

EBS Upgrade and Platform Migration

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.100

White papers

� Planning Your Oracle E-Business Suite Upgrade from Release 11i to Release 12.1 (MOS ID 987516.1)

� R12 Upgrade considerations by product: Financials (MOS ID 889733.1)

� Oracle E-Business Suite Upgrades and Platform Migration (MOS ID 1377213.1)

Page 102: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.101

Page 103: 1 Copyright © 2013, Oracle and/or its affiliates. All ...dbsig.communities.oaug.org/.../C14...Oracle_EBS.pdf · material, code, or functionality, ... – Tune Top SQL is always the

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.102


Recommended