Re: Postgres performance slowly gets worse over a month

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joshua Daniel Franklin <joshuadfranklin(at)yahoo(dot)com>
Cc: "Michael G(dot) Martin" <michael(at)vpmonline(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgres performance slowly gets worse over a month
Date: 2002-07-26 15:35:38
Message-ID: 25769.1027697738@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Joshua Daniel Franklin <joshuadfranklin(at)yahoo(dot)com> writes:
> Perhaps I wasn't clear. There really aren't any (daily) "no-longer needed
> tuples", just added ones. I am under the impression that vacuum is just for
> freeing up tuples to be re-used, so the only time it needs to be run is after
> the 6-monthly tuple massacre, at which time I would also need to set
> max_fsm_pages to a huge number.

If you do VACUUM FULL after each "tuple massacre" (which you'd better,
since the point AFAICT is to cut the total disk space used by the file)
then there's not really any need for bumping up max_fsm_pages. The
post-vacuum-full state of the table isn't going to have a whole lot
of embedded free space ...

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Michael G. Martin 2002-07-26 15:38:41 Re: Postgres performance slowly gets worse over a month
Previous Message Michael G. Martin 2002-07-26 15:10:55 Re: Postgres performance slowly gets worse over a month