pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndQuadrant.com>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add new replication mode synchronous_commit = 'write'.
Date: Tue, 24 Jan 2012 20:22:57 +0000
Message-ID: <E1RpmtN-0000GY-33@gemulon.postgresql.org> (raw)

Add new replication mode synchronous_commit = 'write'.
Replication occurs only to memory on standby, not to disk,
so provides additional performance if user wishes to
reduce durability level slightly. Adds concept of multiple
independent sync rep queues.

Fujii Masao and Simon Riggs

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/443b4821f1649bc617c5ce1f6f3ffc65842a8930

Modified Files
--------------
doc/src/sgml/config.sgml                    |   18 +++-
doc/src/sgml/high-availability.sgml         |   16 +++-
src/backend/replication/syncrep.c           |  112 ++++++++++++++++++---------
src/backend/replication/walsender.c         |    3 +-
src/backend/utils/misc/guc.c                |    5 +-
src/include/access/xact.h                   |    1 +
src/include/replication/syncrep.h           |   13 +++-
src/include/replication/walsender_private.h |    8 +-
8 files changed, 124 insertions(+), 52 deletions(-)



view thread (23+ messages)  latest in thread

Message-ID: <E1RpmtN-0000GY-33@gemulon.postgresql.org>
Permalink:  ../E1RpmtN-0000GY-33@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1RpmtN-0000GY-33@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: simon@2ndQuadrant.com
  Subject: Re: pgsql: Add new replication mode synchronous_commit = 'write'.
  In-Reply-To: <E1RpmtN-0000GY-33@gemulon.postgresql.org>
  References: <E1RpmtN-0000GY-33@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox