Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Jamil Akram   on Aug 29 In Java Category.

  
Question Answered By: Viola Hanson   on Aug 29

if you have the 5000 records in memory then its best to deal with that
how you decide. if java is client side, then its not such an issue.
however, if you want to save server side load then its best to do
selects at the user's request, so;

select count['*'] from table;

now you know the number of records.

then paginate those records at the user's request. it is unlikely that
the user wants all 5000 records in 99% of cases, consider google's
paginated records, how many people will look at them all.

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on ResultSet Paginating Or get search suggestion and latest updates.


Tagged: