Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: TX locks
You're thinking of the 'unindexed foreign key' anomaly. You can get TX/4 locks even when there is a foreign key index.
session 1: insert new child for parent X session 2: delete parent X
Session 2 waits for session 1 to commit.
Regards
Jonathan Lewis
http://www.jlcomp.demon.co.uk/faq/ind_faq.html The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/seminar.html Optimising Oracle Seminar - schedule updated May 1st
Jonathan,
Wouldn't PK/FK activity result in TM waits, rather than TX waits?
-----Original Message-----
From: oracle-l-bounce_at_freelists.org on behalf of Jonathan Lewis
Sent: Thu 5/27/2004 3:50 PM
To: oracle-l_at_freelists.org
Cc:
Subject: Re: TX locks
Other common causes of TX/4 waits on a TX/6
Bitmap indexes on OLTP tables - with updates to the bitmapped column, or inserts/delete of rows.
Updates colliding on rows in IOTs.
Several variations of pk/fk activity split across two sessions.
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlReceived on Fri May 28 2004 - 01:31:43 CDT
-----------------------------------------------------------------
![]() |
![]() |