pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rihad <rihad@mail.ru>
To: pgsql-general General <pgsql-general@postgresql.org>
Subject: pg_upgrade v15 not generating analyze_new_cluster.sh
Date: Tue, 13 Jun 2023 12:35:46 +0400
Message-ID: <e7bfd56e-0432-fa1a-5de5-b5269bc0cb8c@mail.ru> (raw)

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.

view thread (4+ messages)  latest in thread

Message-ID: <e7bfd56e-0432-fa1a-5de5-b5269bc0cb8c@mail.ru>
Permalink:  ../e7bfd56e-0432-fa1a-5de5-b5269bc0cb8c@mail.ru/
Also on:    postgresql.org/message-id/e7bfd56e-0432-fa1a-5de5-b5269bc0cb8c@mail.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: rihad@mail.ru
  Subject: Re: pg_upgrade v15 not generating analyze_new_cluster.sh
  In-Reply-To: <e7bfd56e-0432-fa1a-5de5-b5269bc0cb8c@mail.ru>
  References: <e7bfd56e-0432-fa1a-5de5-b5269bc0cb8c@mail.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox