Re: Replication with non-read-only standby.
От | Nick Babadzhanian |
---|---|
Тема | Re: Replication with non-read-only standby. |
Дата | |
Msg-id | 608127986.31536.1468333603748.JavaMail.zimbra@cobra.ru обсуждение исходный текст |
Ответ на | Re: Replication with non-read-only standby. (Sylvain Marechal <marechal.sylvain2@gmail.com>) |
Список | pgsql-general |
Thanks. I ended up using pglogical, since I don't really need Bi-directional replication and docs for UDR suggest using pglogicalinstead. Although I ran into a problem there, but pglogical seems to be the answer. Regards, Nick. ----- Original Message ----- From: "Sylvain Marechal" <marechal.sylvain2@gmail.com> To: "Nick Babadzhanian" <nb@cobra.ru> Cc: "pgsql-general" <pgsql-general@postgresql.org> Sent: Wednesday, July 6, 2016 11:00:05 PM Subject: Re: [GENERAL] Replication with non-read-only standby. 2016-06-30 15:15 GMT+02:00 Nick Babadzhanian <nb@cobra.ru>: > Setup: > 2 PostgreSQL servers are geographically spread. The first one is used for > an application that gathers data. It is connected to the second database > that is used to process the said data. Connection is not very stable nor is > it fast, so using Bidirectional replication is not an option. It is OK if > data is shipped in batches rather than streamed. > > Question: > Is there a way to make the standby server non-read-only, so that it can > keep getting updates (mostly inserts) from the 'master', but users are able > to edit the data stored on 'slave'? Is there some alternative solution to > this? > > Regards, > Nick. > > Hi Nick, sorry for this silly question, but I am not sure to understand why BDR is not an option. As far as I know, it was designed to handle such cases. My 2 cents, Sylvain
В списке pgsql-general по дате отправления: