motum hesa escribió: > 2017-12-21 10:17 GMT-06:00 Alvaro Herrera <alvhe...@alvh.no-ip.org>:
> Después de activarlo, esto muestra el log: > > 58304: subtest: 2017-12-21 17:12:28 UTC : replicador@xxx test :LOG: > logical decoding found consistent point at 389/F3FBC478 > 58304: subtest: 2017-12-21 17:12:28 UTC : replicador@xxx test :DETAIL: > There are no running transactions. > 58305: subtest: 2017-12-21 17:12:28 UTC : replicador@xxx test :LOG: > starting logical decoding for slot "subcummins" > 58305: subtest: 2017-12-21 17:12:28 UTC : replicador@xxx test :DETAIL: > streaming transactions committing after 389/F3FBC4B0, reading WAL from > 389/F3FBC478 > 58305: subtest: 2017-12-21 17:12:28 UTC : replicador@xxx test :LOG: > logical decoding found consistent point at 389/F3FBC478 > 58305: subtest: 2017-12-21 17:12:28 UTC : replicador@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