pg_upgrade v15 not generating analyze_new_cluster.sh

From: rihad <rihad(at)mail(dot)ru>
To: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: pg_upgrade v15 not generating analyze_new_cluster.sh
Date: 2023-06-13 08:35:07
Message-ID: cc1abb0d-aeda-d240-c1cc-58bbce6dec65@mail.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi, all. When pg_upgrading from PG 11 to 13, a file
analyze_new_cluster.sh was generated in the current directory which ran
vacuumdb --all --analyze-in-stages

When upgrading from 13 to 15.3 no such file was generated, which made me
believe it was no longer necessary. Alas, it wasn't the case. The
database was extremely slow after the upgrade chewing up 100% cpu time,
and it wasn't until I manually ran vacuumdb" --all --analyze-in-stages
that cpu usage dropped. Was there a knob that I missed, or is this just
a bug in pg_upgrade 15? Thanks.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message rihad 2023-06-13 08:35:46 pg_upgrade v15 not generating analyze_new_cluster.sh
Previous Message Dominique Devienne 2023-06-13 08:17:27 "paths" between two ROLEs