X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 53E9C9FB232 for ; Thu, 14 Sep 2006 18:14:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 67658-06 for ; Thu, 14 Sep 2006 18:14:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id EC7F19FA15C for ; Thu, 14 Sep 2006 18:14:30 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k8ELEQFH009833; Thu, 14 Sep 2006 17:14:26 -0400 (EDT) To: =?ISO-8859-1?Q?J=E9r=F4me?= BENOIS cc: Scott Marlowe , Dave Dutcher , pgsql-performance@postgresql.org Subject: Re: High CPU Load In-reply-to: <1158268058.5167.2.camel@localhost.localdomain> References: <004001c6d80e$bdef5bc0$8300a8c0@tridecap.com> <1158249411.24726.17.camel@state.g2switchworks.com> <1158268058.5167.2.camel@localhost.localdomain> Comments: In-reply-to =?ISO-8859-1?Q?J=E9r=F4me?= BENOIS message dated "Thu, 14 Sep 2006 23:07:37 +0200" Date: Thu, 14 Sep 2006 17:14:26 -0400 Message-ID: <9832.1158268466@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.107 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200609/173 X-Sequence-Number: 20859 =?ISO-8859-1?Q?J=E9r=F4me?= BENOIS writes: > Le jeudi 14 septembre 2006 =C3=A0 10:56 -0500, Scott Marlowe a =C3=A9crit : >> I'm gonna make a SWAG here and guess that maybe your 7.4 db was initdb'd >> with a locale of C and the new one is initdb'd with a real locale, like >> en_US. Can J=C3=A9r=C3=B4me confirm or deny this? > The locale used to run initdb is : > su - postgres > :~$ locale > LANG=POSIX It'd be more convincing if "show lc_collate" etc. display C or POSIX. The fact that postgres' current default environment is LANG=POSIX doesn't prove much about what initdb saw. regards, tom lane