Re: PG11 to PG14 Migration Slowness

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vigneshk Kvignesh <krrvignesh2(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: PG11 to PG14 Migration Slowness
Date: 2023-01-12 15:48:46
Message-ID: 957446.1673538526@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Vigneshk Kvignesh <krrvignesh2(at)gmail(dot)com> writes:
> I'm migrating our existing PG instances from PG11.4 to PG14.3. I
> have around 5 Million Tables in a single database. When migrating using
> pg_upgrade, its taking 3 hours for the process to complete. I'm not sure if
> its the intended behaviour or we're missing something here.

There was some work done in v15 to make pg_dump deal better with
zillions of tables. Don't know if you can consider retargeting
to v15, or how much the speedups would help in your particular
situation.

Why are you using 14.3, when the current release is 14.6?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Paul Ramsey 2023-01-12 15:52:17 Re: daitch_mokotoff module
Previous Message Takamichi Osumi (Fujitsu) 2023-01-12 15:39:23 RE: Time delayed LR (WAS Re: logical replication restrictions)