Bugs item #1025655, was opened at 2004-09-10 10:32 Message generated for change (Comment added) made by ralfhauser You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536613&aid=1025655&group_id=73068
Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: load large amounts records seriously influence speed Initial Comment: However,if a project has 100000 records,when first loading all the records from database,the speed would be seriously influenced by using this method.how can i do this? ---------------------------------------------------------------------- Comment By: Ralf Hauser (ralfhauser) Date: 2004-09-13 17:42 Message: Logged In: YES user_id=266141 displaying only a page, but still taking the entire 10K records into memory is quicker, but still slow and susceptible to out-of-memory-exceptions. However, there is relief in sight to only load those records from the db that also need to be displayed next - see http://sourceforge.net/tracker/index.php?func=detail&aid=1026408&group_id=73068&atid=536613 ---------------------------------------------------------------------- Comment By: lee_zhang (totodo) Date: 2004-09-10 11:31 Message: Logged In: YES user_id=861579 Oh, displaytag just as a View Part of the project. If you want display 100000 records, you should do this at Control , you can get the page number when you fetch from database in your Business Object ,if pagenumber is null ,then you can only return 20(as like ) recorders.. the displaytag also offer you the pagenum. the format is "d- 1234-p" you can get this parameter's value.. i think ,that the most developer all know how to do pagination in database. ^_^ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536613&aid=1025655&group_id=73068 ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel