《Oracle Applications DBA 基础》- 9 - Concurrent Processing[Z]
| 《Oracle Applications DBA 基础》- 9 - Concurrent Processing ================================== 参考资料: 1. Oracle Applications System Administrator's Guide - Configuration 2. Oracle Applications System Administrator's Guide - Maintenance 3. Oracle 11i System Administrator Fundamentals 4. Oracle Applications Developer's Guide 并发处理 ( Concurrent process) 和 并发管理器(Concurrent Manager) 是R12中负责 Concurrent Manager 管理的基础知识,比如 start/stop,output and logfile location 等, 下面只是列出一些常用的内容,可以帮助理解concurrent manager。 ===================================================== 很多时候我们需要从 concurrent request 的request id 找到对应的 # 当前正在运行的 concurrent request: select request_id, controlling_manager, phase_code # 根据 request id 找到 对应的<controlling_manager> # 根据 <controlling_manager> 找到对应的<ORACLE_PROCESS_ID>: # 根据 <ORACLE_PROCESS_ID> 就知道 SID # 另外一种 SQL query 方法: select sid from v$session where audsid=<session_id>; =========================================== select a.concurrent_program_id , b.CONCURRENT_PROGRAM_NAME, count(1) =============================================== col LOOKUP_CODE for a10 select lv.lookup_code, lv.meaning from fnd_lookup_values lv # 列出 concurrent program的种类对应的数量 select cp.enabled_flag,lv.meaning , count(*) cp_count ========================================================== select CONCURRENT_QUEUE_NAME, control_code, running_processes, max_processes ======================== select lookup_type,lookup_code, meaning from fnd_lookups # fnd_concurrent_processes 的 status_code select lookup_code, meaning from fnd_lookups # 如何手动停掉正在运行的 Concurrent Request <154688.1> update fnd_concurrent_requests set status_code='C',phase_code='c' # <152763.1> , in that case, set status_code='X' update fnd_concurrent_requests set status_code='C' ,phase_code='C' # The Oracle server process might become runaway. ================================== CONCSUB apps/apps SYSADMIN "System Administrator" SYSADMIN WAIT=N CONCURRENT FND cusupt3 PROGRAM_NAME="custom update 3" "cusupt3": concurrent executable in $FND_TOP/bin # 如何 trace concurrent program 1. concurrent program => define => "Enable Trace" 2. Profiles => System => Concurrent:Allow Debugging 3. submit request => Debug Options # 各种 不同的 concurrent programs cd $FND_TOP/bin cat ./WH1TEST.prog sqlplus apps/apps@VIS <<EOF chmod +x WH1TEST.prog ### pass parameter as separate variable ln -s $FND_TOP/bin/fndcpesr WH1TEST 然后,在R12中逐一定义如下内容: ## start concurrent program "WH1TEST" manually select CONCURRENT_PROGRAM_NAME, PROGRAM_TYPE from ==================================================================== example 2: c & pro*c concurrent program example 3: report concurrent program Note: the report file should be in US directory. cp /applvis/apps/tech_st/10.1.2/reports/samples/demo/test.rdf ./WH1RPTCP.rdf [applvis@mis US]$ pwd then register this rdf as in other cases of the concurrent testing program but in the "define" part, choose "pdf" as output format . example 4: PL/SQL concurrent program [oravis@mis ~]$ cat plconc.sql ### submit conc request in PL/SQL fnd_global.apps_initialize(0,20420,1); --(app short name, conc program short name ) ### find out relevant info declare ##################################### example 6: Java concurrent program cd $JAVA_TOP/oracle/apps/fnd/cp vi Hello.java public class Hello implements JavaConcurrentProgram { ########################### javac $JAVA_TOP/oracle/apps/fnd/cp/sample/Hello.java ls -l $INST_TOP/appl/fnd/12.0.0/secure/VIS.dbc [applvis@mis sample]$ which java java -Ddbcfile=$INST_TOP/appl/fnd/12.0.0/secure/VIS.dbc \ # 在R12中作如下设置: ### 另一个版本 package oracle.apps.fnd.cp.sample; public class Hello implements JavaConcurrentProgram { java -Ddbcfile=$INST_TOP/appl/fnd/12.0.0/secure/VIS.dbc \ |
《Oracle Applications DBA 基础》- 9 - Concurrent Processing[Z]的更多相关文章
- 《Oracle Applications DBA 基础》- 9 - Concurrent Processing
来自:http://www.itpub.net/thread-1411293-1-4.html <Oracle Applications DBA 基础>- 9 - Concurrent P ...
- Oracle Applications DBA 基础(一)
1.引子 2014年9月13日 20:33 <oracle Applications DBA 基础>介绍Oracle Applications R12的系统架构, 数据库后台及应用系统的基 ...
- Oracle Applications DBA 基础(二)
6.OAM及系统管理 2014年9月13日 20:40 参考资料: 1.Oracle Applications System Administrator's Guide - Configuration ...
- Oracle EBS DBA常用SQL - 安装/补丁【Z】
Oracle EBS DBA常用SQL - 安装/补丁 检查应用补丁有没有安装:select bug_number,last_update_date from ad_bugs where bug_nu ...
- Oracle Applications Multiple Organizations Access Control for Custom Code
档 ID 420787.1 White Paper Oracle Applications Multiple Organizations Access Control for Custom Code ...
- Oracle Apps DBA 常用命令
数据库启动监听 addlnctl.sh start instance 启动数据库 addbctl.sh start 启动应用服务器 adstrtal.sh 停止应用服务器 adstpall.sh -- ...
- Globalization Guide for Oracle Applications Release 12
Section 1: Overview Section 2: Installing Section 3: Configuring Section 4: Maintaining Section 5: U ...
- 【绝密外泄】风哥Oracle数据库DBA高级工程师培训视频教程与内部资料v0.1
[绝密外泄]风哥Oracle数据库DBA高级工程师培训视频教程与内部资料v0.1 由于是[绝密外泄]资料,防止被查,需要的小伙伴赶紧下载附件中的课件文档.由于视频太大了,已放在百度网盘了,已经在附中说 ...
- General Ledger Useful SQL Scripts – Oracle Applications 11i
General Ledger Useful SQL Scripts – Oracle Applications 11i Contents GL Set of Books Configuration O ...
随机推荐
- hdu 5615 Jam's math problem(判断是否能合并多项式)
方法一:由十字相乘相关理论我们能知道,如果要有p,k,q,m,那么首先要有解,所以b*b-4*a*c要>0,然而因为p,k,q,m是正整数,所以代表x1,x2都是有理数,有理数是什么鬼呢?就是解 ...
- poj 2186 (强连通缩点)
题意:有N只奶牛,奶牛有自己认为最受欢迎的奶牛.奶牛们的这种“认为”是单向可传递的,当A认为B最受欢迎(B不一定认为A最受欢迎),且B认为C最受欢迎时,A一定也认为C最受欢迎.现在给出M对这样的“认为 ...
- Windows下搭建Eclipse+Android4.0开发环境
官方搭建步骤: http://developer.android.com/index.html 搭建好开发环境之前须要下载以下几个文件包: 一.安装Java执行环境JRE(没这个Eclipse执行不起 ...
- Android自己定义组件系列【7】——进阶实践(4)
上一篇<Android自己定义组件系列[6]--进阶实践(3)>中补充了关于Android中事件分发的过程知识.这一篇我们接着来分析任老师的<可下拉的PinnedHeaderExpa ...
- 有用的jQuery布局插件推荐
网页设计中排版也是很重要的,但有些比较难的网页排版我们可以用一些jQuery来实现,今天文章中主要分享一些有用的jQuery布局插件,有类似Pinterest流布局插件.友荐的滑动提示块以及其它jQu ...
- RMAN备份之丢失数据文件及控制文件的恢复
About Recovery with a Backup Control FileIf all copies of the current control file are lost or damag ...
- C#整理2——C#的输入输出及基本类型
//输出 Console.WriteLine("摩西摩西"); Console.Write("hollo");不带回车的 注意: 1.注意大小写敏感.(快捷键操 ...
- 整理HTML的一些基础
HTML,超文本标记语言(HyperText Markup Language) 超文本:指页面内可以包含图片.链接.音乐.程序等非文字元素 标记:页面的由各种标签(标记)组成,文本有隐藏的文本标签 H ...
- VS2012JSON自动生成对应的类
一.复制JSON数据如图 {Key:"aaaa",Value:"bbbb"} 二.点击以下操作
- eclipse 和myEclipse 项目导入
经常在eclipse/myeclipse中导入web项目时,出现转不了项目类型的问题,导入后就是一个java项目. 有两种情况: 一.eclipse无法识别其他eclipse的web项目 解决步骤: ...