pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Edwin Eyan Moragas <haaktu@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: How to speed-up inserts with jdbc
Date: Fri, 12 Nov 2004 05:10:57 +0800
Message-ID: <376dd195041111131012d6cb66@mail.gmail.com> (raw)
In-Reply-To: <20041111100418.GA2116@uio.no>
References: <003201c4c68e$8d347ee0$a702a8c0@shanepc>
	<FF2CC26B-3318-11D9-9406-000D9366F0C4@torgo.978.org>
	<41921CFD.7060604@webde-ag.de>
	<376dd19504111100044aa0ca1e@mail.gmail.com>
	<20041111100418.GA2116@uio.no>

On Thu, 11 Nov 2004 11:04:18 +0100, Steinar H. Gunderson
<sgunderson@bigfoot.com> 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



view thread (7+ messages)

Message-ID: <376dd195041111131012d6cb66@mail.gmail.com>
Permalink:  ../376dd195041111131012d6cb66@mail.gmail.com/
Also on:    postgresql.org/message-id/376dd195041111131012d6cb66@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: haaktu@gmail.com
  Subject: Re: How to speed-up inserts with jdbc
  In-Reply-To: <376dd195041111131012d6cb66@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox