Re: pgsql: Allow time delayed standbys and recovery

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: pgsql: Allow time delayed standbys and recovery
Дата
Msg-id CAA-aLv7ieqbd6wxQg=-q8hc1Rc7-K65KkrNMvYwzpHg+X=-NTQ@mail.gmail.com
обсуждение исходный текст
Ответ на pgsql: Allow time delayed standbys and recovery  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: pgsql: Allow time delayed standbys and recovery  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-committers
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.

--
Thom


В списке pgsql-committers по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: pgsql: Add tab completion for ALTER SYSTEM SET in psql.
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: pgsql: Allow time delayed standbys and recovery