pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zahir Lalani <ZahirLalani@oliver.agency>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: PG10 upgrade issue
Date: Sun, 2 Jun 2019 23:52:15 +0000
Message-ID: <d7c5174c-3fec-4336-af76-ebfbd0ba3a00@email.android.com> (raw)
In-Reply-To: <26624.1559517508@sss.pgh.pa.us>
References: <AM0PR06MB4004380B0655C6B9C228F5AFA71B0@AM0PR06MB4004.eurprd06.prod.outlook.com>
	<26624.1559517508@sss.pgh.pa.us>

Ah no we did not!

Will give that a go next tim Tom

Thank you

Z

On 3 Jun 2019 00:18, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Zahir Lalani <ZahirLalani@oliver.agency> writes:
> We have done pg10 upgrades from 9.6 on all our environments successfully. We have an automation script that does this for us. One environment is a near replica of our production setup and all works fine.

> We have now made 2 attempts at doing this on production - both ending up with rollback

> The key issue we have is that all queries were incredibly slow. The PG 10 postmaster workers would all show 100% cpu, especially on the replicas. We even increased CPUs but that made no difference.

Did you make sure to rebuild statistics (re-ANALYZE) after the upgrade?
pg_upgrade makes a script for that, but I don't believe it runs it for
you.

                        regards, tom lane

view thread (3+ messages)

Message-ID: <d7c5174c-3fec-4336-af76-ebfbd0ba3a00@email.android.com>
Permalink:  ../d7c5174c-3fec-4336-af76-ebfbd0ba3a00@email.android.com/
Also on:    postgresql.org/message-id/d7c5174c-3fec-4336-af76-ebfbd0ba3a00@email.android.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: ZahirLalani@oliver.agency, tgl@sss.pgh.pa.us
  Subject: Re: PG10 upgrade issue
  In-Reply-To: <d7c5174c-3fec-4336-af76-ebfbd0ba3a00@email.android.com>
  References: <AM0PR06MB4004380B0655C6B9C228F5AFA71B0@AM0PR06MB4004.eurprd06.prod.outlook.com> <26624.1559517508@sss.pgh.pa.us> <d7c5174c-3fec-4336-af76-ebfbd0ba3a00@email.android.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