From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Craig James <cjames@emolecules.com>
To: pgsql-performance@postgresql.org
Subject: Re: auto-vacuum vs. full table update
Date: Thu, 26 Apr 2012 15:11:07 -0500
Message-ID: <4F99658B0200002500047411@gw.wicourts.gov> (raw)
In-Reply-To: <CAFwQ8rd6G0r5oTTo=S=ONTHD797O_9NQLbAybTurPZE3i5ob5g@mail.gmail.com>
References: <CAFwQ8rd6G0r5oTTo=S=ONTHD797O_9NQLbAybTurPZE3i5ob5g@mail.gmail.com>
Craig James <cjames@emolecules.com> wrote:
> An update to our system means I'm going to be rewriting every row
> of some large tables (20 million rows by 15 columns). In a
> situation like this, can auto-vacuum take care of it, or should I
> plan on vacuum-full/reindex to clean up?
>
> This is 8.4.4.
If there is any way for you to update in "chunks", with a vacuum
after each chunk, that will prevent the extreme bloat.
-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-performance@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, cjames@emolecules.com
Subject: Re: auto-vacuum vs. full table update
In-Reply-To: <4F99658B0200002500047411@gw.wicourts.gov>
References: <CAFwQ8rd6G0r5oTTo=S=ONTHD797O_9NQLbAybTurPZE3i5ob5g@mail.gmail.com> <4F99658B0200002500047411@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