From: Elliott Bennett <pgmail@dhtns.com>
To: pgsql-performance@postgresql.org
Subject: Re: select distinct on varchar - wild performance differences!
Date: Thu, 23 Jun 2005 13:09:07 -0400
Message-ID: <20050623170907.GA32134@turing.dhtns.com> (raw)
In-Reply-To: <5595.1119540895@sss.pgh.pa.us>
References: <20050623150945.GA31186@turing.dhtns.com>
<5595.1119540895@sss.pgh.pa.us>
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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: pgmail@dhtns.com
Subject: Re: select distinct on varchar - wild performance differences!
In-Reply-To: <20050623170907.GA32134@turing.dhtns.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox