From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Boes <jboes@nexcerpt.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Still confused about VACUUM vs. VACUUM FULL
Date: Thu, 12 Jun 2003 13:16:07 -0400
Message-ID: <18292.1055438167@sss.pgh.pa.us> (raw)
In-Reply-To: <1055436783.27087.38.camel@takin.private.nexcerpt.com>
References: <1055434723.27087.23.camel@takin.private.nexcerpt.com>
<16631.1055436156@sss.pgh.pa.us>
<1055436783.27087.38.camel@takin.private.nexcerpt.com>
Jeff Boes <jboes@nexcerpt.com> writes:
> On Thu, 2003-06-12 at 12:42, Tom Lane wrote:
>> How often do you VACUUM?
> We've gone from daily, to twice daily, to several times during the "peak
> updates" period, and back to twice daily.
I suspect that the real problem here is the old open transactions
discussed in your other message. Those are preventing VACUUM from
reclaiming space. Now that you've got that fixed, you need to revisit
your experiments about how often to VACUUM.
> We're also ANALYZE-ing the largest 12-18 tables on a cycle: every twenty
> minutes, a daemon wakes up and ANALYZEs until they're all done or two
> minutes has elapsed, whichever comes first.
That sounds a tad excessive; are the statistics really changing that
fast?
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, jboes@nexcerpt.com
Subject: Re: Still confused about VACUUM vs. VACUUM FULL
In-Reply-To: <18292.1055438167@sss.pgh.pa.us>
References: <1055434723.27087.23.camel@takin.private.nexcerpt.com> <16631.1055436156@sss.pgh.pa.us> <1055436783.27087.38.camel@takin.private.nexcerpt.com> <18292.1055438167@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