process large tables

Поиск
Список
Период
Сортировка
От Kristina Magwood
Тема process large tables
Дата
Msg-id OFBBAE2FE3.1E21A457-ON85256FE3.0070B08F-85256FE3.007154DC@nanometrics.ca
обсуждение исходный текст
Ответы Re: process large tables  (Nelson Arapé <narape@ica.luz.ve>)
Re: process large tables  (Alan Stange <stange@rentec.com>)
Список pgsql-jdbc

Hi,
I am trying to process a large table.  Unfortunately, using select * from table gives me a ResultSet that is too large.  
The java runs out of memory even if I boost the vm memory.
Is there any way I can programmatically (in java) retrieve say 10,000 records at a time without knowing anything specific about the table?  Then, when I am done with those records, retrieve the next 10,000, etc?

Thank you in advance for any help you can spare.
Kristina

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

Предыдущее
От: bst
Дата:
Сообщение: Bit string type in PreparedStatement
Следующее
От: Nelson Arapé
Дата:
Сообщение: Re: process large tables