Re: auto-vacuum vs. full table update

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Craig James" <cjames(at)emolecules(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: auto-vacuum vs. full table update
Date: 2012-04-26 20:11:07
Message-ID: 4F99658B0200002500047411@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Craig James <cjames(at)emolecules(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Andrew Dunstan 2012-04-26 20:27:38 Re: query optimization
Previous Message Tom Lane 2012-04-26 20:08:55 Re: query optimization