X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4DD1CD1B181 for ; Mon, 7 Jun 2004 18:59:14 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 55874-09 for ; Mon, 7 Jun 2004 21:59:15 +0000 (GMT) Received: from mail63.csoft.net (unknown [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 368F7D1B1EC for ; Mon, 7 Jun 2004 18:59:07 -0300 (ADT) Received: (qmail 29494 invoked by uid 1112); 7 Jun 2004 21:38:02 -0000 Date: Mon, 7 Jun 2004 16:38:01 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Steve Wampler Cc: Postgres-JDBC , Postgres-performance Subject: Re: [PERFORM] Using a COPY...FROM through JDBC? In-Reply-To: <1086630056.25790.17.camel@weaver.tuc.noao.edu> Message-ID: References: <1086466349.29063.76.camel@weaver.tuc.noao.edu> <1086630056.25790.17.camel@weaver.tuc.noao.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/38 X-Sequence-Number: 10240 On Mon, 7 Jun 2004, Steve Wampler wrote: > I do have a little concern about what's happening in the > back end during the copy - I suspect the entire table is > locked, which may impact the performance when multiple > clients are saving entries into the table. Anyone know > if that's how COPY works? (For that matter, would that > also be true of a transaction consisting of a set of > inserts?) > The table is not locked in either the copy or the insert case. Kris Jurka