Re: BUG #2784: Performance serious degrades over a period of a month - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2784: Performance serious degrades over a period of a month
Date
Msg-id 27598.1164682746@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2784: Performance serious degrades over a period of a month  ("Michael Simms" <michael@tuxgames.com>)
List pgsql-bugs
"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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2781: database dump/restore problems
Next
From: Tom Lane
Date:
Subject: Re: BUG #2782: Too Many open files in system