Re: batch inserts are "slow"

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, Markus Schaber <schabi(at)logix-tt(dot)com>, David Parker <dparker(at)tazznetworks(dot)com>, 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 19:58:59
Message-ID: 4277D803.6060902@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Kris is correct,

This code was not added or even submitted to CVS. The purpose of this
was to work
out the bugs with people who are actually using copy.

The api is a separate issue however. There's no reason that copy can't
support more
than one api.

Dave

Kris Jurka wrote:

>On Tue, 3 May 2005, Josh Berkus wrote:
>
>
>
>>>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.
>>>
>>>
>>FWIW, Dave Cramer just added beta COPY capability to JDBC. Contact him on
>>the JDBC list for details; I think he needs testers.
>>
>>
>>
>
>I believe Dave has remerged a patch for COPY I posted over a year ago, but
>he has not yet published it. I would guess it has the same bugs as the
>original (transaction + error handling) and will meet the same objections
>that kept the original patch out of the driver in the first place (we want
>a friendlier API than just a data stream).
>
>Kris Jurka
>
>---------------------------(end of broadcast)---------------------------
>TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match
>
>
>
>

--
Dave Cramer
http://www.postgresintl.com
519 939 0336
ICQ#14675561

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Mischa Sandberg 2005-05-03 21:33:10 Re: [PERFORM] Bad n_distinct estimation; hacks suggested?
Previous Message Christopher Petrilli 2005-05-03 19:17:20 Re: batch inserts are "slow"