Re: pg_upgrade too slow on vacuum phase

From: Kouber Saparev <kouber(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_upgrade too slow on vacuum phase
Date: 2020-05-14 09:01:04
Message-ID: CAN4RuQvMYxGrTtCtdgvS9ThthiA09XaxD=qVnr5=7LJz1cXOzg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
> So the analyze(and freeze) are done before the new cluster are fully
> populated. Is the time being taken maybe for the loading schema/data
> portion?
>
>
No, the upgrade is stuck on these 2 stages indeed, maybe 50% on the first
and 50% (or a little more) on the second. When a run them outside of the
pg_upgrade procedure it is still slow, so pg_upgrade is not to blame. I
guess I will need to repack the biggest tables first.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Simon Riggs 2020-05-14 10:18:23 Re: Clarification related to BDR
Previous Message Andy Fan 2020-05-14 08:26:36 Re: Check what has been done for a uncommitted prepared transaction