Re: cluster replication with intermezzo

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: bob(at)bob(dot)usuhs(dot)mil
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: cluster replication with intermezzo
Date: 2002-10-01 14:07:28
Message-ID: 21495.1033481248@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Robert Williams <bob(at)bob(dot)usuhs(dot)mil> writes:
> I'm running postgresql on a two machine
> intermezzo cluster (www.inter-mezzo.org)

This *will* *not* *work*. Period.

> I haven't tested it with a heavy load yet -

Expect data corruption as soon as you exercise it at all.

> I don't thing this should be a problem,
> since as I understand it, table and row
> locking occurs at the postgres backend level
> and lock files are kept in a database table,

No, the locking is all done in shared memory. Since you've got two
postmasters with two separate shared memory blocks, there is no
interlocking between the two sets of backends. There are more problems
here than I can easily enumerate :-(

Now, you could possibly make it work as a hot-failover setup, ie,
one machine can start running a postmaster after the other one crashes.
But two postmasters running simultaneously against the same file set
won't work.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jean-Christian Imbeault 2002-10-01 14:28:10 string parsing
Previous Message Robert Williams 2002-10-01 12:51:52 cluster replication with intermezzo