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 79CFC9FB249 for ; Thu, 14 Sep 2006 18:23:00 -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 64801-10 for ; Thu, 14 Sep 2006 18:22:39 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by postgresql.org (Postfix) with ESMTP id CA4709FA15C for ; Thu, 14 Sep 2006 18:22:52 -0300 (ADT) Received: by wr-out-0506.google.com with SMTP id 55so1087135wri for ; Thu, 14 Sep 2006 14:22:48 -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=OsgM0EHu9SoR05VexrCTKqp0b1TphiUpZXBJ8ujZokaFLA2PcYr+t9Pu5BotThWEcpugLLqPo2NjsG4r0cI56SpNNxabCBbmdQ/R0ujXvvqmMZX3Frd9yqH/ymiHF1K6mrUPSxeoU8RI1YqxdWw7m+fSp7AAGjAycX+opeFlJPc= Received: by 10.90.100.2 with SMTP id x2mr3529188agb; Thu, 14 Sep 2006 14:22:48 -0700 (PDT) Received: by 10.90.36.2 with HTTP; Thu, 14 Sep 2006 14:22:48 -0700 (PDT) Message-ID: <1d4e0c10609141422o57ecf28eobf3d0b7594bb242f@mail.gmail.com> Date: Thu, 14 Sep 2006 23:22:48 +0200 From: "Guillaume Smet" To: "=?ISO-8859-1?Q?J=E9r=F4me_BENOIS?=" Subject: Re: High CPU Load Cc: "Scott Marlowe" , "Dave Dutcher" , pgsql-performance@postgresql.org In-Reply-To: <1158268058.5167.2.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> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.184 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, SPF_PASS X-Spam-Level: X-Archive-Number: 200609/174 X-Sequence-Number: 20860 J=E9r=F4me, Perhaps it's a stupid question but are your queries slower than before? You didn't tell it. IMHO, it's not a problem to have a high load if you have a lot of users and your queries are fast (and with 8.1, they should be far faster than before). To take a real example, we had a problem with a quad xeon running postgres 7.4 and even when there were a lot of queries, the load was always lower than 4 and suddenly the queries were really slow and the database was completely unusable. When we upgraded to 8.1, on very high load, we had a far higher cpu load but queries were far faster even with a high cpu load. Considering your top output, I suspect you use HT and you should really remove it if it's the case. -- Guillaume