From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Cc: Michael G. Martin <michael@vpmonline.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgres performance slowly gets worse over a month
Date: Fri, 26 Jul 2002 11:35:38 -0400
Message-ID: <25769.1027697738@sss.pgh.pa.us> (raw)
In-Reply-To: <20020726144537.92735.qmail@web20002.mail.yahoo.com>
References: <20020726144537.92735.qmail@web20002.mail.yahoo.com>
Joshua Daniel Franklin <joshuadfranklin@yahoo.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, joshuadfranklin@yahoo.com, michael@vpmonline.com
Subject: Re: Postgres performance slowly gets worse over a month
In-Reply-To: <25769.1027697738@sss.pgh.pa.us>
References: <20020726144537.92735.qmail@web20002.mail.yahoo.com> <25769.1027697738@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox