Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

Next:From: Andrew DunstanDate: 2012-04-26 20:27:38
Subject: Re: query optimization
Previous:From: Tom LaneDate: 2012-04-26 20:08:55
Subject: Re: query optimization

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group