From: Simon Riggs <simon@2ndQuadrant.com>
To: Thom Brown <thom@linux.com>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: Allow time delayed standbys and recovery
Date: Wed, 26 Feb 2014 13:32:25 +0000
Message-ID: <CA+U5nM+gPAoJVVgFiyWCL1vup0-RUkx3RbMMY8bNTLHhe8pNjQ@mail.gmail.com> (raw)
In-Reply-To: <CAA-aLv4yGjd-9dxDwoUue+bV3=coGBDk66VxPkcD0NbROTm+Pg@mail.gmail.com>
References: <E1Vr3wa-000671-1b@gemulon.postgresql.org>
<CAA-aLv7ieqbd6wxQg=-q8hc1Rc7-K65KkrNMvYwzpHg+X=-NTQ@mail.gmail.com>
<CA+U5nMKw=GRMc6JZ3B3EyxiWnsicLM5V4yH1+waTm4deJtp2mg@mail.gmail.com>
<CAA-aLv4yGjd-9dxDwoUue+bV3=coGBDk66VxPkcD0NbROTm+Pg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 26 February 2014 13:07, Thom Brown <thom@linux.com> wrote:
> On 19 December 2013 19:33, Simon Riggs <simon@2ndquadrant.com> wrote:
>>
>> On 19 December 2013 19:19, Thom Brown <thom@linux.com> wrote:
>> > On 12 December 2013 10:56, Simon Riggs <simon@2ndquadrant.com> wrote:
>> >> 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
>> >
>> > Could a note be added about the additional disk space requirements for
>> > WAL on the standby? If one is delaying replay, WAL files created over
>> > the delayed period will build up in pg_xlog on the standby until
>> > they're consumed upon replay, so considerations about storing those
>> > additional files will need to be made. It may otherwise trip up
>> > anyone who, say, delays replay by 24 hours in a busy production
>> > environment, and finds they have run out of disk space and no longer
>> > have a valid standby.
>>
>> Thanks Thom, good point. I will add a note to the docs.
>
>
> Just a reminder that this note hasn't been added to the docs yet.
Please cut a doc patch and I'll apply.
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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, thom@linux.com
Subject: Re: pgsql: Allow time delayed standbys and recovery
In-Reply-To: <CA+U5nM+gPAoJVVgFiyWCL1vup0-RUkx3RbMMY8bNTLHhe8pNjQ@mail.gmail.com>
References: <E1Vr3wa-000671-1b@gemulon.postgresql.org> <CAA-aLv7ieqbd6wxQg=-q8hc1Rc7-K65KkrNMvYwzpHg+X=-NTQ@mail.gmail.com> <CA+U5nMKw=GRMc6JZ3B3EyxiWnsicLM5V4yH1+waTm4deJtp2mg@mail.gmail.com> <CAA-aLv4yGjd-9dxDwoUue+bV3=coGBDk66VxPkcD0NbROTm+Pg@mail.gmail.com> <CA+U5nM+gPAoJVVgFiyWCL1vup0-RUkx3RbMMY8bNTLHhe8pNjQ@mail.gmail.com>
* 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