Re: 100000 records resultset giving problem
Posted By:
Luis_Untama
Posted On:
Thursday, October 24, 2002 01:16 PM
1. You should not have any issues on your java program when retrieving any number of records. To test this, run your query and do not create any java beans out of the ResultSet data--just loop through it. It should go quickly. If you see an error, call Oracle. Make sure you have the right driver, then call Oracle. We have had memory issues with older Oracle JDBC classes... but that should not be the case for you.
2. -Xms512m -Xmx512m java options to set to 512 MB (or whatever number you feel is appropriate) initial and max heap size. Look at other java options and use runtime that supports them.
3. I'd like to hear the justification for having 100000 records of anything on an application but that's your business.
4. Why a Vector? Use a better collection.
Re: 100000 records resultset giving problem
Posted By:
Edison_T
Posted On:
Monday, October 21, 2002 04:57 PM
is it possible for you to get first 1000 records and display those and if the user wants to access then go to the database again to get next set of 1000.
Getting 100,000 records is going to be too heavy.