Re: join selectivity

Поиск
Список
Период
Сортировка
От strk@refractions.net
Тема Re: join selectivity
Дата
Msg-id 20041223151003.GA4535@freek.keybit.net
обсуждение исходный текст
Ответ на Re: join selectivity  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Dec 23, 2004 at 10:01:33AM -0500, Tom Lane wrote:
> 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

Doesn't JOINSEL have access to RESTRICTSEL output for REL1 and REL2 ?

--strk;


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

Предыдущее
От: strk@refractions.net
Дата:
Сообщение: Re: join selectivity
Следующее
От: Rémi Zara
Дата:
Сообщение: Re: Port report: NetBSD 2.0 mac68k