"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