I also had deadlock problems in a Curam application because of missing indexes on Foreign Key problems. I added the indexes and all the problems went away.
Sorry, I don't have a sample for you.
Tom
-- --Original Message-- -- From: oracle-l-bounce@(protected) [mailto:oracle-l-bounce@(protected)] On Behalf Of Post, Ethan Sent: Thursday, June 30, 2005 2:32 PM To: Oracle-L@(protected) Org (E-mail) Subject: Unindexed FK Cause Deadlock or Only Share Lock?
I am trying to find out if a missing index on a foreign key would cause a deadlock. I always thought is would only cause a share lock and hold up other DML, not deadlock it.
This asktom link http://tinyurl.com/djgco (search for deadlock and read comments/responses) seems to suggest you only get a share lock.
However I was sent these links also...some don't seem to support the idea of deadlocks but others do. Anyone know the answer here? Anyone think of a quick test case which demonstrates this?