pgsql: Allow time delayed standbys and recovery

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow time delayed standbys and recovery
Date: 2013-12-12 10:56:36
Message-ID: E1Vr3wa-000671-1b@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Allow time delayed standbys and recovery

Set min_recovery_apply_delay to force a delay in recovery apply for commit and
restore point WAL records. Other records are replayed immediately. Delay is
measured between WAL record time and local standby time.

Robert Haas, Fabrízio de Royes Mello and Simon Riggs
Detailed review by Mitsumasa Kondo

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/36da3cfb457b77a55582f68208d815f11ac1399e

Modified Files
--------------
doc/src/sgml/recovery-config.sgml | 50 ++++++++++
src/backend/access/transam/recovery.conf.sample | 9 ++
src/backend/access/transam/xlog.c | 119 ++++++++++++++++++++++-
3 files changed, 174 insertions(+), 4 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2013-12-12 11:44:12 pgsql: New autovacuum_work_mem parameter
Previous Message Tatsuo Ishii 2013-12-12 10:13:41 pgsql: Fix progress logging when scale factor is large.

Browse pgsql-hackers by date

  From Date Subject
Next Message KONDO Mitsumasa 2013-12-12 10:57:53 Re: Optimize kernel readahead using buffer access strategy
Previous Message Dimitri Fontaine 2013-12-12 10:48:24 Re: Reference to parent query from ANY sublink