Re: COPY FROM STDIN instead of INSERT - Mailing list pgsql-general

From Merlin Moncure
Subject Re: COPY FROM STDIN instead of INSERT
Date
Msg-id b42b73150610180603t25722b99sa5c32fc4effec518@mail.gmail.com
Whole thread Raw
In response to Re: COPY FROM STDIN instead of INSERT  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: COPY FROM STDIN instead of INSERT  (Ron Johnson <ron.l.johnson@cox.net>)
List pgsql-general
On 10/18/06, Martijn van Oosterhout <kleptog@svana.org> wrote:
> Binary may be slightly faster because the datum parsing can be
> partially skipped, but that's hardly much benefit over a text copy.

I tested binary quite a bit and only found it to be a win if moving
blobs in and out of the database.  On 'normal' tables of mixed fields
types of small size, it can actually be slower.  Binary is a bit
faster for native types and bytea, and slower for character types.

merlin

pgsql-general by date:

Previous
From: "Ilja Golshtein"
Date:
Subject: Re: COPY FROM STDIN instead of INSERT
Next
From: "Merlin Moncure"
Date:
Subject: Re: COPY FROM STDIN instead of INSERT