Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id D051F9F9F16 for ; Mon, 27 Aug 2007 09:52:34 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 82529-06 for ; Mon, 27 Aug 2007 09:52:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail.rentalia.com (mail.rentalia.com [213.192.209.8]) by postgresql.org (Postfix) with ESMTP id 737659F9F13 for ; Mon, 27 Aug 2007 09:52:30 -0300 (ADT) Received: (qmail 26617 invoked by uid 509); 27 Aug 2007 14:52:28 +0200 Received: from 212.145.220.117 by nemo (envelope-from , uid 507) with qmail-scanner-1.25-st-qms (clamdscan: 0.88.7/2476. spamassassin: 3.0.6. perlscan: 1.25-st-qms. Clear:RC:0(212.145.220.117):SA:0(-2.6/5.0):. Processed in 0.300197 secs); 27 Aug 2007 12:52:28 -0000 X-Antivirus-MYDOMAIN-Mail-From: ruben@rentalia.com via nemo X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:0(212.145.220.117):SA:0(-2.6/5.0):. Processed in 0.300197 secs Process 26608) Received: from pooladsl-a-29-117.ipcom.comunitel.net (HELO ?192.168.2.48?) (ruben@rentalia.com@212.145.220.117) by mail.rentalia.com with SMTP; 27 Aug 2007 14:52:27 +0200 Message-ID: <46D2C906.5030403@rentalia.com> Date: Mon, 27 Aug 2007 14:52:22 +0200 From: ruben@rentalia.com Reply-To: ruben@rentalia.com User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: Chris Mair CC: pgsql-performance@postgresql.org Subject: Re: Postgres performance problem References: <46D2B879.6010308@rentalia.com> <46D2C4AF.8090501@1006.org> In-Reply-To: <46D2C4AF.8090501@1006.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/319 X-Sequence-Number: 26449 SO: CentOS release 4.3 (Final) (kernel: 2.6.9-34.0.1.ELsmp) Postgres: 8.1.3 I had some problems before with autovacuum. So, Each day I crontab execute: vacuumdb -f -v --analyze reindex database vacadb I saw logs (the output of vacuum and reindex) and there is no errors. If u need more info, I ll be pleased to tell it here ... Chris Mair escribió: >> 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. > > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq > >