Re: [SQL] OFFSET impact on Performance???

Поиск
Список
Период
Сортировка
От PFC
Тема Re: [SQL] OFFSET impact on Performance???
Дата
Msg-id opsk9cicntth1vuj@musicbox
обсуждение исходный текст
Ответ на Re: [SQL] OFFSET impact on Performance???  (Oleg Bartunov <oleg@sai.msu.su>)
Ответы Re: [SQL] OFFSET impact on Performance???
Список pgsql-performance
>>     The best part is that you can skip the LIMIT/OFFSET entirely if you
>> put page numbers in your cache table while inserting into it, via a
>> temporary sequence or something. Retrieving the results will then be
>> very fast, but beware that SELECT * FROM table WHERE id =ANY( array )
>> won't use an index, so
>
> contrib/intarray provides index access to such queries.

    Can you provide an example of such a query ? I've looked at the operators
for intarray without finding it.
    Thanks.

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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: [SQL] OFFSET impact on Performance???
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: [SQL] OFFSET impact on Performance???