pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lukasz Biegaj <lukasz.biegaj@unitygroup.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Logical replication gradually slowing down, then hanging.
Date: Thu, 14 Jan 2021 08:33:13 +0100
Message-ID: <127b334c-0675-c078-2958-9e52979b7cdb@unitygroup.com> (raw)
In-Reply-To: <8bf8785c-f47d-245c-b6af-80dc1eed40db@unitygroup.com>
References: <8bf8785c-f47d-245c-b6af-80dc1eed40db@unitygroup.com>

On 16.11.2020 10:20, Lukasz Biegaj wrote:
> Hello,
>
> I'm encountering a repeating problem with logical replication.
>
> [...]
>
> And also a gdb backtrace:
> (gdb) bt
> #0  0x00005623348d3ce0 in hash_seq_search ()
> #1  0x000056233473a396 in ReorderBufferQueueChange ()
> #2  0x000056233472fb80 in LogicalDecodingProcessRecord ()
> [...]


Replying to myself for anyone searching for the issue in future:

I believe that the issue was fixed with patch described in thread 
<https://www.postgresql-archive.org/Logical-replication-CPU-bound-with-TRUNCATE-DROP-CREATE-many-tabl...; 
on pgsql-hackers.


-- 
Lukasz Biegaj | Unity Group | https://www.unitygroup.com/
System Architect, AWS Solutions Architect






view thread (2+ messages)

Message-ID: <127b334c-0675-c078-2958-9e52979b7cdb@unitygroup.com>
Permalink:  ../127b334c-0675-c078-2958-9e52979b7cdb@unitygroup.com/
Also on:    postgresql.org/message-id/127b334c-0675-c078-2958-9e52979b7cdb@unitygroup.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: lukasz.biegaj@unitygroup.com
  Subject: Re: Logical replication gradually slowing down, then hanging.
  In-Reply-To: <127b334c-0675-c078-2958-9e52979b7cdb@unitygroup.com>
  References: <8bf8785c-f47d-245c-b6af-80dc1eed40db@unitygroup.com> <127b334c-0675-c078-2958-9e52979b7cdb@unitygroup.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox