Re: 7.4 vs 7.3 ( hash join issue )

Поиск
Список
Период
Сортировка
От Dennis Bjorklund
Тема Re: 7.4 vs 7.3 ( hash join issue )
Дата
Msg-id Pine.LNX.4.44.0409220844010.9559-100000@zigo.dhs.org
обсуждение исходный текст
Ответ на 7.4 vs 7.3 ( hash join issue )  (Gaetano Mendola <mendola@bigfoot.com>)
Ответы Re: 7.4 vs 7.3 ( hash join issue )  (Gaetano Mendola <mendola@bigfoot.com>)
Список pgsql-performance
On Wed, 22 Sep 2004, Gaetano Mendola wrote:

> Now my question is why the 7.4 choose the hash join ?  :-(

It looks to me that the marge join is faster because there wasn't really
anything to merge, it resulted in 0 rows. Maybe the hash join that is
choosen in 7.4 would have been faster had there been a couple of result
rows (just a guess).

It would be interesting to compare the plans in 7.4 with and without
hash_join active and see what costs it estimates for a merge join compared
to a hash join.

--
/Dennis Björklund


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

Предыдущее
От: Gaetano Mendola
Дата:
Сообщение: 7.4 vs 7.3 ( hash join issue )
Следующее
От: Gaetano Mendola
Дата:
Сообщение: Re: 7.4 vs 7.3 ( hash join issue )