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-18 13:47:22
Message-ID: 00dc01d06182$0fb1fcf0$2f15f6d0$@teltronic.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

I don’t get this about the "peek" functions not the "get" functions .. What do you mean?

Thanks

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: miércoles, 18 de marzo de 2015 3:12
Para: Ruth Melendo
CC: pgsql-admin
Asunto: Re: [ADMIN] pgpool + BDR, is it possible?

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

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?

Check the PostgreSQL server error log to find out what's going on and go from there. You need to find out what's going on, why replication apply has stopped progressing. Assuming it has.

BTW, you should use the "peek" functions not the "get" functions on an existing slot used by something else. Otherwise you might consume changes, causing them not to get replayed and resulting in inconsistencies.

--

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 John Scalia 2015-03-18 16:06:58 Version on the yum.postgresql.org website
Previous Message Craig Ringer 2015-03-18 02:11:46 Re: pgpool + BDR, is it possible?

Browse pgsql-general by date

  From Date Subject
Next Message adityagis 2015-03-18 14:20:32 Archeiving and Purging
Previous Message Tim Rowe 2015-03-18 11:52:31 Re: Windows installer