Re: batch inserts are "slow" - Mailing list pgsql-performance

From Markus Schaber
Subject Re: batch inserts are "slow"
Date
Msg-id 42778D6E.4030401@logix-tt.com
Whole thread Raw
In response to Re: batch inserts are "slow"  ("David Parker" <dparker@tazznetworks.com>)
Responses Re: batch inserts are "slow"
Testing list access
List 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


pgsql-performance by date:

Previous
From: Markus Schaber
Date:
Subject: Re: [HACKERS] Bad n_distinct estimation; hacks suggested?
Next
From: Ashish Arte
Date:
Subject: Foreign key constraints compile faster in 7.4