Concurrent Processing
Concurrent Processing
Agenda
Introduction Goals and Objectives Randys Rules Oracle Information Sources Overview of EBS Concurrent Processing ERDs, Tables and Scripts Q&A
Introduction
Randy Giefer, Solution Beacon, LLC Oracle DBA for over 15 years
Releases 6.x, 7.x, 8i, 9i, 10g
RULE #1 Be Knowledgeable!
The Oracle E-Business Suite Tables and Columns are meaningless and confusing unless you understand the Concepts behind how Oracle EBS Concurrent Processing works. Then, and only then, will the Tables and Columns become meaningful... Unfortunately, they will still be confusing.
Randy Giefer, 2007
RULE #1 Be Knowledgeable!
#1 Beginner mistake - writing SQL without having the proper knowledge of what is being queried! The E-Business Suite is complex, confusing and HUGE! Easy for SQL statements to produce results, however, they may be:
Inaccurate Misleading Just plain wrong
MetaLink References
Note 260887.1 Steps to Clean Nonexistent Nodes or IP Addresses from FND_NODES Note 134007.1 CMCLEAN.SQL - Non Destructive Script to Clean Concurrent Manager Tables Note 105133.1 Concurrent Manager Questions and Answers Relating to Generic Platform Note 104452.1 Troubleshooting Concurrent Manager (Unix specific) Note 210062.1 Generic Service Management (GSM) in Oracle Applications 11i
Oracle Documentation
Oracle Applications System Administrators Guide Configuration Release 11i (Part No. B13925-06)
Chapter 6 - Defining Concurrent Programs and Reports Chapter 7 - Defining Concurrent Managers
Concurrent Managers
Internal Concurrent Manager (ICM) Standard Manager (SM) Specific Concurrent Managers (SCM) Conflict Resolution Manager (CRM)
Concurrent Requests
A Concurrent Request is the worker that gets scheduled and controlled by Concurrent Managers The base table is FND_CONCURRENT_REQUESTS (FCR)
eTRMs
Entity Relationship Diagrams ERDs at http://etrm.oracle.com
Concurrent Processing ERD.pdf Concurrent Request Sets ERD.pdf Concurrent Requests ERD.pdf
$FND_TOP/sql Scripts
afimchk.sql Tells the status of the ICM afcmstat.sql Lists active manager processes afrqrun.sql Lists all the running, waiting and Terminating requests afrqwait.sql Lists requests that are constrained and waiting for the ICM to release them. afrqscm.sql Prints log file name of managers that can run a given request. afcmcreq.sql Prints the log file name of the manager that processed the request afrqstat.sql Summary of completed concurrent requests grouped by completion status and execution type.. afimlock.sql Lists locks that the ICM is waiting to get afcmrrq.sql Lists managers that currently are running a request
$FND_TOP/sql/afrqrun.sql
TTITLE 'Running Requests' Select Request_Id Reqst, User_Name Requestor, Oracle_Username Orcl, Fcr.Logfile_Name LN, Concurrent_Queue_Name Manager, Concurrent_Program_Name Program, To_Char(Actual_Start_Date, 'Mm-Dd-Yy Hh24:Mi') Started, Run_Alone_Flag, Single_Thread_Flag From Fnd_Concurrent_Requests Fcr, Fnd_Concurrent_Programs Fcp, Fnd_Oracle_Userid O, Fnd_Concurrent_Processes P, Fnd_Concurrent_Queues Q, Fnd_User Where Controlling_Manager = Concurrent_Process_ID And ( P.Concurrent_Queue_ID = Q.Concurrent_Queue_ID And P.Queue_Application_ID = Q.Application_ID ) And O.Oracle_Id = Fcr.Oracle_Id And ( Fcr.Program_Application_Id = Fcp.Application_Id And Fcr.Concurrent_Program_Id = Fcp.Concurrent_Program_Id ) And Requested_By = User_Id And Phase_Code = 'R' and Status_Code = 'R' Order By Actual_Start_Date, Request_Id;
Thank you!
<Presenter Name(s)> <email>@solutionbeacon.com www.solutionbeacon.com
Re lS utons f t Re lWord. a ol i or he a l
Visit Our Booth #339 to Register for a World Class Weekend Trip!