pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Christian Schröder <Christian.Schroeder@solvians.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Performance issue after migration from 9.4 to 15
Date: Wed, 12 Apr 2023 08:03:53 -0700
Message-ID: <813fb203-bf02-3f2b-b4c0-cdcfd5de86c9@aklaver.com> (raw)
In-Reply-To: <FR2P281MB3341D33FC0BC62B53484614C8A9A9@FR2P281MB3341.DEUP281.PROD.OUTLOOK.COM>
References: <FR2P281MB334131052A52EB875A8A6DAF8A9A9@FR2P281MB3341.DEUP281.PROD.OUTLOOK.COM>
	<CAApHDvr6PGuXbUgu=o=t8vfxr5Gcx=ZSse2vWK9ycg453YwC2A@mail.gmail.com>
	<143137.1681222135@sss.pgh.pa.us>
	<FR2P281MB3341D33FC0BC62B53484614C8A9A9@FR2P281MB3341.DEUP281.PROD.OUTLOOK.COM>

On 4/11/23 07:41, Christian Schröder wrote:
> Hi all,
> Thanks for all your tips!
> I have meanwhile run "ANALYZE" on all tables. Either that was as important as everybody tells me 😉 or it is just a coincidence (e.g., fewer other queries on the database). 

It is:

https://www.postgresql.org/docs/current/pgupgrade.html


Statistics

Because optimizer statistics are not transferred by pg_upgrade, you will 
be instructed to run a command to regenerate that information at the end 
of the upgrade. You might need to set connection parameters to match 
your new cluster.




-- 
Adrian Klaver
adrian.klaver@aklaver.com






view thread (6+ messages)

Message-ID: <813fb203-bf02-3f2b-b4c0-cdcfd5de86c9@aklaver.com>
Permalink:  ../813fb203-bf02-3f2b-b4c0-cdcfd5de86c9@aklaver.com/
Also on:    postgresql.org/message-id/813fb203-bf02-3f2b-b4c0-cdcfd5de86c9@aklaver.com

 · 

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: adrian.klaver@aklaver.com, Christian.Schroeder@solvians.com, tgl@sss.pgh.pa.us, dgrowleyml@gmail.com
  Subject: Re: Performance issue after migration from 9.4 to 15
  In-Reply-To: <813fb203-bf02-3f2b-b4c0-cdcfd5de86c9@aklaver.com>
  References: <FR2P281MB334131052A52EB875A8A6DAF8A9A9@FR2P281MB3341.DEUP281.PROD.OUTLOOK.COM> <CAApHDvr6PGuXbUgu=o=t8vfxr5Gcx=ZSse2vWK9ycg453YwC2A@mail.gmail.com> <143137.1681222135@sss.pgh.pa.us> <FR2P281MB3341D33FC0BC62B53484614C8A9A9@FR2P281MB3341.DEUP281.PROD.OUTLOOK.COM> <813fb203-bf02-3f2b-b4c0-cdcfd5de86c9@aklaver.com>

* 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