码迷,mamicode.com
首页 > 其他好文 > 详细

REQUEST的TRACE文件

时间:2015-10-11 21:28:44      阅读:186      评论:0      收藏:0      [点我收藏+]

标签:

--REQUEST的TRACE文件
SELECT    ‘Trace Name: ‘
       || DEST.VALUE
       || ‘/‘
       || LOWER (DBNM.VALUE)
       || ‘_ora_‘
       || ORACLE_PROCESS_ID
       || ‘.trc‘,
       ‘File Name: ‘ || EXECNAME.EXECUTION_FILE_NAME,
       EXECNAME.SUBROUTINE_NAME
  FROM FND_CONCURRENT_REQUESTS REQ,
       V$SESSION SES,
       V$PROCESS PROC,
       V$PARAMETER DEST,
       V$PARAMETER DBNM,
       FND_CONCURRENT_PROGRAMS_VL PROG,
       FND_EXECUTABLES EXECNAME
WHERE     1 = 1
       AND REQ.REQUEST_ID = &REQUEST_ID           --parameters
       AND REQ.ORACLE_PROCESS_ID = PROC.SPID(+)
       AND PROC.ADDR = SES.PADDR(+)
       AND DEST.NAME = ‘user_dump_dest‘
       AND DBNM.NAME = ‘db_name‘
       AND REQ.CONCURRENT_PROGRAM_ID = PROG.CONCURRENT_PROGRAM_ID
       AND REQ.PROGRAM_APPLICATION_ID = PROG.APPLICATION_ID
       AND PROG.APPLICATION_ID = EXECNAME.APPLICATION_ID
       AND PROG.EXECUTABLE_ID = EXECNAME.EXECUTABLE_ID

REQUEST的TRACE文件

标签:

原文地址:http://www.cnblogs.com/quanweiru/p/4869917.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!