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 4D7D09FB226 for ; Mon, 18 Sep 2006 12:49:08 -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 51467-04 for ; Mon, 18 Sep 2006 12:48:56 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.226]) by postgresql.org (Postfix) with ESMTP id 0EA949FB2D8 for ; Mon, 18 Sep 2006 12:48:55 -0300 (ADT) Received: by wr-out-0506.google.com with SMTP id 55so1322432wri for ; Mon, 18 Sep 2006 08:48:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XvUQZxjtUwwTzXSmQnADTiIxbKNLPwNQf1GyV7kfH7Hk6TVTqZ2ET+wUZ1t0cr0wSJnh9Cx1ryCWcXBjftCQUgRiz3fJJW8uS5YRV35NbsPIN/qMdv6H0eHRqwPB2qtolLSIfsYT/MnwoOaH14R3lO1DY/OJWVMxMMPbgj55Y6I= Received: by 10.90.83.14 with SMTP id g14mr4623596agb; Mon, 18 Sep 2006 08:48:54 -0700 (PDT) Received: by 10.90.36.2 with HTTP; Mon, 18 Sep 2006 08:48:53 -0700 (PDT) Message-ID: <1d4e0c10609180848u153c8c20n3858a559b43a3146@mail.gmail.com> Date: Mon, 18 Sep 2006 17:48:53 +0200 From: "Guillaume Smet" To: "=?ISO-8859-1?Q?J=E9r=F4me_BENOIS?=" Subject: Re: High CPU Load Cc: pgsql-performance@postgresql.org In-Reply-To: <1158589852.5665.57.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <004001c6d80e$bdef5bc0$8300a8c0@tridecap.com> <1158249411.24726.17.camel@state.g2switchworks.com> <1158268058.5167.2.camel@localhost.localdomain> <1d4e0c10609141422o57ecf28eobf3d0b7594bb242f@mail.gmail.com> <1158270523.5167.18.camel@localhost.localdomain> <1d4e0c10609141524j3532e140i308111908c1ab437@mail.gmail.com> <1158589852.5665.57.camel@localhost.localdomain> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.085 tagged_above=0 required=5 tests=AWL, SPF_PASS X-Spam-Level: X-Archive-Number: 200609/231 X-Sequence-Number: 20917 On 9/18/06, J=E9r=F4me BENOIS wrote: > Tomorrow morning i plan to add 2Go RAM in order to test differenc= e with > my actual config. I don't think more RAM will change anything if you don't swap at all. You can try to set shared_buffers lower (try 32768 and 16384) but I don't think it will change anything in 8.1. The only thing left IMHO is that 8.1 is choosing a bad plan which consumes a lot of CPU for at least a query. When you analyze your logs, did you see a particularly slow query? Can you compare query log analysis from your old server and your new one? -- Guillaume