Re: Hash Join cost estimates

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Hash Join cost estimates
Дата
Msg-id 2942.1364589445@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Hash Join cost estimates  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: Hash Join cost estimates  (Jeff Davis <pgsql@j-davis.com>)
Re: Hash Join cost estimates  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> Yes, I have run into this issue (or something very similar). I don't
> understand why the bucketsize even matters much -- assuming few hash
> collisions, we are not actually evaluating the quals any more times than
> necessary. So why all of the hashjoin-specific logic in determining the
> number of qual evaluations? The only reason I can think of is to model
> the cost of comparing the hashes themselves.

I think the point is that there may *not* be few hash collisions ...
        regards, tom lane



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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Hash Join cost estimates
Следующее
От: Bruce Momjian
Дата:
Сообщение: Fix for pg_upgrade and invalid indexes