Re: join selectivity

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: join selectivity
Дата
Msg-id 28268.1103814093@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: join selectivity  ("Mark Cave-Ayland" <m.cave-ayland@webbased.co.uk>)
Ответы Re: join selectivity
Список pgsql-hackers
strk@refractions.net writes:
> Doing some tests I've found out that the returned value from the
> JOINSEL is applied to REL1.rows X REL2.rows, but REL1 and REL2
> are not 'base' table, rather relations with a number of 
> rows once again estimated by other selectivity functions.

Right.  This amounts to assuming that the join conditions and the
restriction conditions are independent, which of course is bogus,
but we really don't have enough information to do better.
        regards, tom lane


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

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: Regression (semi)fix for netbsd-mac68k
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Regression (semi)fix for netbsd-mac68k