pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew Wakeling <matthew@flymine.org>
To: pgsql-performance@postgresql.org
Subject: Re: slow update of index during insert/copy
Date: Tue, 2 Sep 2008 13:29:08 +0100 (BST)
Message-ID: <alpine.DEB.1.10.0809021324530.4454@aragorn.flymine.org> (raw)
In-Reply-To: <a1ec7d000809011146x456b942eof33627c63f8a021a@mail.gmail.com>
References: <48BA9D65.2020001@ifi.uio.no>
	<48BB4A2D.9080404@postnewspapers.com.au>
	<48BBD22E.4090308@ifi.uio.no>
	<dcc563d10809011051s558f8a7bp5beb0dbe181721e4@mail.gmail.com>
	<a1ec7d000809011146x456b942eof33627c63f8a021a@mail.gmail.com>

On Mon, 1 Sep 2008, Scott Carey wrote:
> Thanks for the info on the patch to support it -- however the versions 
> posted there are rather old...

Over here, we're using an extremely old patched version of the JDBC 
driver. That's the patch I sent to some mailing list a couple of years 
ago. It works very well, but I would be very eager to see the COPY support 
make it to the mainstream driver with a consistent interface.

> On the performance impact of using COPY instead of INSERT.

Over here, we use the binary form of COPY, and it is *really* fast. It's 
quite easy to saturate the discs.

Matthew

-- 
Contrary to popular belief, Unix is user friendly. It just happens to be
very selective about who its friends are.                 -- Kyle Hearn



view thread (22+ messages)  latest in thread

Message-ID: <alpine.DEB.1.10.0809021324530.4454@aragorn.flymine.org>
Permalink:  ../alpine.DEB.1.10.0809021324530.4454@aragorn.flymine.org/
Also on:    postgresql.org/message-id/alpine.DEB.1.10.0809021324530.4454@aragorn.flymine.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: matthew@flymine.org
  Subject: Re: slow update of index during insert/copy
  In-Reply-To: <alpine.DEB.1.10.0809021324530.4454@aragorn.flymine.org>
  References: <48BA9D65.2020001@ifi.uio.no> <48BB4A2D.9080404@postnewspapers.com.au> <48BBD22E.4090308@ifi.uio.no> <dcc563d10809011051s558f8a7bp5beb0dbe181721e4@mail.gmail.com> <a1ec7d000809011146x456b942eof33627c63f8a021a@mail.gmail.com> <alpine.DEB.1.10.0809021324530.4454@aragorn.flymine.org>

* 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