Re: Any disadvantages of using =ANY(ARRAY()) instead of IN?

Поиск
Список
Период
Сортировка
От Clemens Eisserer
Тема Re: Any disadvantages of using =ANY(ARRAY()) instead of IN?
Дата
Msg-id CAFvQSYTqNZmdBLx6JmcmjS8vk-mCWKYbNJfa91=-7hCpXJRJ-Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Any disadvantages of using =ANY(ARRAY()) instead of IN?  (Clemens Eisserer <linuxhippy@gmail.com>)
Ответы Re: Any disadvantages of using =ANY(ARRAY()) instead of IN?  (Clemens Eisserer <linuxhippy@gmail.com>)
Список pgsql-performance
Hi again,

>> That doesn't sound like a tremendously good idea to me.
> Could you elaborate on the downsides of this approach a bit?

Any other thoughts about the pro/cons replacing IN(subquery) with
=ANY(ARRAY(subquery))?
Are there patological cases, except when the subquery returns a huge
amount of rows?

Should Ifile a bug-report about the optimizer trying too hard to
collapse the subquery and therefor generating a bad plan?

Thank you in advance, Clemens

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: scale up (postgresql vs mssql)
Следующее
От: Dan Fairs
Дата:
Сообщение: Unexpected sequence scan