Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id AB26D1F02EF3 for ; Thu, 26 Apr 2012 17:11:30 -0300 (ADT) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SNV2H-00031y-T7 for pgsql-performance@postgresql.org; Thu, 26 Apr 2012 20:11:30 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Thu, 26 Apr 2012 15:11:17 -0500 Message-Id: <4F99658B0200002500047411@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.2 Date: Thu, 26 Apr 2012 15:11:07 -0500 From: "Kevin Grittner" To: "Craig James" , Subject: Re: auto-vacuum vs. full table update References: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201204/169 X-Sequence-Number: 46815 Craig James 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