Re: Running several postmaster using same database in parallel

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Steffen Schmidt <Steffen(dot)Schmidt(at)EMBL-Heidelberg(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Running several postmaster using same database in parallel
Date: 2000-11-23 17:14:47
Message-ID: Pine.LNX.4.21.0011231801250.1355-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Steffen Schmidt writes:

> > > I'am running several postmaster on different machines, accessing the
> > > same database in parallel. Is this a good idea?
> >
> > Not at all. In fact, version 7.0 and later won't even let you do this any
> > more. Earlier versions where not so careful.
>
> Well, I am running postmasters in parallel using postgres-7.0.2. So
> postgres let me do this...???

Well, since you are running on separate hosts the postmaster you start up
second will find the pid lock file, determine that there's no process with
that pid (on its machine) and delete it. So I guess you can do it, but
that still doesn't mean that your data is going to survive this.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-11-23 17:21:58 Re: Very queer errors with Postgres/PHP
Previous Message bmccoy 2000-11-23 16:43:50 Re: Running several postmaster using same database in parallel