Re: COPY FROM STDIN instead of INSERT

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>, "Ilja Golshtein" <ilejn(at)yandex(dot)ru>, pgsql-general(at)postgresql(dot)org, pgsql(at)007marketing(dot)comp(dot)yandex(dot)ru
Subject: Re: COPY FROM STDIN instead of INSERT
Date: 2006-10-18 13:03:45
Message-ID: b42b73150610180603t25722b99sa5c32fc4effec518@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/18/06, Martijn van Oosterhout <kleptog(at)svana(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2006-10-18 13:12:49 Re: COPY FROM STDIN instead of INSERT
Previous Message Ilja Golshtein 2006-10-18 12:46:11 Re: COPY FROM STDIN instead of INSERT