Re: Error con logical replication

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: motum hesa <motums(at)gmail(dot)com>
Cc: Lista PostgreSQL <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Error con logical replication
Date: 2017-12-21 17:31:53
Message-ID: 20171221173153.h2udxsche6z57smo@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

motum hesa escribió:
> 2017-12-21 10:17 GMT-06:00 Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>:

> Después de activarlo, esto muestra el log:
>
> 58304: subtest: 2017-12-21 17:12:28 UTC : replicador(at)xxx test :LOG:
> logical decoding found consistent point at 389/F3FBC478
> 58304: subtest: 2017-12-21 17:12:28 UTC : replicador(at)xxx test :DETAIL:
> There are no running transactions.
> 58305: subtest: 2017-12-21 17:12:28 UTC : replicador(at)xxx test :LOG:
> starting logical decoding for slot "subcummins"
> 58305: subtest: 2017-12-21 17:12:28 UTC : replicador(at)xxx test :DETAIL:
> streaming transactions committing after 389/F3FBC4B0, reading WAL from
> 389/F3FBC478
> 58305: subtest: 2017-12-21 17:12:28 UTC : replicador(at)xxx test :LOG:
> logical decoding found consistent point at 389/F3FBC478
> 58305: subtest: 2017-12-21 17:12:28 UTC : replicador(at)xxx test :DETAIL:
> There are no running transactions.

Hmm, son distintos procesos (58304 primero, 58305 después). ¿está
levantando un proceso nuevo una y otra vez? Eso no está bien. Hay que
hilar más fino. ¿seguro no hay ningún ERROR o FATAL en el log? ¿no
hace un restart el postmaster de vez en cuando? ¿qué hay en los logs
del sistema suscriptor? Por favor activa log_connections en el sistema
publicador.

¿cuántas bases de datos tienes replicando?

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message motum hesa 2017-12-21 18:08:31 Re: Error con logical replication
Previous Message motum hesa 2017-12-21 17:21:08 Re: Error con logical replication