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 -> Re: killing a 'killed' session

Re: killing a 'killed' session

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Fri, 21 Mar 2003 23:59:51 +0800
Message-ID: <3E7B36F7.2243@yahoo.com>


Tom wrote:
>
> "NetComrade" <andreyNSPAM_at_bookexchange.net> wrote in message
> news:3e7a439a.2094599024_at_nyc.news.speakeasy.net...
> > where sid is the sid of a session you're trying to kill (from
> > v$session).
> >
>
> SID SERIAL# USERNAME ROUND(LAST_CALL_ET/60)*60 IDLE
> ---------- ---------- -------------------- ------------------------- -------
> -
> 13 11567 XXXXXXX 1057440 KILLED
>
> select p.spid
> 2 from v$process p, v$session s
> where s.paddr = p.addr
> 3 4 and s.sid = &1
> 5 ;
> Enter value for 1: 13
> old 4: and s.sid = &1
> new 4: and s.sid = 13
>
> no rows selected
>
> ?

If there is no associated process then its probably already been killed. The session details hang around because there might be work to be done before the session can be 'discarded' (commonly undo)

hth
connor

-- 
=========================
Connor McDonald
http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue"
Received on Fri Mar 21 2003 - 09:59:51 CST

Original text of this message

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