Re: very large result sets and ResultSet.relative() to jump to a desired offset

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: very large result sets and ResultSet.relative() to jump to a desired offset
Дата
Msg-id 48DB3348.7000307@opencloud.com
обсуждение исходный текст
Ответ на Re: very large result sets and ResultSet.relative() to jump to a desired offset  ("Matt Magoffin" <postgresql.org@msqr.us>)
Список pgsql-jdbc
Matt Magoffin wrote:
>> I'd suggest using LIMIT/OFFSET in your query.
>>
>> -O
>
> Hmm, I had thought of that but was hoping to stay just in generic JDBC,
> without Postgres specific SQL changes.

Doing it in the query does have the advantage that the server can
potentially come up with a better query plan.. assuming that it's common
to page through less than the full query output.

-O

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

Предыдущее
От: "Matt Magoffin"
Дата:
Сообщение: Re: very large result sets and ResultSet.relative() to jump to a desired offset
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: COPY support in JDBC driver?