Re: Replication - Mailing list pgsql-hackers

From Markus Schiltknecht
Subject Re: Replication
Date
Msg-id 44E9F097.6060302@bluegap.ch
Whole thread Raw
In response to Re: Replication  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Replication
Re: Replication
List pgsql-hackers
Jeff Davis wrote: > How does WAL shipping help synchronous replication?

The WAL is written _before_ commit, logging all the changes the 
transaction wants to write to the disk. This makes it look very similar 
to what is needed for synchronous replication.

Instead of waiting for confirmation from the disk, that your WAL has 
been written, you would have to wait from the network to confirm that 
the changes have been delivered via the network.

Regards

Markus



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] [PATCH] Provide 8-byte transaction IDs to
Next
From: Bruce Momjian
Date:
Subject: Re: ISBN/ISSN/ISMN/EAN13 module