Diagnostic Script for Concurrent Requests .

source:REQCHECK.sql - Diagnostic Script for Concurrent Requests (Doc ID 164978.1)


This Script is made available for Diagnosing Common Problems Related to Concurrent Requests.

  1. REM #########################################################################  
  2. REM ## Purpose: Diagnostic Script for Concurrent Requests  
  3. REM ## Author: Brian Kerr  
  4. REM ## Email: brian.kerr@oracle.com  
  5. REM ## Filename: reqcheck.sql  
  6. REM ## Cert: 10.7, 11, 11.5, 12  
  7. REM ## Note:  
  8. REM ## Usage: sqlplus apps/ @reqcheck.sql  
  9. REM ## Output: reqcheck.lst  
  10. REM ## Notes:  
  11. REM ## a. The selects below run against system level only.  
  12. REM ## b. Include Responsibility & User level queries - Open.  
  13. REM ## c. '0 Rows Selected' represents that the Profile Option is Not Set.  
  14. REM ##  
  15. REM ## $Id: reqcheck.sql, v 1.2 2001/11/18 17:20:00 bkerr Exp $  
  16. REM #########################################################################  
  17. spool reqcheck.lst  
  18. prompt There should never be more than 3-4K records  
  19. select count(*) from fnd_concurrent_requests;  
  20. prompt Please Run Purge Concurrent Requests /and or Manager Data if => 3K  
  21.   
  22. prompt There should never be more than 3-4K records  
  23. select count(*) from fnd_concurrent_processes;  
  24. prompt Please Run Purge Concurrent Requests /and or Manager Data if => 3K  
  25.   
  26. prompt If records found, Update fnd_concurrent_requests set phase_code='C'  
  27. prompt and status_code='E' where phase_code='T'  
  28. select count(*) from fnd_concurrent_requests  
  29. where phase_code='T';  
  30.   
  31. prompt If records found, Update fnd_concurrent_requests set phase_code='C'  
  32. prompt where phase_code = 'P' to Purge Pending Requests  
  33. select count(*) from fnd_concurrent_requests  
  34. where phase_code='P';  
  35.   
  36. prompt Limits the Number of Requests Run Simultaneously by each User  
  37. select c.profile_option_value  
  38. from fnd_profile_options a, fnd_profile_options_tl b, fnd_profile_option_values c  
  39. where a. profile_option_name = b.profile_option_name  
  40. and a.profile_option_id = c.profile_option_id  
  41. and c.level_id = 10001  
  42. and b.user_profile_option_name = 'Concurrent:Active Request Limit';  
  43.   
  44. prompt Setting this option to YES will enable the 'Submit a New Request' button  
  45. select c.profile_option_value  
  46. from fnd_profile_options a, fnd_profile_options_tl b, fnd_profile_option_values c  
  47. where a. profile_option_name = b.profile_option_name  
  48. and a.profile_option_id = c.profile_option_id  
  49. and c.level_id = 10001  
  50. and b.user_profile_option_name = 'Concurrent:Enable Request Submission in View Mode';  
  51.   
  52. prompt Enables you to automatically place requests on hold after submission  
  53. select c.profile_option_value  
  54. from fnd_profile_options a, fnd_profile_options_tl b, fnd_profile_option_values c  
  55. where a. profile_option_name = b.profile_option_name  
  56. and a.profile_option_id = c.profile_option_id  
  57. and c.level_id = 10001  
  58. and b.user_profile_option_name = 'Concurrent:Hold Requests';  
  59.   
  60. prompt Determines access privs to report output/log files  
  61. select c.profile_option_value  
  62. from fnd_profile_options a, fnd_profile_options_tl b, fnd_profile_option_values c  
  63. where a. profile_option_name = b.profile_option_name  
  64. and a.profile_option_id = c.profile_option_id  
  65. and c.level_id = 10001  
  66. and b.user_profile_option_name = 'Concurrent:Report Access Level';  
  67.   
  68. prompt The value for number of Report Copies Currently Set  
  69. select c.profile_option_value  
  70. from fnd_profile_options a, fnd_profile_options_tl b, fnd_profile_option_values c  
  71. where a. profile_option_name = b.profile_option_name  
  72. and a.profile_option_id = c.profile_option_id  
  73. and c.level_id = 10001  
  74. and b.user_profile_option_name = 'Concurrent:Report Copies';  
  75.   
  76. prompt Determines the Priority of a Request upon Submission  
  77. select c.profile_option_value  
  78. from fnd_profile_options a, fnd_profile_options_tl b, fnd_profile_option_values c  
  79. where a. profile_option_name = b.profile_option_name  
  80. and a.profile_option_id = c.profile_option_id  
  81. and c.level_id = 10001  
  82. and b.user_profile_option_name = 'Concurrent:Request Priority';  
  83.   
  84. prompt Identifies the domain within which all the incompatibilities  
  85. prompt between programs has to be resolved  
  86. select c.profile_option_value  
  87. from fnd_profile_options a, fnd_profile_options_tl b, fnd_profile_option_values c  
  88. where a. profile_option_name = b.profile_option_name  
  89. and a.profile_option_id = c.profile_option_id  
  90. and c.level_id = 10001  
  91. and b.user_profile_option_name = 'Concurrent:Conflicts Domain';  
  92.   
  93. prompt Setting this option to YES will save the output from a concurrent  
  94. prompt request to a file.  
  95. select c.profile_option_value  
  96. from fnd_profile_options a, fnd_profile_options_tl b, fnd_profile_option_values c  
  97. where a. profile_option_name = b.profile_option_name  
  98. and a.profile_option_id = c.profile_option_id  
  99. and c.level_id = 10001  
  100. and b.user_profile_option_name = 'Concurrent:Save Output';  
  101.   
  102. prompt Setting this option to YES will force concurrent requests to run sequentially  
  103. prompt in the order in which they were submitted.  
  104. select c.profile_option_value  
  105. from fnd_profile_options a, fnd_profile_options_tl b, fnd_profile_option_values c  
  106. where a. profile_option_name = b.profile_option_name  
  107. and a.profile_option_id = c.profile_option_id  
  108. and c.level_id = 10001  
  109. and b.user_profile_option_name = 'Concurrent:Sequential Requests';  
  110.   
  111. prompt Set this option to YES to show request set stages in the concurrent  
  112. prompt request screens.  
  113. select c.profile_option_value  
  114. from fnd_profile_options a, fnd_profile_options_tl b, fnd_profile_option_values c  
  115. where a. profile_option_name = b.profile_option_name  
  116. and a.profile_option_id = c.profile_option_id  
  117. and c.level_id = 10001  
  118. and b.user_profile_option_name = 'Concurrent:Show Requests Set Stages';  
  119.   
  120. prompt Set this option to NO if you have multiple requests to submit and do not wish to  
  121. prompt see the Request Summary form after each submission.  
  122. select c.profile_option_value  
  123. from fnd_profile_options a, fnd_profile_options_tl b, fnd_profile_option_values c  
  124. where a. profile_option_name = b.profile_option_name  
  125. and a.profile_option_id = c.profile_option_id  
  126. and c.level_id = 10001  
  127. and b.user_profile_option_name = 'Concurrent: Show Requests Summary After Each Request Submission';  
  128.   
  129. prompt Specifies the number of minutes that a client will wait for a given Transaction  
  130. prompt Manager to become available before trying a different Transaction Manager.  
  131. select c.profile_option_value  
  132. from fnd_profile_options a, fnd_profile_options_tl b, fnd_profile_option_values c  
  133. where a. profile_option_name = b.profile_option_name  
  134. and a.profile_option_id = c.profile_option_id  
  135. and c.level_id = 10001  
  136. and b.user_profile_option_name = 'Concurrent:Wait for Available TM';  
  137.   
  138. spool off  
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值