Re: More thoughts on sorting

From: PFC <lists(at)peufeu(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: More thoughts on sorting
Date: 2009-08-01 07:37:11
Message-ID: op.uxy3f9nncigqcu@soyouz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> PFC <lists(at)peufeu(dot)com> writes:
>> - for short strings (average 12 bytes), sort is CPU-bound in strcoll()
>> - for longer strings (average 120 bytes), sort is even more CPU-bound in
>> strcoll()
>
> No news there. If you are limited by the speed of text comparisons,
> consider using C locale.
>
> regards, tom lane
>

Actually, I think (see the bottom of my last email) that this would be a
good argument for the per-column COLLATE patch...

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2009-08-01 11:27:20 Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT
Previous Message Alvaro Herrera 2009-08-01 04:35:07 Re: Filtering dictionaries support and unaccent dictionary