Re: More thoughts on sorting

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: PFC <lists(at)peufeu(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: More thoughts on sorting
Date: 2009-07-31 13:51:57
Message-ID: 18412.1249048317@sss.pgh.pa.us
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2009-07-31 15:09:50 Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT
Previous Message Stephen Frost 2009-07-31 12:57:33 Re: SE-PostgreSQL Specifications