EBS并发管理器请求汇总(按照并发消耗时间,等待时间,平均等待事件等汇总)

此数据集用于确定正在使用中并发管理器,并可与实际在启动时分配的并发管理器。而且考虑完成状态为 正常/警告 请求


 

select q.concurrent_queue_name,

       count(*) cnt,

       sum(r.actual_completion_date - r.actual_start_date) * 24 elapsed,

       avg(r.actual_completion_date - r.actual_start_date) * 24 average,

       stddev(actual_start_date -

              greatest(r.requested_start_date, r.request_date)) * 24 wstddev,

       sum(actual_start_date -

           greatest(r.requested_start_date, r.request_date)) * 24 waited,

       avg(actual_start_date -

           greatest(r.requested_start_date, r.request_date)) * 24 avewait

  from apps.fnd_concurrent_programs  p,

       apps.fnd_concurrent_requests  r,

       apps.fnd_concurrent_queues    q,

       apps.fnd_concurrent_processes p

 where r.program_application_id = p.application_id

   and r.concurrent_program_id = p.concurrent_program_id

   and r.phase_code = 'C' -- completed and r.status_code in ('C','G') -- completed normal or with warning

   and r.controlling_manager = p.concurrent_process_id

   and q.concurrent_queue_id = p.concurrent_queue_id

   and r.concurrent_program_id = p.concurrent_program_id

 group by q.concurrent_queue_name;


你可能感兴趣的:(ebs)