Re: BUG #2784: Performance serious degrades over a period of a month

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Michael Simms" <michael@tuxgames.com>
Cc: pgsql-bugs@postgresql.org
Date: 2006-11-28T02:59:06Z
Lists: pgsql-bugs, pgsql-performance
"Michael Simms" <michael@tuxgames.com> writes:
> OK, we have a database that runs perfectly well after a dump and restore,
> but over a period of a month or two, it just degrades to the point of
> uselessness.
> vacuumdb -a is run every 24 hours. We have also run for months at a time
> using -a -z but the effect doesnt change.

You probably need significantly-more-frequent vacuuming.  Have you
considered autovacuum?

This is not a bug --- you'd get better help on the pgsql-performance
mailing list.

			regards, tom lane