Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Causes of CF (Control file) Enqueues on Index Creation?
Ah, that's very interesting. I can't imagine why the parallel dml would lock the table though.
Alberto Dell'Era <alberto.dellera_at_gmail.com> wrote:
On 9/15/07, David Aldridge wrote:
> There's a fresh complication on this -- there are actually eight
> simultaneous processes inserting into the table, so changing to a direct
> path insert causes a big table locking problem.
An insert /*+ append */ in a partitioned table acquires a mode 6 lock on each partition, even if you insert in only one partition (the process first locks all partitions, then starts inserting). See attached test case (9.2.0.8):
SID TYPE NAME LMODE REQUEST
---------- ------ ------------------------------ ---------- ----------11 TM TABLE PARTITION T P0 6 0
HTH
Alberto
-- Alberto Dell'Era "the more you know, the faster you go" -- http://www.freelists.org/webpage/oracle-lReceived on Sat Sep 15 2007 - 16:05:28 CDT