History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-399
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Arjohn Kampman
Reporter: Jeen Broekstra
Votes: 0
Watchers: 0
Operations

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

Native Store Indexes should update when removing triples

Created: 30/May/07 11:36 AM   Updated: 20/Mar/08 08:30 PM
Component/s: Native Sail
Affects Version/s: 2.0-beta1, 2.0-beta2, 2.0-beta3, 2.0-beta4
Fix Version/s: 2.0-rc1


 Description   
The native store's indexes currently do not flush out 'stale' data when triples are removed from the store. Although this typically is not a real problem (it does not significantly influence performance), it becomes noticable when significant amounts of data are removed: the indexes then become disproportionately large compared to the actual amount of triples stored (an actual case is a native store containing 80 million triples, having 3GB indexes, where 60 million triples were removed - the indexes stayed at 3GB however).

It should be possible to update the indexes and have them remove 'stale' entries to conserve disk space.

 All   Comments   Change History      Sort Order:
Comment by Arjohn Kampman [31/Oct/07 01:23 PM]
BTrees now reuse nodes that were discarded during removal operations and shrink the file when the last node in the file is removed (no node relocation yet).