Beruflich Dokumente
Kultur Dokumente
Kandasamy Nainamalai
Senior Principal Software Engineer - Applications Technology Group
Program Agenda
1
Applications Architecture
AWR/Statspack Report
Oracle Applications
Architecture
3-Tier Architecture
All of a sudden
List out recent changes
Patch, Gather Schema, New RAC-node/modules/users, Data load, OS, Network/DNS
Deteriorated over a period
All users
Specific to some module
How to Approach a
Performance Issue
Network
What Is TKPROF?
Formatted report of SQL Trace file
Includes all SQL statements with statistical info
Allows to identify the performance problem by using different sort
methods
Invoke tkprof from Database Tier (10g/11g)
total
time
# rows
Any full table scan is used. See any index can be used
Create new custom indexes on custom tables. Its suggested not to create indexes on seeded tables unless
recommended by us.
AWR/Statspack Report
DEMO
Demo AWR Report
If you see any DML is consuming more elapsed time, get the explain plan
using sql_id as below. You can run the following commands to obtain the
run-time statistics, as well as past plans recorded in AWR:
SQL> SELECT * FROM
table(dbms_xplan.display_cursor('&sql_id',null,'ALLSTATS')) ;
SQL> SELECT * FROM
table(DBMS_XPLAN.DISPLAY_AWR('&sql_id',null,null,'ALL'));
Wait
Waits
Time (cs)
Wt Time
% Total
------------
1,797,963
11,207,291
42.67
792,958
9,651,032
36.75
158,725
1,554,054
5.92
31,317
994,507
3.79
15,489,369
497,062
1.89
-------------------------------------------------------------
Upgrade EBS to Latest version 12.1.3 (or) 12.2.4 (Note 269.1 , 1592197.1 )
Apply Recommended Performance Patches (Doc ID 244040.1)
Forms Server
Sufficient resource RAM & SWAP available
Spinning of forms process
set FORMS_RECORD_GROUP_MAX=10000 (Doc ID 745711.1)
Cancel Query FND: Enable Cancel Query to No
Tweak FORMS60_CATCHTERM & FORMS_CATCHTERM
Servlet Vs Socket Mode https://blogs.oracle.com/stevenChan/entry/which_is_better_forms_servlet_or_socket_mode
Note 384241.1 Using Forms Socket Mode with Oracle E-Business Suite Release 12
Applications
Gather schema statistics collected at regular interval with 10 40 %
11g Database , Apply Apps Patch 16410424 (12.1.x) 16410424 (12.0.x) 14707975 (11.5.10) to speed to Gather schema Stats.
Leave % as null (Doc ID 1586374.1)
Diagnostics profiles/FRD/Traces are disabled if not needed.
Hardware Sizing.
Sign-on Audit & Audit tables are disabled if not needed.
Purge & De-fragment interface/transaction tables periodically. (Note 752322.1)
Purge portal is available in OAM that can be used to purge Apps.
Note: You should always size your systems based on tests using above
representative data and workloads for your own environment.
44
45
Summary
Performance Tuning
Monitor Resource (CPU/ I/O /RAM) Utilization.
Ensure Init.ora standards are met (Note 174605.1)
AWR Report for Database wide performance issue
Best Practice Concurrent Manager (Note 1057802.1)
Purge & Defragment interface/transaction tables. (Note 752322.1)
Gather Schema Statistics at regular Interval.
Apply FND_STATS patch 16410424 (12.1.x) 16410424 (12.0.x) 14707975
(11.5.10) to speed to Gather schema Stats (relevant for 11g Database).
Upgrade Applications & Techstack.
Copyright 2014 Oracle and/or its affiliates. All rights reserved. |
References
References
JVM: Guidelines to setup the Java Virtual Machine in Apps Ebusiness Suite
11i and R12 (Doc ID 362851.1).
Forms Process (FRMWEB) Consumes 100% of CPU in Oracle Applications
R12 (Doc ID 745711.1)
Best Practices for Gathering Statistics with Oracle E-Business Suite (Doc ID
1586374.1)
References
Upgrading E-Business Suite.
Which Oracle E-Business Suite Release Should You Target: 12.1 or 12.2? (Doc ID
1592197.1)
Upgrade Advisor: E-Business Suite (EBS) Upgrade from 11.5.10.2 to 12.1.3 (Doc ID
269.1)
Interoperability Notes EBS R12 with Database 11gR2 (Doc ID 1058763.1)
Interoperability Notes Oracle EBS 11i with Oracle Database 11gR2 (11.2.0) (Doc ID
881505.1)
Upgrading to the Latest OracleAS 10g 10.1.3.x Patch Set in Oracle E-Business Suite
Release 12 (Doc ID 454811.1)
Upgrading OracleAS 10g Forms and Reports in Oracle E-Business Suite Release 12
(Doc ID 437878.1)
Copyright 2014 Oracle and/or its affiliates. All rights reserved. |
References
Upgrading E-Business Suite.
These documents provide a starting point for customers moving to Oracle E-Business Suite Release 12.2.
Which Oracle E-Business Suite Release Should You Target: 12.1 or 12.2? (Doc ID 1592197.1)
Scenarios for Getting Started With Oracle E-Business Suite Release 12.2 (Doc ID 1587195.1)
Oracle E-Business Suite Technical Planning Guide, First Edition, Release 12.2 (Doc ID 1585857.1)
Useful 12.2 Documents For Customers And ATG Support Engineers (Doc ID 1585889.1)
Database Preparation Guidelines for an E-Business Suite Release 12.2 Upgrade (Doc ID 1349240.1)
12.2: Consolidated List of Patches and Technology Bug Fixes (Doc ID 1594274.1)
R12.1 and 12.2 Oracle E-Business Suite Preinstall Patches Report [Video] (Doc ID 1448102.2)
Oracle E-Business Suite Recommended Performance Patches (Doc ID 244040.1)
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)
Oracle E-Business Suite Performance Guide (Doc ID 1672174.1)
Oracle E-Business Suite Release 12.2: Upgrade Sizing and Best Practices(Doc ID 1597531.1)
http://docs.oracle.com/cd/E26401_01/index.htm
https://communities.oracle.com
Q&A
52
53