You can get that query which is taking much time only then when your program is running.
In the below query you need to pass the request id of your program.
SELECT SQL_TEXT,SQL_FULLTEXT
FROM V$SQL
WHERE SQL_ID IN (SELECT SQL_ID
FROM V$SESSION
WHERE PADDR IN (select addr
from v$process
where spid =(select oracle_process_id
from fnd_concurrent_requests
where request_id=&p_request_id;
In the below query you need to pass the request id of your program.
SELECT SQL_TEXT,SQL_FULLTEXT
FROM V$SQL
WHERE SQL_ID IN (SELECT SQL_ID
FROM V$SESSION
WHERE PADDR IN (select addr
from v$process
where spid =(select oracle_process_id
from fnd_concurrent_requests
where request_id=&p_request_id;
No comments:
Post a Comment