`
chengyue2007
  • 浏览: 1497343 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

About Concurrent Manager

    博客分类:
  • DBA
 
阅读更多

About Concurrent Manager

oracle ebs 并发管理器,标准管理器

Concurrent Managers 是ORACLE ERP用来控制用户请求的管理器,通过他可以做定时处理,产生report和批处理。
Concurrent Manager有很多种,比如:
Internal Manager
Standard Manager
Receiving Transaction Manager
Receivables Tax Manager
SFM Controller Service
Inventory Manager
负责不同种类的REQUESTS, 最基本的有以下3个:

  • Internal Concurrent Manager (ICM) -  The Internal concurrent manager or the ICM is the 'master' concurrent manager. 主要用来管理其他的MANAGER,所以这个必须先起来。

 

    • (os process sample) FNDLIBR FND CPMGR FNDCPMBR sysmgr=""  logfile=...  

 

  • Standard Concurrent Manager - This the core manger and the most hard working of the three. 这个是最通用的Manager,通常的JOB,PROCESS都是由它来控制。除非,REQUEST有指定特殊的其他MANAGER。
    • (os process sample) FNDLIBR FND Concurrent_Processor MANAGE OLOGIN="APPS/94

 

  • Conflict Resolution Manager (CRM) - The conflict resolution manager of the CRM is responsible of handling any conflicts that might occur within the concurrent programmes. 主要是为了避免REQUESTS间的冲突,比如,有些批处理,不能同时跑,等等。
    • (os process sample) FNDCRM APPS/889F9884A29D997F7676


查询Manager SQL:

SELECT user_concurrent_queue_name manager, node_name node,
       running_processes actual, max_processes target, cache_size buf,
       diagnostic_level, enabled_flag
  
FROM fnd_concurrent_queues_vl
------------------------------
Standard Manager                               3             3             6    N     Y
PO Document Approval Manager     3             3                    N     Y


查询Manager Process SQL:

SELECT DISTINCT concurrent_process_id cpid, pid opid, os_process_id osid,
                q.user_concurrent_queue_name manager, p.node_name node,
                TO_CHAR (p.process_start_date,
                         
'YY-MM-DD HH24:MI:SS'
                        ) started_at,
                p.logfile_name, p.process_status_code
           
FROM fnd_concurrent_processes p,
                fnd_concurrent_queues_vl q,
                fnd_v$process
          
WHERE q.application_id = queue_application_id
            
AND (q.concurrent_queue_id = p.concurrent_queue_id)
            
AND (spid = os_process_id)
       
AND process_status_code NOT IN ('K''S')
ORDER BY        os_process_id,
                concurrent_process_id,
                q.user_concurrent_queue_name
---------------------------------------------------------------------
251606    10 8560 Internal Manager                              TestServer     08-01-21 14:07:25 ../TESTT.mgr     A
251607    31 9527 Conflict Resolution Manager         TestServer     08-01-21 14:07:29 ../c251607.mgr A
251609    32 9528 Scheduler/Prereleaser Manager  TestServer     08-01-21 14:07:29 ../s251609.mgr A

查询Process Status Code SQL:

SELECT *
  
FROM fnd_lookups
 
WHERE lookup_type LIKE 'CP_PROCESS_STATUS_CODE'
-----------------------------------------------------------------
CP_PROCESS_STATUS_CODE     A     Active
CP_PROCESS_STATUS_CODE     C     Connecting
CP_PROCESS_STATUS_CODE     D     Deactiviating
CP_PROCESS_STATUS_CODE     K     Terminated
CP_PROCESS_STATUS_CODE     M     Migrating
CP_PROCESS_STATUS_CODE     P     Suspended
CP_PROCESS_STATUS_CODE     R     Running
CP_PROCESS_STATUS_CODE     S     Deactivated
CP_PROCESS_STATUS_CODE     T     Terminating
CP_PROCESS_STATUS_CODE     Z     Initializing



关于Cache Size:
如果concurrent requests很少区分优先级,而且都是小的requests,可以设置cache size至少等于两倍的Target processs.
这会加快处理量,减少sleep时间。其实就是来自FND_CONCURRENT_REQUESTS的信息被cache了。
简单来说,加大CACHE SIZE时,concurrent manager会预先知道还有几个requests需要处理,就会避免进入sleep status.这样就可以连续处理。当然需要在资源允许的条件下,也不是所有的都可以设置的

分享到:
评论

相关推荐

    微软内部资料-SQL性能优化3

    The lock manager knows nothing about the resource format. It simply compares the 'strings' representing the lock resources to determine whether it has found a match. If a match is found, it knows that...

    Programming C# 4.0, 6th Edition

    You’ll learn concurrent programming with C# 4.0, and how to use .NET tools such as the Entity Framework for easier data access, and the Silverlight platform for browser-based RIA development. ...

    a project model for the FreeBSD Project.7z

    7.1. Concurrent Versions System (CVS) 7.2. CVSup 7.3. GNATS 7.4. Mailman 7.5. Perforce 7.6. Pretty Good Privacy 7.7. Secure Shell 8 Sub-projects 8.1. The Ports Subproject 8.2. The FreeBSD ...

    Professional_Linux_Programming.pdf

    The Concurrent Version System 96 Subversion 104 Decentralized tools 108 Bazaar-NG 109 Linux kernel SCM (git) 112 Integrated SCM Tools 115 Eclipse 115 Summary 117 Chapter 5: Network Programming 119 ...

    金蝶BOSV6.1_业务组件API参考手册

    com.kingdee.bos.service.manager com.kingdee.bos.service.message com.kingdee.bos.service.message.agent com.kingdee.bos.service.message.jms com.kingdee.bos.service.message.jms.grouptopic ...

    python3.6.5参考手册 chm

    concurrent.futures contextlib datetime decimal distutils email encodings enum faulthandler fileinput hashlib http.client idlelib and IDLE importlib inspect json logging math ...

    acpi控制笔记本风扇转速

    concurrent control method execution. An additional namespace race condition is known to exist between AcpiWalkNamespace and the Load/Unload ASL operators and is still under investigation. ...

Global site tag (gtag.js) - Google Analytics