SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-398
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Duplicate
Priority: Major Major
Assignee: Shay Banon
Reporter: Jonny Wray
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Compass

Alternative index method with hibernate

Created: 11/May/07 09:03 PM   Updated: 22/Feb/08 03:03 AM
Component/s: Compass::Gps
Affects Version/s: None
Fix Version/s: 1.2 M3

File Attachments: 1. Java Source File HibernateIndexEntitiesIndexer.java (2 kB)



 Description  « Hide
The current hibernate indexing method using pagination can be slow for large datasets and, in particular, slows down as the indexing progresses. There's a forum thread about it at http://forums.opensymphony.com/thread.jspa?threadID=67326&tstart=0.

I came up with an alternative indexing method using hibernates ScrollableResults solution which shows much better behaviour with large numbers of instances, and the code will be attached to this issue.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Jonny Wray added a comment - 11/May/07 09:06 PM

Here's the actual java file. Even though it is an inner class of AbstractHibernateGpsDevice I've included it here in its own java file.

Shay Banon added a comment - 29/Jul/07 05:11 PM
Duplicate of CMP-440