From oracle-l-bounce@freelists.org Thu Jan 20 08:33:31 2005 Return-Path: Received: from air891.startdedicated.com (root@localhost) by orafaq.com (8.12.10/8.12.10) with ESMTP id j0KEXVRO009099 for ; Thu, 20 Jan 2005 08:33:31 -0600 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j0KEXVxu009095 for ; Thu, 20 Jan 2005 08:33:31 -0600 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 62F5E72C380; Thu, 20 Jan 2005 08:32:50 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08826-100; Thu, 20 Jan 2005 08:32:50 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 133C872C678; Thu, 20 Jan 2005 08:32:45 -0500 (EST) Subject: Re: question re sqlldr direct load From: "Mark J. Bobak" To: jdunn@sefas.com Cc: Oracle-L Mailing List In-Reply-To: <000b01c4feda$ba056d60$3e04050a@johnman> References: <000b01c4feda$ba056d60$3e04050a@johnman> Content-type: text/plain Organization: MJB Consulting Message-Id: <1106227858.17052.34.camel@bobak.net> Mime-Version: 1.0 Date: Thu, 20 Jan 2005 08:30:58 -0500 Content-Transfer-Encoding: 8bit X-archive-position: 14988 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: mark@bobak.net Precedence: normal Reply-To: mark@bobak.net X-list: oracle-l X-Virus-Scanned: by amavisd-new at freelists.org X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=ham version=2.60 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on air891.startdedicated.com John, Direct load takes a TM enqueue on the table in e'X'clusive mode. This effectively blocks all other DML (and DDL, for that matter) against this table. Non-direct DML takes a TM enqueue in 'S'hared mode, which will queue behind the 'X' mode lock taken by the direct load. Selects, however, will not be affected. -Mark On Thu, 2005-01-20 at 05:28, John Dunn wrote: > As I understand it direct load requires exclusive access to the table. > > What happens if someone tries to do a select or delete on the table whilst > the load is in progress? > Presumably they will just wait for the lock to be released? > > John > > > -- > http://www.freelists.org/webpage/oracle-l -- Mark J. Bobak mark@bobak.net "Science is the belief in the ignorance of experts." --Richard P. Feynman -- http://www.freelists.org/webpage/oracle-l