How about trying v$session_wait and v$session_event? That should tell you
what it is waiting for.

Henry

-----Original Message-----
Sent: Thursday, August 09, 2001 12:45 PM
To: Multiple recipients of list ORACLE-L


Hi all,

I had a developer come to me yesterday and tell me his session had hung,
and sure enough it had, he was executing an INSERT into a table with 5
columns. Oracle was just sitting there, but all the other sessions
logged into the database were fine. I got the SQL out of the SQL Area
and ran it in one of my own SQL*Plus windows, and sure enough it got
stuck for me too. The statement was part of a transaction that inserted
and updated about 8 tables, and this happens on the 3000th or so
transaction in that session. We killed that session and restarted the
application, and it was fine until it happened again. 

How would I go about diagnosing something like this? A couple of the
columns were from sequences, and I verified that these were OK. The
others were just text inserted into VARCHAR2s.

Thanks,

g

--
Guy Hammond
AVT Technologies
12-16 Westland Place
London N1 7LP UK

Email: [EMAIL PROTECTED]
Office: +44 (0) 207 454 1224
Mobile: +44 (0) 7966 164687

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Guy Hammond
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Henry Poras
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to