process large tables - Mailing list pgsql-jdbc

From Kristina Magwood
Subject process large tables
Date
Msg-id OFBBAE2FE3.1E21A457-ON85256FE3.0070B08F-85256FE3.007154DC@nanometrics.ca
Whole thread Raw
Responses Re: process large tables
Re: process large tables
List 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 by date:

Previous
From: bst
Date:
Subject: Bit string type in PreparedStatement
Next
From: Nelson Arapé
Date:
Subject: Re: process large tables