Select where id in (LARGE LIST) ?

Поиск
Список
Период
Сортировка
От Jasper Potts
Тема Select where id in (LARGE LIST) ?
Дата
Msg-id 42EA4B90.4050606@jasperpotts.com
обсуждение исходный текст
Ответы Re: Select where id in (LARGE LIST) ?  (Csaba Nagy <nagy@ecircle-ag.com>)
Re: Select where id in (LARGE LIST) ?  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
I am working on a gui application which has a list of ids of selected
items. To perform an operation on the selected items I do a
"select/update .. where id in(...)". There seems to be a limit of
100-200 items in the list. Is there a way of doing this with large
lists, maybe 10,000, 100,000 long?

The best solution I have so far is to create a selection table and write
the select out to that and perform a join but the 100,000 inserts are slow.

The ids are int8(long), so not talking large amounts of data, couple Mb
at most. Database and client running on same machine over localhost.

Many Thanks

Jasper

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

Предыдущее
От: Marc Herbert
Дата:
Сообщение: Re: smallint mapping issue
Следующее
От: Csaba Nagy
Дата:
Сообщение: Re: Select where id in (LARGE LIST) ?