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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Michael Simms" <michael(at)tuxgames(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2784: Performance serious degrades over a period of a month
Date: 2006-11-28 02:59:06
Message-ID: 27598.1164682746@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-performance

"Michael Simms" <michael(at)tuxgames(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2006-11-28 03:01:06 Re: BUG #2782: Too Many open files in system
Previous Message Tom Lane 2006-11-28 02:56:50 Re: BUG #2781: database dump/restore problems

Browse pgsql-performance by date

  From Date Subject
Next Message Bruno Wolff III 2006-11-28 04:26:27 Re: BUG #2784: Performance serious degrades over a period of a month
Previous Message Kevin Grittner 2006-11-27 18:59:48 Re: When to vacuum a table?