Re: Questions on logical replication

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Koen De Groote <kdg(dot)dev(at)gmail(dot)com>
Cc: PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Questions on logical replication
Date: 2024-06-08 17:46:19
Message-ID: fe521e78-0bbb-4e33-97c7-948fd995bea6@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/8/24 10:40, Koen De Groote wrote:
> What I'm trying to do is upgrade a PG11 database to PG16, using logical
> replication.

Have you looked at pg_upgrade?:

https://www.postgresql.org/docs/current/pgupgrade.html

>
> The PG11 has an active and a standby, there are a handful of databases.
> On particular one has a few tables just over 100GB, then a few 100
> tables near 1GB.

1 GB each?

>
> What I'd do is start a publication with no tables and add them 1 at a
> time, refreshing subscription each time.
>
> This might take a long time, so my main questions relate to potential
> network issues or various situations where the instance receiving the
> logical replication, suddenly stop being able to receive.
>
> Resyncing, and the effects of WAL buildup, are my main concern.
>
> Accidentally sent a mail to only your email, sorry for that.
>
> Regards,
> Koen De Groote

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Justin 2024-06-08 20:33:34 Re: Questions on logical replication
Previous Message Koen De Groote 2024-06-08 17:40:50 Re: Questions on logical replication