Oracle Performance Analysis - Long running Concurrent Requests
The following query can be used to find the sid,pid, spid for a specific concurrent request. If a program is running for long time and user requests to verify the root cause, this will help DBA to find the sid and then dba can go beyond this and look for sqlid, plan etc. This will be helpful while doing performance analysis
SELECT a.request_id,d.sid,d.serial#,d.sql_id,d.osuser,d.process,d.client_identifier "requestor" ,c.SPIDFROM apps.fnd_concurrent_requests a,apps.fnd_concurrent_processes b,v$process c,v$session dWHERE a.controlling_manager = b.concurrent_process_idAND c.pid = b.oracle_process_idAND b.session_id = d.audsidAND a.request_id = '&REQUEST_ID';
No comments:
Post a Comment
If you have any queries/ any suggestion please do comment and let me know.