pgsql: Add new replication mode synchronous_commit = 'write'.

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add new replication mode synchronous_commit = 'write'.
Date: 2012-01-24 20:22:57
Message-ID: E1RpmtN-0000GY-33@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Jaime Casanova 2012-01-24 20:35:22 Re: pgsql: Add new replication mode synchronous_commit = 'write'.
Previous Message Peter Eisentraut 2012-01-24 19:51:51 pgsql: Remove quotes around format_type_be() output

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2012-01-24 20:28:25 Re: New replication mode: write
Previous Message Stefan Kaltenbrunner 2012-01-24 20:10:14 Re: PgNext: CFP