Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id C022464FCD7 for ; Thu, 11 Sep 2008 06:29:41 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 55875-10 for ; Thu, 11 Sep 2008 06:29:41 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gattler.pezone.net (eisentraut.org [85.214.91.16]) by postgresql.org (Postfix) with ESMTP id CA99964FCD5 for ; Thu, 11 Sep 2008 06:29:39 -0300 (ADT) Received: from dhcp-eesp05-101-109.Finland.Sun.COM (gmp-ea-fw-1.sun.com [192.18.1.36]) by gattler.pezone.net (Postfix) with ESMTP id 7ABB515F081E; Thu, 11 Sep 2008 09:29:31 +0000 (UTC) Message-ID: <48C8E507.1090100@gmx.net> Date: Thu, 11 Sep 2008 12:29:43 +0300 From: Peter Eisentraut User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Axel Rau CC: PostgreSQL Performance Subject: Re: performance impact of non-C locale References: <47B44B1F-2DE2-4E7F-97C6-1599510AD8F1@Chaos1.DE> In-Reply-To: <47B44B1F-2DE2-4E7F-97C6-1599510AD8F1@Chaos1.DE> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200809/131 X-Sequence-Number: 31444 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.