Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Killed sessions
I noticed an interesting fact: if V$SESSION contains
sessions with status = 'KILLED' such sessions do not
appear in the join between V$PROCESS and V$SESSION.
Example:
COUNT(*)
SQL>
SQL> select count(*) from v$session;
COUNT(*)
SQL> select count(*) from v$process;
COUNT(*)
SQL>
SQL> select count(*)
2 from
3 v$session s, 4 v$process p 5 where 6 s.paddr = p.addr;
COUNT(*)