Re: Constant WAL replay

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, Hans-Jürgen Schönig <postgres(at)cybertec(dot)at>, pgsql-hackers(at)postgresql(dot)org, eg(at)cybertec(dot)at
Subject: Re: Constant WAL replay
Date: 2005-04-24 22:48:04
Message-ID: 200504242248.j3OMm4602985@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Joshua D. Drake wrote:
> Alvaro Herrera wrote:
> > On Sun, Apr 24, 2005 at 08:10:34AM +0200, Hans-J?rgen Sch?nig wrote:
> >
> >
> >>The idea: We are looking for a way to implement a synchronous
> >>single-master / multiple slaves systems.
> >>Meanwhile we are able to serialize / deserialize WAL records and send
> >>them to a group communication system which transports those records to
> >>the slave database.
> >>This is not hard to do.
> >
> >
> > In fact, I believe Command Prompt's Mammoth Replicator does exactly
> > this.
>
> Very close. We don't use the WAL (yet, slated for probably 8.1) but we
> do use a transaction log shipping method. So the implementation is
> almost the same.

Can you run queries on the slave? If so, how do you handle xid collisions?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2005-04-25 00:06:00 Re: Constant WAL replay
Previous Message Oleg Bartunov 2005-04-24 22:14:23 Re: CVS regression test problem

Browse pgsql-patches by date

  From Date Subject
Next Message Joshua D. Drake 2005-04-25 00:06:00 Re: Constant WAL replay
Previous Message Alvaro Herrera 2005-04-24 19:15:37 Re: [WIP] shared locks