Re: Sort time - Mailing list pgsql-performance

From pginfo
Subject Re: Sort time
Date
Msg-id 3DD508A1.8DA09511@t1.unisoftbg.com
Whole thread Raw
In response to Re: Sort time  ("scott.marlowe" <scott.marlowe@ihs.com>)
Responses Re: Sort time
List pgsql-performance
Hi Tom,

I use unicode for my db, but the locale is US!
The unicode is only for non english varchar and I do not make any comparation or
sorts or joins based
on non english fields ( all this is made in the client part of the system).

What locale will be fast?
Have you any info about the speed in the faster locale and in INT?

regards.

Tom Lane wrote:

> pginfo <pginfo@t1.unisoftbg.com> writes:
> > It is huge improvement when I sort by INT field, but I need to sort varchar
> > fileds !
>
> What locale are you using?  strcoll() comparisons can be awfully slow in
> some locales.
>
>                         regards, tom lane




pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Sort time
Next
From: Stephan Szabo
Date:
Subject: Re: [GENERAL] Upgrade to dual processor machine?