Re: different query plan for same select

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: different query plan for same select
Дата
Msg-id 13276.1058973666@sss.pgh.pa.us
обсуждение исходный текст
Ответ на different query plan for same select  (Jörg Schulz <jschulz@sgbs.de>)
Ответы Re: different query plan for same select  (Jörg Schulz <jschulz@sgbs.de>)
Список pgsql-performance
=?iso-8859-1?q?J=F6rg=20Schulz?= <jschulz@sgbs.de> writes:
> I'm not very familar with the output of the explain command but can you
> tell me why I get two different query plans?

Judging from the suspiciously round numbers in the cost estimates,
you've never done a VACUUM ANALYZE on any of these tables.  Try that and
then see what plans you get...

            regards, tom lane

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

Предыдущее
От: Jörg Schulz
Дата:
Сообщение: different query plan for same select
Следующее
От: Tom Lane
Дата:
Сообщение: Re: factoring problem with view in 7.3.3