Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Exists in v$session, not in v$process
Can anyone put explanation on this scenario...
Main table they were updating remains locked...
So some checking reveals the following
SQL> select * from v$version;
BANNER
SQL> select sid, serial#, status, command
2 from v$session
3 where sid = 11
4 /
SQL> /
SID SERIAL# STATUS COMMAND
---------- ---------- -------- ----------
11 9629 SNIPED 0
SQL> /
SID SERIAL# STATUS COMMAND
---------- ---------- -------- ----------
11 9631 SNIPED 0
SQL> /
SID SERIAL# STATUS COMMAND
---------- ---------- -------- ----------
11 9632 SNIPED 0
SQL> select p.SPID
2 from v$session s, v$process p
3 where s.PADDR = p.ADDR
4* and s.SID =11
SQL> /
no rows selected
So "SNIPED" tells me that the connection is waiting on the client (?). There is no O.S process either by 'ps' or in v$process yet the SID still remains in v$session. COMMAND=0 tells me nothings going on yet testing the SQL_ADDRESS shows that it is "still" performing the large update...and of course the table is still locked.
Any ideas ? Is the SID still there whilst rollback occurs due to the dead process ?
Cheers
Connor
--
"Some days you're the pigeon, and some days you're the statue." Received on Tue Aug 03 1999 - 06:49:48 CDT