Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 317229F9E9C for ; Mon, 27 Aug 2007 09:34:03 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 35347-07 for ; Mon, 27 Aug 2007 09:33:52 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from smtp2.hushmail.com (smtp2.hushmail.com [65.39.178.134]) by postgresql.org (Postfix) with ESMTP id 3FBDA9F9EDB for ; Mon, 27 Aug 2007 09:33:57 -0300 (ADT) Received: from smtp2.hushmail.com (localhost [127.0.0.1]) by smtp2.hushmail.com (Postfix) with SMTP id DB36A1704E for ; Mon, 27 Aug 2007 12:33:54 +0000 (UTC) Message-ID: <46D2C4AF.8090501@1006.org> Date: Mon, 27 Aug 2007 14:33:51 +0200 From: Chris Mair MIME-Version: 1.0 To: Ruben Rubio CC: pgsql-performance@postgresql.org Subject: Re: Postgres performance problem References: <46D2B879.6010308@rentalia.com> In-Reply-To: <46D2B879.6010308@rentalia.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/318 X-Sequence-Number: 26448 > Hi, > > Note: I have already vacumm full. It does not solve the problem. > > I have a postgres 8.1 database. In the last days I have half traffic > than 4 weeks ago, and resources usage is twice. The resource monitor > graphs also shows hight peaks (usually there is not peaks) > > The performarce is getting poor with the time. > > Im not able to find the problem, seems there is not slow querys ( I have > log_min_duration_statement = 5000 right now, tomorrow I ll decrease it ) > > Server is HP, and seems there is not hardware problems detected. > > Any ideas to debug it? Hi, first of all: let us know the exact version of PG and the OS. If performance is getting worse, there ususally is some bloat envolved. Not vacuuming aggressivly enough, might be the most common cause. Do you autovacuum or vacuum manually? Tell us more... Bye, Chris.