正德厚生,臻于至善

EBS 12.1.3并发管理器数量监控及调整

set lines 200 pages 50000
col USER_CONCURRENT_QUEUE_NAME for a60
col TARGET_NODE for a12
select fcqt.user_concurrent_queue_name USER_CONCURRENT_QUEUE_NAME,
       fcq.target_node TARGET_NODE,
       fcq.max_processes TARGET_PROCESSES,
       fcq.running_processes RUNNING_PROCESSES,
       nvl(r.running_process, 0) RUNNING_PROCESS,
       nvl(p.pending_process, 0) PENDING_PROCESS
  from apps.fnd_concurrent_processors fcp,
       apps.FND_CONCURRENT_QUEUES fcq,
       apps.FND_CONCURRENT_QUEUES_TL fcqt,
       (select fcwr1.Concurrent_Queue_Name,
               count(fcwr1.REQUEST_ID) as pending_process
          from apps.Fnd_Concurrent_Worker_Requests fcwr1
         where fcwr1.PHASE_CODE = 'P'
           and fcwr1.hold_flag != 'Y'
           and fcwr1.REQUESTED_START_DATE <= sysdate
         group by fcwr1.Concurrent_Queue_Name) p,
       (select fcwr2.Concurrent_Queue_Name,
               count(fcwr2.REQUEST_ID) as running_process
          from apps.Fnd_Concurrent_Worker_Requests fcwr2
         where fcwr2.PHASE_CODE = 'R'
           and fcwr2.hold_flag != 'Y'
           and fcwr2.REQUESTED_START_DATE <= sysdate
         group by fcwr2.Concurrent_Queue_Name) R
 where fcq.concurrent_queue_id = fcqt.concurrent_queue_id
   and fcq.concurrent_processor_id = fcp.concurrent_processor_id
   and fcqt.language = 'ZHS'
   and fcqt.concurrent_queue_name = p.Concurrent_Queue_Name(+)
   and fcq.enabled_flag = 'Y'
   and nvl(fcq.control_code, '999') <> 'E'
   and fcqt.concurrent_queue_name = R.Concurrent_Queue_Name(+)
   and (fcq.target_processes <> 0 or fcq.Concurrent_Queue_Name = 'FNDICM' or
       fcq.Concurrent_Queue_Name like 'FNDSM%' or
       fcq.Concurrent_Queue_Name like 'FNDIM%');

set lines 200 pages 50000
select ses.sql_id,count(*)
from gv$session ses,gv$process pro
where ses.paddr=pro.addr
and ses.inst_id=pro.inst_id
and pro.spid in
(select oracle_process_id from applsys.fnd_concurrent_requests
where request_id in (select request_id from cuxsysmoniter.cux_fnd_request_running_info_v))
group by ses.sql_id
order by 2;

set lines 200 pages 9999
select INST_ID, SID, TYPE, ID1, ID2, LMODE, REQUEST, CTIME, BLOCK,
DECODE (BLOCK, 0, '', 'blocker') blocker,
DECODE (request, 0, '', 'waiter') waiter
from gv$lock where (ID1,ID2,TYPE) in
(select ID1,ID2,TYPE from gv$lock where request>0)
order by blocker,ctime desc;
update applsys.fnd_concurrent_queue_size fcqs
set fcqs.min_processes=200,fcqs.max_processes=200 where fcqs.min_processes=80;
commit;

update applsys.fnd_concurrent_queue_size fcqs
set fcqs.min_processes=100,fcqs.max_processes=100 where fcqs.min_processes=200;
commit;

update applsys.fnd_concurrent_queue_size fcqs
set fcqs.min_processes=6,fcqs.max_processes=6 where fcqs.concurrent_queue_id in (select fcq.concurrent_queue_id from applsys.fnd_concurrent_queues fcq where fcq.concurrent_queue_name like '%OPP%');
commit;
@compare.sql
@coe_xfr_sql_profile.sql
@?/rdbms/admin/sqltrpt
@sqlhc.sql
赞(0) 打赏
未经允许不得转载:徐万新之路 » EBS 12.1.3并发管理器数量监控及调整

评论 抢沙发

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫

微信扫一扫

登录

找回密码

注册