Re: 7.1.2 query now uses hash-join instead of nested loop

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 7.1.2 query now uses hash-join instead of nested loop
Дата
Msg-id 1873.992877108@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 7.1.2 query now uses hash-join instead of nested loop  ("Tim Knowles" <timknowles@ametco.co.uk>)
Список pgsql-general
"Tim Knowles" <timknowles@ametco.co.uk> writes:
>     I have two machines one running 7.1.1 and the other 7.1.2.  I've used
> pg_dump to dump the schema and data from the 7.1.1 system and loaded it into
> 7.1.2 for testing.  Some of my queries now run a lot slower as the planner
> prefers to use a hash-join instead of a nested loop.

AFAICS from the CVS change logs, there is no difference in planning
between 7.1.1 and 7.1.2.  Perhaps you neglected to run VACUUM ANALYZE
on one case or the other?  The difference in estimated result rows seems
awfully large...

            regards, tom lane

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

Предыдущее
От: "Thalis A. Kalfigopoulos"
Дата:
Сообщение: Re: primary/secondary index, difference
Следующее
От: "Gordan Bobic"
Дата:
Сообщение: Re: Restoring database disk space requirements???