Re: [SQL] OFFSET impact on Performance??? - Mailing list pgsql-performance

From PFC
Subject Re: [SQL] OFFSET impact on Performance???
Date
Msg-id opsk9cicntth1vuj@musicbox
Whole thread Raw
In response to Re: [SQL] OFFSET impact on Performance???  (Oleg Bartunov <oleg@sai.msu.su>)
Responses Re: [SQL] OFFSET impact on Performance???
List 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 by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: [SQL] OFFSET impact on Performance???
Next
From: Oleg Bartunov
Date:
Subject: Re: [SQL] OFFSET impact on Performance???