Professional Documents
Culture Documents
Agenda
Architecture
Application Services Tier
Forms
Reports
Concurrent Manager
Apache
Mod PL/SQL
Jserv/JVM
Portal
Discoverer
Network Performance
Data Server Tier
Application Tuning
11i10 Performance Improvements
Q&A
Architecture
Portal
Servlet Engine
http
Web Listener
Real Application
Clusters (RAC)
JDBC
(Thin)
AOLJ
Discoverer
PL/SQL Gateway
Clients
Reports
Forms
Concurrent Manager
Application Tier
TNS
(Net8)
Forms
Reports (Tracing)
If the SQL trace for the report does not account for the
elapsed time of the request, then generate a Reports trace
by appending tracing parameters the to concurrent
program command line.
Reports (Tracing)
Report:/u02/appl/fnd/11.5.0/reports/US/FNDSCURS.rdf
Loggedontoserver:
Username:
........
23:59:57APP...(GenericGraphicalObjectB_SECURITY_GROUP_NAME1
23:59:57APP...)GenericGraphicalObjectB_SECURITY_GROUP_NAME1
23:59:57APP...(GenericGraphicalObjectB_USER_NAME1
........
++
|ReportBuilderProfilerstatistics|
++
TOTALELAPSEDTime:2243.04seconds
ReportsTime:1196.62seconds(53.34%ofTOTAL)
ORACLETime:1046.41seconds(46.65%ofTOTAL)
UPI:1046.00seconds
SQL:0.40seconds
TOTALCPUTimeusedbyprocess:904.71seconds
Concurrent Manager
Transaction Managers
Enabling Tracing
Program Level
Enable the trace option in the concurrent program
definition form.
Request Level (new in 11i10)
Use the Debug Options button in the Request
Submission Form
The profile Concurrent: Allow Debugging
should be set to Yes.
Apache
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 512
Apache
<Directory "<physical_path_corresponding_to_the_alias_/OA_HTML/>">
#enable the generation of the Expires header for files under /OA_HTML/
ExpiresActive On
#expire images one month after last client access
ExpiresByType image/gif "access plus 1 month"
#expire stylesheets one week after the last client access
ExpiresByType text/css "access plus 1 weeks"
#expire javascript libraries one day after the last client access
ExpiresByType text/javascript "access plus 1 days
ExpiresByType application/x-javascript "access plus 1 day"
</Directory>
SetHandler pls_handler
Order deny,allow
# </Location>
Comment out the following line as follows:
# LoadModule plsql_module /d1/ias/Apache/modplsql/bin/modplsql.so
Existing:
wrapper.bin=/apps/jdk1.4.2/bin/java
Change To:
Wrapper.bin=/apps/scripts/java.sh
java.sh:
=========
#!/bin/sh
/apps/jdk1.4.2/bin/java -verbosegc -DCLIENT_PROCESSID=$$ $* >> /d2/logs/java.log
SID MACHINE
PROCESS
MODULE
LOGON
---- ------------------------- ------------ ------------------ ----------------41 aptier1.us.oracle.com
28806
JDBC Thin Client
12/02/04 14:26:43
42 aptier2.us.oracle.com
1723
JDBC Thin Client
12/02/04 14:27:01
43 aptier3.us.oracle.com
3201
JDBC Thin Client
12/02/04 14:28:15
44 aptier1.us.oracle.com
28807
JDBC Thin Client
12/02/04 14:29:17
. . . . . . .
. . . . . . .
aptier1{apps_a}-> ps -ef | grep 28806
apps_a 28806 28561 0 14:26:39 pts/20
apps_a 28807 28806 53 14:26:40 pts/20
root.properties:
servlet.oracle.jsp.JspServlet.initArgs=translate_params=true,
unsafe_reload=false,
page_repository_root=/appl_top/115/common/html/jsp/pagecache,
alias_translation=true,developer_mode=false,
javaccmd=/usr/jdk142/bin/javac,send_error=true
zone.properties:
servlet.page.initArgs=poolSize=50
servlet.page.initArgs=requesttime=200
servlet.page.initArgs=stall=100
Network Performance
Network performance is often neglected.
Networks with poor latency or low bandwidth
impacts user response time.
Can also impact concurrent programs if the
network between the application tier and data
server tier is not optimal.
A direct switch should be used between the
application tier and data server tier
Network Performance
from
from
from
from
139.185.128.27:
139.185.128.27:
139.185.128.27:
139.185.128.27:
bytes=2048
bytes=2048
bytes=2048
bytes=2048
time=371ms
time=330ms
time=361ms
time=360ms
TTL=252
TTL=252
TTL=252
TTL=252
from
from
from
from
139.185.128.27:
139.185.128.27:
139.185.128.27:
139.185.128.27:
bytes=512
bytes=512
bytes=512
bytes=512
time=231ms
time=210ms
time=231ms
time=220ms
TTL=252
TTL=252
TTL=252
TTL=252
Network Performance
bytes
(144.25.76.250):
(144.25.76.250):
(144.25.76.250):
(144.25.76.250):
(144.25.76.250):
(144.25.76.250):
---- dbtierhost.us.oracle.com PING Statistics---6 packets transmitted, 6 packets received, 0% packet loss
round-trip (ms) min/avg/max = 1/1/1
icmp_seq=0.
icmp_seq=1.
icmp_seq=2.
icmp_seq=3.
icmp_seq=4.
icmp_seq=5.
time=1.
time=1.
time=1.
time=1.
time=1.
time=1.
ms
ms
ms
ms
ms
Ms
Network Performance
Measure the sustained bandwidth on both the
client network (i.e. desktops) as well as the
application-tiers.
Use traceroute (or tracert) utility to determine
number of hops and impact on latency.
Monitor network statistics including packet
rates, error rates, collisions, etc.. using tools
such as netstat i.
Optimally configure the buffer cache and shared pool as per the
workload and the number of users:
db_block_buffers=800,000
shared_pool_size=2000M
A poorly sized buffer cache results in excessive buffer gets and
physical I/O.
A poorly sized shared pool results in library cache and shared pool
latch contention due to reloads and lack of space.
5,313M
2,864M
8K
1,024K
Per Second
--------------462,767.56
54,537.81
3,237.12
2,403.22
272.19
518.96
223.29
1.26
199.15
1.85
1,566.48
17.62
5.94
3.18
Recursive Call %:
Rows per Sort:
Per Transaction
--------------26,266.16
3,095.50
183.74
136.40
15.45
29.46
12.67
0.07
11.30
0.11
88.91
88.46
102.78
Begin
-----90.55
66.70
60.86
100.00
99.96
99.44
99.82
97.34
End
-----76.14
75.37
71.08
Avg
wait
Waits
(ms)
/txn
------ -------8
51.0
3
67.5
7
10.0
2
33.8
239
0.2
176
0.2
1
19.0
65
0.4
9
1.6
9
1.4
3
3.9
1006
0.0
7
0.8
11
0.4
1
4.0
2
1.9
53
0.1
23934.41 4063073269
No more ORA-1555s!!!
Set undo_retention to the length of the longest running request.
Pga_aggregate_target can be set to tune the PGA for the entire instance.
Automatically tunes hash area and sort area sizes
Returns unused memory to the OS.
Transaction tables
Transaction indexes
Reference/SEED
Interface
Summary Management
Archive
NoLogging
Queue
Media
Temporary
Undo
System
Total = 12 Tablespaces
Application Tuning
Review the MetaLink note Recommended
Performance Patches for the Oracle EBusiness Suite, 244040.1.
Application Tuning
Workflow
Application Tuning
Order Management
Application Tuning
Order Management
For online order entry, use the new Quick Sales Order Form
Provides a checkbox deferred pricing which can be
used to defer price calculation until the order is saved.
Also improves overall speed of order entry from a
functional / navigational perspective.
Enable AutoScheduling
Use deferred activities
Tax Calculation
Credit Check
Application Tuning
Payroll
Tune the number of threads, chunk size and the buffer sizes
(pay_action_parameters):
THREADS=25
CHUNK_SIZE = 20
BAL BUFFER SIZE=550
EE BUFFER SIZE =550
RR BUFFER SIZE =550
COST BUFFER SIZE=550
Application Tuning
OA Framework Applications
Application Tuning
OA Framework Applications (Pool Monitor)
Application Tuning
OA Framework Applications (Pool Monitor)
Application Tuning
$FND_TOP/secure/<hostname_sid>.dbc
Number of DB connections used by the Java based SelfService Applications.
Start with a reasonable default such as 100 or 200.
FND_JDBC_MAX_CONNECTIONS=200
Tune FND_JDBC_MAX_CONNECTIONS as per the
amount of user concurrency (per JVM).
AOLJ automatically decays idle connections and resizes
the pool.
Application Tuning
Application Tuning
AOLJ Connection Pool (dbc configuration)
APPS_JDBC_URL=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=ON)
(ADDRESS=(PROTOCOL=TCP)(HOST=ap201ops)(PORT=1526))(ADDRESS=(PROTOCOL=TCP)
(HOST=ap202ops)(PORT=1526)))(CONNECT_DATA=(SERVICE_NAME=opsperf)))
Application Tuning
http://apptier.oracle.com:1200/OA_HTML/jsp/fnd/AoljDbcPoolStatus.jsp
Application Tuning
Application Tuning
Purging
Application Tuning
Purging
Product
FND
General Ledger
Assets
Payables
Purge
Receivables
Order Management
Order Purge
40000
35000
30000
25000
20000
19,000
15000
10000
5000
0
11.5.9
11.5.10
9,200
5000
0
11.5.9
11.5.10
Java Mailer
Parallel worker support
15,000 notifications per hour (per worker)
11.5.9
11.5.10
10,000
Customer Import Throughput
Reviewed and optimized default settings for the entire stack via
AutoConfig templates including:
Forms
JDK
DB
Concurrent Manager
Discoverer
AOLJ DBC
MetaLink References
Note #:
Description:
123456.1
125767.1
138159.1
164317.1
215268.1
216205.1
244040.1
246105.1
Using J2SE Version 1.4 with Oracle E-Business Suite 11i, Release 11.5.9
or Higher
248857.1
258333.1
275880.1
Q&
A
QUESTIONS
ANSWERS