Re: pgpool + BDR, is it possible?

From: "Ruth Melendo" <rmelendo(at)teltronic(dot)es>
To: "'Craig Ringer'" <craig(at)2ndquadrant(dot)com>
Cc: "'pgsql-admin'" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pgpool + BDR, is it possible?
Date: 2015-03-17 13:58:40
Message-ID: 009f01d060ba$79371160$6ba53420$@teltronic.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

My problem is that sometimes database stops replying. All I can see is that I have registers in that table

SELECT * FROM pg_logical_slot_get_binary_changes('bdr_17911_6120567807158814813_1_16385__', NULL, 1, 'interactive', 'true')

When I get to this situation, I suppose that means that some transaction have not finish well. So, what can I do to recovery my replication?

Ruth Patricia Melendo Ventura

Software Engineer

TELTRONIC, S.A.U.

T: +34 976 465656 Ext. 179

F: +34 976 465722

<http://www.teltronic.es/> www.teltronic.es

Logo40

De: pgsql-admin-owner(at)postgresql(dot)org [mailto:pgsql-admin-owner(at)postgresql(dot)org] En nombre de Craig Ringer
Enviado el: martes, 17 de marzo de 2015 14:03
Para: Ruth Melendo
CC: pgsql-admin
Asunto: Re: [ADMIN] pgpool + BDR, is it possible?

On 17 March 2015 at 17:52, Ruth Melendo <rmelendo(at)teltronic(dot)es> wrote:

But now, my dude is about pgpool. Do you think It can work well just as a balancer in this environment?

I cannot tell you that with any confidence without knowing more about the application than is going to be practical. The best I can do is "probably, with the caveats already explained re async multi-master above".

My main troubles from the beginning have been in recovery and I dind´t find detailed doc in that way. Most of times, I need to delete data directory in node 2 and starts init replication again.

"recovery" from what? What are you trying to do?

--

Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ruth Melendo 2015-03-17 14:01:30 Re: pgpool + BDR, is it possible?
Previous Message jaime soler 2015-03-17 13:38:28 Re: pgpool + BDR, is it possible?

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2015-03-17 13:59:43 Re: Reg: PL/pgSQL commit and rollback
Previous Message Medhavi Mahansaria 2015-03-17 13:50:16 Reg: PL/pgSQL commit and rollback