Re: COPY FROM STDIN instead of INSERT

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Ron Johnson" <ron(dot)l(dot)johnson(at)cox(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: COPY FROM STDIN instead of INSERT
Date: 2006-10-18 14:47:01
Message-ID: b42b73150610180747o277727d5idedd88d6979745bf@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/18/06, Ron Johnson <ron(dot)l(dot)johnson(at)cox(dot)net> wrote:
> > 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.
>
> "native types"?

types operated on directly by the processor. int2, int4, int8, float4,
and float8, and their various aliases :).

in short, i think using binary for anything other than bytea is a
waste of effort/time, except for bytea.

merlin

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brad Nicholson 2006-10-18 14:59:55 Stats Collector Won't Start
Previous Message Ron Johnson 2006-10-18 14:08:28 Re: COPY FROM STDIN instead of INSERT