Re: Different execution plan between PostgreSQL 8.4 and 12.11

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Different execution plan between PostgreSQL 8.4 and 12.11
Дата
Msg-id 3810464.1665331329@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Different execution plan between PostgreSQL 8.4 and 12.11  (gzh <gzhcoder@126.com>)
Ответы Re:Re: Different execution plan between PostgreSQL 8.4 and 12.11  (gzh <gzhcoder@126.com>)
Список pgsql-general
gzh <gzhcoder@126.com> writes:
> I run following sql in PostgreSQL 8.4 and PostgreSQL 12.11, it returns different execution plan.

Have you done an ANALYZE in the new database?  The rowcount estimates
seem a lot different, leading me to guess that the newer installation
doesn't have good statistics yet.

            regards, tom lane



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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: recovery.conf and archive files
Следующее
От: Mladen Gogala
Дата:
Сообщение: Re: Different execution plan between PostgreSQL 8.4 and 12.11