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 93C8ED1DC2D for ; Sun, 28 Mar 2004 19:25:12 +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 33515-10 for ; Sun, 28 Mar 2004 15:25:11 -0400 (AST) Received: from davinci.ethosmedia.com (server228.ethosmedia.com [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id 58B91D1D9E6 for ; Sun, 28 Mar 2004 15:25:09 -0400 (AST) Received: from [63.195.55.98] (HELO spooky) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 4720599; Sun, 28 Mar 2004 11:26:29 -0800 Content-Type: text/plain; charset="iso-8859-1" From: Josh Berkus Organization: Aglio Database Solutions To: "Marcus Andree S. Magalhaes" , Subject: Re: postgres eating CPU on HP9000 Date: Sun, 28 Mar 2004 11:24:43 -0800 User-Agent: KMail/1.4.3 Cc: , References: <62945.200.174.148.100.1080383917.squirrel@webmail.webnow.com.br> In-Reply-To: <62945.200.174.148.100.1080383917.squirrel@webmail.webnow.com.br> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200403281124.43275.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/401 X-Sequence-Number: 6257 Marcus, > We are experiencing exactly the same problem here, and we use 7.4 on > Linux/i386 SMP (2 processors). Our databases does even more access: > about 30k selects per hour, 10k updates and inserts per hour > > Vacuum analyze is done daily. What is your max_fsm_pages setting? If you are getting 10,000 updates per hour, daily VACUUM ANALYZE may not be enough. Also do you run VACUUM ANALYZE as a superuser, or as a regular user? -- Josh Berkus Aglio Database Solutions San Francisco