Re: [HACKERS] Streaming replication and WAL archive interactions

From: Миша Тюрин <tmihail(at)bk(dot)ru>
To: Andres Freund <andres(at)2ndquadrant(dot)com>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Sergey Burladyan <eshkinkot(at)gmail(dot)com>
Subject: Re: [HACKERS] Streaming replication and WAL archive interactions
Date: 2015-02-12 00:15:16
Message-ID: 1423700116.172180820@f103.i.mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


>  This should be a very common setup in the field, so how are  people doing it in practice?

One of possible workaround with archive and streaming was to use pg_receivexlog from standby to copy/save WALs to archive. but with pg_receivexlog was also issue with fsync.

[ master ] -- streaming --> [ standby ] -- pg_receivexlog --> [ /archive ]

In that case archive is always in pre standby state and it could be better than had archive broken on promote.
--
Misha

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2015-02-12 00:28:15 Re: Typo in logicaldecoding.sgml
Previous Message Andres Freund 2015-02-12 00:03:40 Re: libpq's multi-threaded SSL callback handling is busted