Re: 9.6 query slower than 9.5.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 9.6 query slower than 9.5.3
Дата
Msg-id 21539.1466129065@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 9.6 query slower than 9.5.3  (Adam Brusselback <adambrusselback@gmail.com>)
Ответы Re: 9.6 query slower than 9.5.3  (Adam Brusselback <adambrusselback@gmail.com>)
Список pgsql-performance
Adam Brusselback <adambrusselback@gmail.com> writes:
> Hey all, testing out 9.6 beta 1 right now on Debian 8.5.
> I have a query that is much slower on 9.6 than 9.5.3.

The rowcount estimates in 9.6 seem way off.  Did you ANALYZE the tables
after loading them into 9.6?  Maybe you forgot some statistics target
settings?

If it's not that, I wonder whether the misestimates are connected to the
foreign-key-based estimation feature.  Are there any FKs on the tables
involved?  May we see the table schemas?

            regards, tom lane


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

Предыдущее
От: Adam Brusselback
Дата:
Сообщение: 9.6 query slower than 9.5.3
Следующее
От: Adam Brusselback
Дата:
Сообщение: Re: 9.6 query slower than 9.5.3