Re: Bad performance of SELECT ... where id IN (...)

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Bad performance of SELECT ... where id IN (...)
Дата
Msg-id 603c8f070910050501l784a3505nd62945405694b7d2@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Bad performance of SELECT ... where id IN (...)  (Omar Kilani <omar.kilani@gmail.com>)
Ответы Re: Bad performance of SELECT ... where id IN (...)  (Omar Kilani <omar.kilani@gmail.com>)
Список pgsql-performance
On Sun, Oct 4, 2009 at 9:58 PM, Omar Kilani <omar.kilani@gmail.com> wrote:
> Hi Xia,
>
> Try this patch:
>
> http://treehou.se/~omar/postgresql-8.4.1-array_sel_hack.patch
>
> It's a hack, but it works for us. I think you're probably spending
> most of your query time planning, and this patch helps speed things up
> 10x over here.

Woof.  I can see that helping in some situations, but what a foot-gun!

...Robert

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: updating a row in a table with only one row
Следующее
От: Omar Kilani
Дата:
Сообщение: Re: Bad performance of SELECT ... where id IN (...)