Re: psql copy command - 1 char limitation on delimiter

From: rey <reywang(at)optonline(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: psql copy command - 1 char limitation on delimiter
Date: 2010-09-25 19:12:55
Message-ID: 4C9E49B7.6050005@optonline.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/25/2010 10:03 AM, Tom Lane wrote:
> rey<reywang(at)optonline(dot)net> writes:
>
>> Why limit this to a single character?
>>
> Performance. Believe it or not, breaking fields at the delimiter is
> a significant factor in COPY speed.
>
> regards, tom lane
>
>
True, but just for 5% to 10% degradation here.
For RDBMS, correct indexes and good logical design we are talking about
10 times or more performance gains.

Who cares about 10% waste here? Is it Oracle and other commercial RDBMS
no such limitation.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jason Long 2010-09-25 20:34:21 Streaming Replication
Previous Message Tom Lane 2010-09-25 18:40:54 Re: pg 8.4 crashing.