Re: batch inserts are "slow"

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: David Parker <dparker(at)tazznetworks(dot)com>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, tim(at)se(dot)linux(dot)org, pgsql-performance(at)postgresql(dot)org
Subject: Re: batch inserts are "slow"
Date: 2005-05-03 14:40:46
Message-ID: 42778D6E.4030401@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi, all,

David Parker wrote:
> We ran into the need to use COPY, but our application is also in Java.
> We wrote a JNI bridge to a C++ routine that uses the libpq library to do
> the COPY. The coding is a little bit weird, but not too complicated -
> the biggest pain in the neck is probably getting it into your build
> system.

There are several hacks floating around that add COPY capabilities to
the pgjdbc driver. As they all are rather simple hacks, they have not
been included in the cvs yet, but they tend to work fine.

Markus

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Ashish Arte 2005-05-03 15:11:23 Foreign key constraints compile faster in 7.4
Previous Message Markus Schaber 2005-05-03 13:06:23 Re: [PERFORM] Bad n_distinct estimation; hacks suggested?