Académique Documents
Professionnel Documents
Culture Documents
My Oracle Support Advisor Webcast Program EBS Concurrent Manager Performance - Best Practices
Tuesday, October 11, 2011 10:00 AM CET (GMT +2) Teleconference Access:
Do you have any requests for future EBS - Technology Webcast Events? Please email your suggestions to ruediger.ziegler@oracle.com ,subject: Topics of Interest.
AGENDA
Presentation and Demo approximately 60 - 75 minutes
Who to ask?
3 Send
your question
Q&A panel
Program Agenda
Overview of Concurrent Manager Enhancing Performance - Best Practices
Tuning Concurrent Queue Parameters
Program Agenda
Overview of Concurrent Manager Enhancing Performance - Best Practices
Tuning Concurrent Queue Parameters
11
12
13
14
System maintains list of requests to start Concurrent Programs Queue Table Run program ... Run program X Run program ...
Concurrent manager
Program X Started
15
FND_CONCURRENT_PROCESSES Cross-references between concurrent requests and queues, and a history of concurrent manager processes. FND_CONCURRENT_QUEUES Information about each of the concurrent manager queues.
16
Pending / Standby
Running / Normal Completed / Normal Inactive / No Manager
17
Program Agenda
Overview of Concurrent Manager Enhancing Performance - Best Practices
Tuning Concurrent Queue Parameters
Sleep Seconds
Cache Size Purging Gather Schema Statistics Workload Management Specialized Concurrent managers Output Post Processor OPP
19
20
21
22
23
24
25
Use the Purge Concurrent Request and/or Manager Data program to purge Request Log files, Concurrent Manager Log Files, and report output files. Schedule as needed for each instance.
26
27
28
rebuild online;
Note: Ensure the tablespace in which the object currently exists has got sufficient space before you move or defragment. Always make a backup before moving the data. It is recommended to test these steps before going into PRODUCTION !
You will need to collect the statistics for the tables. For example: exec fnd_stats.gather_table_stats ('APPLSYS','FND_CONCURRENT_REQUESTS',PERCENT=>99);
30
Copyright 2011, Oracle and/or its affiliates. All rights reserved.
At regular interval, run Gather Schema Statistics - use below parameter to speed up the request. Schema Name ALL Estimate Percent 10-40 Backup Flag NOBACKUP History Mode NONE Gather Options GATHER AUTO
31
Benefits 1. Speed up Critical Short Running Requests which has long wait time 2. To avoid Long Running Request during Peak time
Tip Avoid creating an excessive specialized managers. It can degrade the performance due polling on queue tables. You need to create specialized managers only if there is a real need.
32
Copyright 2011, Oracle and/or its affiliates. All rights reserved.
33
34
35
OR
Increase the number of Threads
38
To prevent the error "java.lang.OutOfMemoryError: Java heap space check the current value :
SELECT service_id, service_handle, developer_parameters FROM fnd_cp_services WHERE service_id = (SELECT manager_type FROM fnd_concurrent_queues WHERE concurrent_queue_name = 'FNDCPOPP');
Increase the maximum Java heap size for the OPP to 1024MB (1GB):
UPDATE fnd_cp_services SET developer_parameters = 'J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx1024m' WHERE service_id = (SELECT manager_type FROM fnd_concurrent_queues WHERE concurrent_queue_name = 'FNDCPOPP');
39
40
41
42
43
Run a concurrent program against a specific RAC Instance with PCP/RAC setup. (Instance Affinity)
Note 1129203.1 - How to run a concurrent program against a specific RAC Instance with PCP/RAC setup ?
44
45
Pipes Vs Queue Pipes are more efficient than Queue. To use Pipes, it requires Transaction Manager defined for every node. However you might want to use "Queue" for easy maintenance.
46
Program Agenda
Overview of Concurrent Manager Enhancing Performance - Best Practices
Tuning Concurrent Queue Parameters
Script cmclean.sql
Why to run CMCLEAN.sql ? Cleaning out the tables is a useful method of making sure that there are no invalid statuses that can prevent the managers from starting. See Note 134007.1 Concurrent Processing - CMCLEAN.SQL - Non Destructive Script to Clean Concurrent Manager Tables. It will make sure the relevant status codes are valid without deleting any information. Tip Doc ID 152209.1 What is the Meaning of the Codes in the STATUS_CODE and PHASE_CODE Columns of FND_CONCURRENT_REQUESTS Table? Doc ID 155925.1 How to Clean Out Concurrent Manager Tables?
48
49
50
51
FND_CONCURRENT_REQUESTS
Update OUTFILE_NAME with the new directory path on the Target System.
Pending Requests
Pending / Normal The request is waiting for the next available concurrent manager to be picked and it will get processed. Increase number processes of the Concurrent Manager.
Pending / Standby
The Request is waiting at CRM due to Conflict Request which is already being run. Check the Incompatibilities defined for the request. Check any request is running with Run Alone flag.
53
54
Incompatible Programs
Program A Program B Program A Program B
Domain 1
Domain 2
Logical database
Logical database
56
57
58
Program Agenda
Overview of Concurrent Manager Enhancing Performance - Best Practices
Tuning Concurrent Queue Parameters
60
61
62
63
64
If you do not know the path for those directories, you can run a command like the following query in SQL : select name, value from v$parameter where name = 'user_dump_dest';
65
The Output Post-processor is running but has not picked up this request. No further
attempts will be made to post-process this request, and the request will be marked with Warning status.
Action
Setting the Profile Option Concurrent: OPP Response Timeout to a higher value may be necessary.
If the value of the Profile Option Concurrent:OPP Response Timeout is 120 then
increase it to 240. (Value * 2). Increase the number of processes or threads (or both) .
66
The Concurrent Manager has timed out waiting for the Output Post Processor
to finish this Request. Check that there are enough Output Post Processor Service Processes running. More information may be found in the Service Process logfile.
Action Check the Profile Option "Concurrent:OPP Process Timeout". Increase the setting to a higher value. For example: Set the value to 10800 sec (3 hours). After this change, the Concurrent Request will wait maximum 3 hours, for the Output Post Processor to finish the Request.
67
68
69
70
72
73
74
Q&A
75
THANK YOU
for attending our Advisor Webcast !
76
77
78