Skip to main content

Concurrent Request History

col PROGRAM for a30
col REQUESTOR for a15
set linesize 400
set pagesize 400
set feedback on
col Start_Time for a20
col End_Time for a20
col phase for a15
select request_id,
fu.user_name requestor,
ctl.user_concurrent_program_name program,
to_char(actual_start_date,'DD-MON-RR HH24:MI') Start_Time,
to_char(actual_completion_date,'DD-MON-RR HH24:MI') End_Time,
((nvl(actual_completion_date,sysdate)-actual_start_date)*1440) Total_Time,
decode(a.phase_code,'R','Running','P','Inactive','C','Completed',
              a.phase_code) phase,
decode(a.status_code,'E','Error',   'C','Normal',    'X','Terminated',
                            'Q','On Hold', 'D','Cancelled', 'G','Warning',
                            'R','Normal',  'W', 'Paused',
                            a.status_code) status
from APPLSys.fnd_Concurrent_requests a,APPLSys.fnd_concurrent_processes b
    ,applsys.fnd_concurrent_queues q
    ,APPLSys.fnd_concurrent_programs c
    ,APPLSys.fnd_concurrent_programs_tl ctl,APPLsys.fnd_user fu
where a.controlling_manager = b.concurrent_process_id
  and a.concurrent_program_id = c.concurrent_program_id
  and a.program_application_id = c.application_id
  and b.queue_application_id = q.application_id
  and b.concurrent_queue_id = q.concurrent_queue_id
  and ctl.concurrent_program_id = c.concurrent_program_id
  and ctl.language = 'US'
  and fu.user_id = a.requested_by
  and  ctl.user_concurrent_program_name LIKE '%ProgramName%'
  ORDER BY Start_Time;

Comments

Popular posts from this blog

CLSRSC-430: Failed to start rolling patch mode

############################################################ GRID PSU Failed on Node2: =========================== [root@server1 tmp]# /oracrs/oracle/product/12102/OPatch/opatchauto apply /path1/patches/23273629 -oh /oracrs/oracle/product/12102 -ocmrf /tmp/ocm.rsp OPatch Automation Tool Copyright (c)2014, Oracle Corporation. All rights reserved. OPatchauto Version : 12.1.0.1.10 OUI Version        : 12.1.0.2.0 Running from       : /oracrs/oracle/product/12102 opatchauto log file: /oracrs/oracle/product/12102/cfgtoollogs/opatchauto/23273629/opatch_gi_2016-11-25_06-13-44_deploy.log Parameter Validation: Successful Configuration Validation: Successful Patch Location: /path1/patches/23273629 Grid Infrastructure Patch(es): 21436941 23054246 23054327 23054341 DB Patch(es): 23054246 23054327 The following patch(es) are duplicate patches with patches installed in the Oracle Home.  [ 20299023] You hav...

SQL Plan Management [ SPM ]

============================================= SQL> SHOW parameter baselines NAME                                 TYPE        VALUE ------------------------------------ ----------- ------- optimizer_capture_sql_plan_baselines boolean     FALSE optimizer_use_sql_plan_baselines     boolean     TRUE SQL> ============================================= Connect as SPM user and create a table as follows. -------------------------------------------------- SQL> CREATE TABLE EMPLOYEE (code number,dept char(100),address char(1000)); Table created. SQL> ============================================= Populate some rows in the table =================================== declare c1 number; begin for c1 IN 1..10000 ...