From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Simon Riggs <simon@2ndQuadrant.com>
To: David Ondrejik <David.Ondrejik@noaa.gov>
To: pgsql-admin <pgsql-admin@postgresql.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: vacuumdb question/problem
Date: Fri, 15 Jul 2011 14:17:47 -0500
Message-ID: <4E204C0B020000250003F3AB@gw.wicourts.gov> (raw)
In-Reply-To: <4E208B57.6010401@noaa.gov>
References: <4E206658.4040600@noaa.gov>
<CA+U5nMLRcZRceB9FMeJBJN3fPyqNeGmEapzSXS3h=omPyntJeg@mail.gmail.com>
<3239.1310749967@sss.pgh.pa.us>
<4E208B57.6010401@noaa.gov>
David Ondrejik <David.Ondrejik@noaa.gov> wrote:
> So I had to kill my process, recover disk space and get the
> machine back in working condition for the weekend. I guess I will
> attempt to do the full vacuum again next week.
Why do you think that you need a VACUUM FULL? That is only needed
as an extreme measure in rather unusual circumstances. We run
hundreds of PostgreSQL databases, and have not used VACUUM FULL for
years. On the other hand, we VACUUM ANALYZE most databases in their
entirety every night. (Be very careful not to confuse VACUUM FULL
with vacuum of an entire database.)
On the other hand, the failed attempt at VACUUM FULL may have
bloated your indexes, so you might want to REINDEX the table next
week, followed by a VACUUM ANALYZE (without the FULL).
-Kevin
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: Kevin.Grittner@wicourts.gov, simon@2ndQuadrant.com, David.Ondrejik@noaa.gov, tgl@sss.pgh.pa.us
Subject: Re: vacuumdb question/problem
In-Reply-To: <4E204C0B020000250003F3AB@gw.wicourts.gov>
References: <4E206658.4040600@noaa.gov> <CA+U5nMLRcZRceB9FMeJBJN3fPyqNeGmEapzSXS3h=omPyntJeg@mail.gmail.com> <3239.1310749967@sss.pgh.pa.us> <4E208B57.6010401@noaa.gov> <4E204C0B020000250003F3AB@gw.wicourts.gov>
* 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