Skip site navigation (1) Skip section navigation (2)

Re: Performance Problem

From: Harald Fuchs <hf517(at)protecting(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Performance Problem
Date: 2004-05-31 10:41:07
Message-ID: pufz9gg9q4.fsf@srv.protecting.net (view raw or flat)
Thread:
Lists: pgsql-admin
In article <s0b610a3(dot)089(at)uk(dot)aeat(dot)com>,
"Frank Smith" <frank(dot)smith(at)aeat(dot)co(dot)uk> writes:

> Hi
> ID:77777

> I am running PostgreSQL 7.2.2 on Red Hat 9 and I am suffering a growing
> performance problem. The problem shows through a slowing of queries and
> an increase in the system CPU usage. Queries that took less than 6
> seconds clime to take more than 5 minutes and as the system is driven by
> Apache through Perl scripts, the web server times out. Clearly I could
> reset the Apache timers, however this would just hide the problem for a
> little longer and of course once the problem starts to happen the system
> tends to cascade because the users try again and the orphaned processes
> continue to use processor time until they complete.

> I use Cron to 'VACUUM ANALIZE' the system every night and this greatly
> improved the performance but has not stopped the delay from growing. The
> strange thing is that apart from the delay everything seems fine.

If VACUUM does not stop the delay from growing, you might be suffering
index bloat.  Either REINDEX by crontab, or upgrade to 7.4, where
VACUUM seems to take care of that.


In response to

pgsql-admin by date

Next:From: Artur PDate: 2004-05-31 11:10:42
Subject: Re: [admin]@postgresql.org pg_database contents ... what happens
Previous:From: Bruno Wolff IIIDate: 2004-05-31 09:15:03
Subject: Re: Hot backup

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group