Re: Performance for initial copy when using pg_logical to upgrade Postgres

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: "Westwood, Giles" <g(dot)westwood(at)orcid(dot)org>
Cc: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: Performance for initial copy when using pg_logical to upgrade Postgres
Date: 2021-09-24 14:39:35
Message-ID: 20210924143934.GN831@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, Sep 24, 2021 at 03:28:50PM +0100, Westwood, Giles wrote:
> At Orcid we're trying to upgrade our Postgres database (10 to 13) using
> pg_logical for no downtime. The problem we have is how long the initial
> copy is taking for the ~500GB database. If it takes say 20days to complete,
> will we need to have 20days of WAL files to start catching up when it's
> complete?

Did you see this thread and its suggestions to 1) set bulk load parameters;
and, 2) drop indexes and FKs ?

https://www.postgresql.org/message-id/flat/4A8EFC4E-A264-457D-A8E7-AE324ED9ABD4(at)thebuild(dot)com

--
Justin

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Westwood, Giles 2021-09-24 15:48:45 Re: Performance for initial copy when using pg_logical to upgrade Postgres
Previous Message Westwood, Giles 2021-09-24 14:28:50 Performance for initial copy when using pg_logical to upgrade Postgres