Re: performance impact of non-C locale - Mailing list pgsql-performance

From Peter Eisentraut
Subject Re: performance impact of non-C locale
Date
Msg-id 48C8E507.1090100@gmx.net
Whole thread Raw
In response to performance impact of non-C locale  (Axel Rau <Axel.Rau@chaos1.de>)
Responses Re: performance impact of non-C locale  (Axel Rau <Axel.Rau@chaos1.de>)
List pgsql-performance
Axel Rau wrote:
> some erp software requires a change of my pgsql cluster from
>     locale C        encoding UTF-8
> to
>     locale de_DE.UTF-8    encoding UTF-8
>
> Most of my databases have only ASCII text data (8 bit UTF8 code range)
> in the text columns.
> Does the above change influence index performance on such columns?

Yes.

> Does postmaster keep track on any multibyte characters being inserted in
> such columns, so that the planner can adapt?

No.

> What other performance impacts can be expected?

The performance impact is mainly with string comparisons and sorts.  I
suggest you run your own tests to find out what is acceptable in your
scenario.

pgsql-performance by date:

Previous
From: Greg Smith
Date:
Subject: Re: Effects of setting linux block device readahead size
Next
From: Axel Rau
Date:
Subject: Re: performance impact of non-C locale