Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> table lock problem?
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: guy.hammond_at_avt.co.uk
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: guy.hammond_at_avt.co.uk
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: ListGuru_at_fatcity.com (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). Received on Thu Aug 09 2001 - 12:00:43 CDT
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message