pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Paul B. Anderson <paul.a@pnlassociates.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Vacuum error on database postgres
Date: Tue, 19 Sep 2006 12:20:27 -0400
Message-ID: <6965.1158682827@sss.pgh.pa.us> (raw)
In-Reply-To: <45100FB3.8020602@pnlassociates.com>
References: <44F82150.5000809@pnlassociates.com>
	<4001.1157121669@sss.pgh.pa.us>
	<ee7pua$2bou$1@news.hub.org>
	<27602.1158238299@sss.pgh.pa.us>
	<45100FB3.8020602@pnlassociates.com>

"Paul B. Anderson" <paul.a@pnlassociates.com> writes:
> I have a cluster of machines and the databases are on shared disk 
> storage.  I'm just getting this arrangement working and, while I've been 
> debugging my scripts, I've accidentally had two copies of postgresql 
> running against the same initdb directories at the same time on two 
> different machines.  Needless to say, this causes problems and I'm 
> thinking that vacuuming in this condition may be at or near the root of 
> the problem.

You're going to have much worse problems than this from that.  Two
postmasters modifying the same data files is a recipe for complete
corruption.  I would recommend abandoning any database you realize
this has happened to: just initdb and start over.  The chances of
being able to fix it are minimal.

			regards, tom lane



view thread (21+ messages)

Message-ID: <6965.1158682827@sss.pgh.pa.us>
Permalink:  ../6965.1158682827@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6965.1158682827@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, paul.a@pnlassociates.com
  Subject: Re: Vacuum error on database postgres
  In-Reply-To: <6965.1158682827@sss.pgh.pa.us>
  References: <44F82150.5000809@pnlassociates.com> <4001.1157121669@sss.pgh.pa.us> <ee7pua$2bou$1@news.hub.org> <27602.1158238299@sss.pgh.pa.us> <45100FB3.8020602@pnlassociates.com> <6965.1158682827@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