Re: select distinct on varchar - wild performance differences! - Mailing list pgsql-performance

From Elliott Bennett
Subject Re: select distinct on varchar - wild performance differences!
Date
Msg-id 20050623170907.GA32134@turing.dhtns.com
Whole thread Raw
In response to Re: select distinct on varchar - wild performance differences!  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
hah!  That did it.  Setting to 'C' makes it just as fast as the other
machines.  I think it defaulted to en_US...

Thanks!

-Elliott

On Thu, Jun 23, 2005 at 11:34:55AM -0400, Tom Lane wrote:
> Elliott Bennett <pgmail@dhtns.com> writes:
> > Anyone have any ideas as to what may be up with machine B?
>
> Different locale setting?  strcoll() can be horribly slow in some
> locales ...
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>

pgsql-performance by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Performance Tuning Article
Next
From: Tom Lane
Date:
Subject: Re: Performance Tuning Article