Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Exists in v$session, not in v$process

Exists in v$session, not in v$process

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Tue, 03 Aug 1999 19:49:48 +0800
Message-ID: <37A6D75C.2D02@yahoo.com>


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



Oracle8 Enterprise Edition Release 8.0.5.0.0 - Production PL/SQL Release 8.0.5.0.0 - Production
CORE Version 4.0.5.0.0 - Production
TNS for SEQUENT DYNIX/ptx: Version 8.0.5.0.0 - Production NLSRTL Version 3.3.2.0.0 - Production

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

--



Connor McDonald
"These views mine, no-one elses etc etc" connor_mcdonald_at_yahoo.com

"Some days you're the pigeon, and some days you're the statue." Received on Tue Aug 03 1999 - 06:49:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US