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

Поиск
Список
Период
Сортировка
От Grzegorz Jaśkiewicz
Тема Re: Bad performance of SELECT ... where id IN (...)
Дата
Msg-id 2f4958ff0909261058h25c8a498p38c561c9aff19aa7@mail.gmail.com
обсуждение исходный текст
Ответ на Bad performance of SELECT ... where id IN (...)  (Xia Qingran <qingran.xia@gmail.com>)
Список pgsql-performance
if you reuse that set a lot, how about storing it in a table , and doing the join on db side ? 
if it is large, it sometimes makes sense to create temp table just for single query (I use that sort of stuff for comparing with few M records). 
But temp tables in that case have to be short lived, as they can't reuse space (no FSM in temporary table world I'm afraid, I hope it will be fixed at some stage tho).

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

Предыдущее
От: Pierre Frédéric Caillaud
Дата:
Сообщение: Re: PG 8.3 and large shared buffer settings
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: PG 8.3 and large shared buffer settings