Re: Bogus nestloop join estimate, ignores WHERE clause

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bogus nestloop join estimate, ignores WHERE clause
Дата
Msg-id 3645.1314824359@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bogus nestloop join estimate, ignores WHERE clause  (Marti Raudsepp <marti@juffo.org>)
Список pgsql-hackers
Marti Raudsepp <marti@juffo.org> writes:
> After a bit of digging, I figured out that it uses the same estimate
> as a semi-join WITHOUT the client_id restriction.
> ...
> For whatever reason, the 1st query completely ignores the fact that
> the client_id clause reduces the result count by a large factor.

Could we see the pg_stats rows for the two join columns?
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Ensure that contrib/pgstattuple functions respond to cancel
Следующее
От: Oleg Bartunov
Дата:
Сообщение: WIP: SP-GiST, Space-Partitioned GiST