Re: performance impact of non-C locale

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Axel Rau <Axel(dot)Rau(at)chaos1(dot)de>
Cc: PostgreSQL Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: performance impact of non-C locale
Date: 2008-09-11 09:29:43
Message-ID: 48C8E507.1090100@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Axel Rau 2008-09-11 09:57:04 Re: performance impact of non-C locale
Previous Message Greg Smith 2008-09-11 05:56:40 Re: Effects of setting linux block device readahead size