Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-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

pgsql-hackers by date

Next:From: Simon RiggsDate: 2012-01-24 20:28:25
Subject: Re: New replication mode: write
Previous:From: Stefan KaltenbrunnerDate: 2012-01-24 20:10:14
Subject: Re: PgNext: CFP

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group