Re: PG10 upgrade issue

Поиск
Список
Период
Сортировка
От Zahir Lalani
Тема Re: PG10 upgrade issue
Дата
Msg-id d7c5174c-3fec-4336-af76-ebfbd0ba3a00@email.android.com
обсуждение исходный текст
Ответ на Re: PG10 upgrade issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PG10 upgrade issue
Следующее
От: Morris de Oryx
Дата:
Сообщение: Re: Questions about btree_gin vs btree_gist for low cardinality columns