Re: Synchronous Log Shipping Replication - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Synchronous Log Shipping Replication
Date
Msg-id 200809082310.m88NAel28205@momjian.us
Whole thread Raw
In response to Re: Synchronous Log Shipping Replication  (Markus Wanner <markus@bluegap.ch>)
List pgsql-hackers
Markus Wanner wrote:
> Hi,
> 
> Bruce Momjian wrote:
> > Backends would
> > update a shared memory variable specifying how far they want the wal
> > streamer to advance and send a signal to the wal streamer if necessary. 
> > Backends would monitor another shared memory variable that specifies how
> > far the wal streamer has advanced.
> 
> That sounds like WAL needs to be written to disk, before it can be sent 
> to the standby. Except maybe with some sort of mmap'ing the WAL.

Well, WAL is either on disk or in the wal_buffers in shared memory ---
in either case, a WAL streamer can get to it.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Markus Wanner
Date:
Subject: Re: Synchronous Log Shipping Replication
Next
From: Alvaro Herrera
Date:
Subject: Re: reducing statistics write overhead