Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 794EF6323EB for ; Fri, 16 Apr 2010 16:19:59 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 29219-10 for ; Fri, 16 Apr 2010 19:19:48 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id BC8FB6323E3 for ; Fri, 16 Apr 2010 16:19:48 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Fri, 16 Apr 2010 14:19:47 -0500 Message-Id: <4BC871F90200002500030A0D@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Fri, 16 Apr 2010 14:19:37 -0500 From: "Kevin Grittner" To: Cc: "Alexandre Leclerc" , Subject: Re: Vacuum Full (PG 8.1) - Urgent help needed - Cancel & transaction "liberation" References: <4BC8639C.4010202@ipso.ca> <9048.1271429162@sss.pgh.pa.us> <4BC8A623.8090201@ipso.ca> <4BC8638E0200002500030A01@gw.wicourts.gov> <4BC8B0CE.2010401@ipso.ca> <1271444725.21263.80.camel@jd-desktop.unknown.charter.com> In-Reply-To: <1271444725.21263.80.camel@jd-desktop.unknown.charter.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.011 tagged_above=-10 required=5 tests=BAYES_20=-0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201004/225 X-Sequence-Number: 34319 "Joshua D. Drake" wrote: > if you actually managed to start two services against the > same data directory, I hope you have a backup, you can restore > from. This is 8.1 under Windows, and he connected to a different database with each backend. He got errors writing the WAL files, and it apparently wouldn't let him start a second VACUUM on the other database. I'm hoping that the initial VACUUM (of the big database) can continue and the WAL problems will cycle out without corrupting anything. Is that overly optimistic? It did occur to me that maybe the manual (and maybe event the error's hint) should say right up front that once the service stops a file-based copy of the database should be made (if at all possible) before proceeding to attempt recovery. Also, the "full-database vacuum" terminology seems too likely to be interpreted as VACUUM FULL for best results. Perhaps it's worth changing that to just "database vacuum" or "vacuum of the entire database"? -Kevin