pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: jd@commandprompt.com, "Alexandre Leclerc" <aleclerc@ipso.ca>
Cc: pgsql-admin@postgresql.org
Subject: Re: Vacuum Full (PG 8.1) - Urgent help needed - Cancel & transaction "liberation"
Date: Fri, 16 Apr 2010 15:44:23 -0400
Message-ID: <13971.1271447063@sss.pgh.pa.us> (raw)
In-Reply-To: <4BC871F90200002500030A0D@gw.wicourts.gov>
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>
	<4BC871F90200002500030A0D@gw.wicourts.gov>

"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> "Joshua D. Drake" <jd@commandprompt.com> 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?

Maybe, but if he doesn't have a recent backup then that's probably the
best thing to try.  I'm not actually sure how he would've started two
standalone backends though --- there *is* an interlock against that,
just as there is for two postmasters in the same data directory.
Maybe if he was bullheaded enough to remove the lock file manually :-(

> 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"?

We did change that ...
http://archives.postgresql.org/pgsql-committers/2008-12/msg00096.php

			regards, tom lane



view thread (26+ messages)  latest in thread

Message-ID: <13971.1271447063@sss.pgh.pa.us>
Permalink:  ../13971.1271447063@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13971.1271447063@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Kevin.Grittner@wicourts.gov, aleclerc@ipso.ca
  Subject: Re: Vacuum Full (PG 8.1) - Urgent help needed - Cancel & transaction "liberation"
  In-Reply-To: <13971.1271447063@sss.pgh.pa.us>

* 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