Re: BUG #18027: Logical replication taking forever

From: Andres Martin del Campo Campos <andres(at)invisible(dot)email>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: vignesh C <vignesh21(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18027: Logical replication taking forever
Date: 2023-07-24 18:03:40
Message-ID: CALZDMc=ubT2v6xVn60ojt3ypAE2kmYvZPG3KXM-Y-fyS3Hp40g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thank you Amit!
Here's the publisher:
[image: image.png]

Here's the subscriber:
[image: image.png]

I don't see any errors in the logs but if you have time I would love to
schedule a quick meeting with you and compensate you for your time of
course.

Let me know if you are available

On Fri, Jul 21, 2023 at 11:26 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
wrote:

> On Thu, Jul 20, 2023 at 10:46 PM Andres Martin del Campo Campos
> <andres(at)invisible(dot)email> wrote:
>
>> Seems like I don't have that table
>>
>>
>> [image: image.png]
>>
>>
>> There are no errors in the logs but I only see dead tuples and no live
>> tuples
>>
>>
> oh, can you show us the dead and live tuple count on both publisher and
> subscriber? Ideally, COPY command should only copy the recent data based on
> the snapshot. It shouldn't copy the old/dead rows. One possibility I could
> think of is that due to some reason, if there is a failure during the
> initial sync process, it will ROLLBACK the whole copy and restart it again.
> So, that way one can see the table is growing with dead tuples and the copy
> is never finished especially if such an error occurs repeatedly. If that
> happens, you must see some error in the subscriber-side logs. Can you
> ensure in some way that such a phenomenon is not happening in your case?
>
> --
> With Regards,
> Amit Kapila.
>

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jonathan S. Katz 2023-07-25 02:17:09 Re: BUG #18018: Homebrew link is broken
Previous Message Tom Lane 2023-07-24 16:51:35 Re: pg_hba.conf "authentication file token too long, skipping"