How to enable trace for Concurrent Requests
It is very common to enable trace for concurrent
requests, the main reason for this is to troubleshooting performance problems.
Here is a simple guide how to enable oracle session tracing for the request.
1. Login as sysadmin
2. Go to -> System Administrator -> Concurrent : Program -> Define and Press F11
3. Enter the Concurrent Program Name (Eg. Journal Import) -> Press Ctrl + F11
4. Enable the check box "Enable Trace" above "Copy To" button. Click on Save and close the window.
5. Select Requests -> Run->Submit the concurrent request!
6. The trace file will be created in the Database Server under the location of "udump"
1. Login as sysadmin
2. Go to -> System Administrator -> Concurrent : Program -> Define and Press F11
3. Enter the Concurrent Program Name (Eg. Journal Import) -> Press Ctrl + F11
4. Enable the check box "Enable Trace" above "Copy To" button. Click on Save and close the window.
5. Select Requests -> Run->Submit the concurrent request!
6. The trace file will be created in the Database Server under the location of "udump"
sql>
select value from v$parameter where name like '%user_dump_dest%';
Concurrent Programs with trace enabled
Shows which programs are defined with Trace
enabled. Generally, you should enable trace for a program while you are
debugging, but then you should turn it off when you're done.
SELECT A.CONCURRENT_PROGRAM_NAME "Program
Name",
SUBSTR(A.USER_CONCURRENT_PROGRAM_NAME,1,40)
"User Program Name",
SUBSTR(B.USER_NAME,1,15) "Last Updated
By",
SUBSTR(B.DESCRIPTION,1,25) DESCRIPTION
FROM APPS.FND_CONCURRENT_PROGRAMS_VL A,
APPLSYS.FND_USER B
WHERE A.ENABLE_TRACE='Y'
AND A.LAST_UPDATED_BY=B.USER_ID;
No comments:
Post a Comment