X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 470F53A43C0 for ; Thu, 11 Nov 2004 21:11:08 +0000 (GMT) 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 43957-02 for ; Thu, 11 Nov 2004 21:10:57 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by svr1.postgresql.org (Postfix) with ESMTP id 033F63A43A5 for ; Thu, 11 Nov 2004 21:10:58 +0000 (GMT) Received: by rproxy.gmail.com with SMTP id a36so361657rnf for ; Thu, 11 Nov 2004 13:10:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ug2xnrEpLqKt4L+k2OcRs01EfANsl9VK+eshRiTEaAhhiAI64XdCUDdlsEMHIWybfJ/Z618J0P+/i+hHbjRnncfDV/Ne/tvqqnAzZNLodWjIi3hH3jYywUi9pXVjWUIOh3Uk+PJVYg0TMrl8ctczZnIeGAlaTeGvzlr4Wqt02o4= Received: by 10.38.79.69 with SMTP id c69mr1085077rnb; Thu, 11 Nov 2004 13:10:57 -0800 (PST) Received: by 10.39.2.50 with HTTP; Thu, 11 Nov 2004 13:10:57 -0800 (PST) Message-ID: <376dd195041111131012d6cb66@mail.gmail.com> Date: Fri, 12 Nov 2004 05:10:57 +0800 From: Edwin Eyan Moragas Reply-To: Edwin Eyan Moragas To: pgsql-performance@postgresql.org Subject: Re: How to speed-up inserts with jdbc In-Reply-To: <20041111100418.GA2116@uio.no> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <003201c4c68e$8d347ee0$a702a8c0@shanepc> <41921CFD.7060604@webde-ag.de> <376dd19504111100044aa0ca1e@mail.gmail.com> <20041111100418.GA2116@uio.no> 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: 200411/187 X-Sequence-Number: 9141 On Thu, 11 Nov 2004 11:04:18 +0100, Steinar H. Gunderson wrote: > You don't even need a "BEGIN" and "END"; his code has a setAutoComit(true) > before the for loop, which just has to be changed to setAutoCommit(false) > (and add an explicit commit() after the for loop, of course). amen. i stand corrected. -eem