Re: NOT IN subquery optimization

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: NOT IN subquery optimization
Дата
Msg-id 8724.1550709644@sss.pgh.pa.us
обсуждение исходный текст
Ответ на NOT IN subquery optimization  (Jim Finnerty <jfinnert@amazon.com>)
Ответы Re: NOT IN subquery optimization  (Jim Finnerty <jfinnert@amazon.com>)
Список pgsql-hackers
Jim Finnerty <jfinnert@amazon.com> writes:
> We have been working on improved optimization of NOT IN, and we would like
> to share this optimizaton with the community.

The idea that's been kicked around in the past is to detect whether the
subselect's output column(s) can be proved NOT NULL, and if so, convert
to an antijoin just like NOT EXISTS.  Is that what you're doing, or
something different?

> We would like to include a patch for this change in the current commitfest. 

Generally, people just send patches, they don't ask for permission first
;-)

Having said that, we have a general policy that we don't like complex
patches that first show up for the last commitfest of a dev cycle.
So unless this is a pretty small patch, it's probably going to get
delayed to v13.  Still, we'd like to have it in the queue, so submit
away ...

            regards, tom lane


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: propagating replica identity to partitions
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: amcheck verification for GiST