X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id DB1CBD1EBFE for ; Sat, 27 Mar 2004 00:26:35 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 40754-10 for ; Fri, 26 Mar 2004 20:26:42 -0400 (AST) Received: from davinci.ethosmedia.com (server228.ethosmedia.com [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id 7C3D7D1EBD3 for ; Fri, 26 Mar 2004 20:26:33 -0400 (AST) Received: from [63.195.55.98] (HELO 192.168.1.29) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 4705906; Fri, 26 Mar 2004 16:28:00 -0800 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Fabio Esposito Subject: Re: postgres eating CPU on HP9000 Date: Fri, 26 Mar 2004 16:26:02 -0800 User-Agent: KMail/1.5.4 Cc: pgsql-performance@postgresql.org References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200403261626.02845.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/393 X-Sequence-Number: 6249 Fabio, > I'll have to get back to you on that, but I'm 90% sure its the default out > of the box. Raise it, a lot. Perhaps to 30,000 or 50,000. VACUUM VERBOSE ANALYZE should show you how many data pages are being reclaimed between vacuums. Because of your very high rate of updates and deletes, you need to hold a lot of data pages open. You would also benefit a great deal by upgrading to 7.4. 7.3 will require you to to REINDEXes several times a day with your current setup; 7.4 will not. -- -Josh Berkus Aglio Database Solutions San Francisco