Re: HashJoin w/option to unique-ify inner rel

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: HashJoin w/option to unique-ify inner rel
Дата
Msg-id 7402.1239924412@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: HashJoin w/option to unique-ify inner rel  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: HashJoin w/option to unique-ify inner rel  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Upon further review, it appears that a big part of this problem is
> that cost_hashjoin() doesn't understand that it needs cost semi-joins
> differently from inner or left joins.

Yeah, I have a note to look into that before 8.4 final.  The same is
true for nestloops: stopping after hitting one match to the current
outer can make a big difference, and that's not reflected in costsize.c
yet.  I'm not sure whether cost_mergejoin needs to care.
        regards, tom lane


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

Предыдущее
От: "Lawrence, Ramon"
Дата:
Сообщение: Re: HashJoin w/option to unique-ify inner rel
Следующее
От: Robert Haas
Дата:
Сообщение: Re: HashJoin w/option to unique-ify inner rel