DBA FUS‎ > ‎

Identify the offending session using the V$SESSION or GV$SESSION

posted Sep 11, 2010, 5:09 AM by Sachchida Ojha
SELECT s.inst_id,
       s.sid,
       s.serial#,
       p.spid,
       s.username,
       s.program
FROM   gv$session s
       JOIN gv$process p ON p.addr = s.paddr AND p.inst_id = s.inst_id
WHERE  s.type != 'BACKGROUND';
Comments