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

Key: SES-797
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Arjohn Kampman
Reporter: Arjohn Kampman
Votes: 0
Watchers: 0
Operations

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

Query performance degradation with assertions enabled

Created: 12/Jul/11 06:31 PM   Updated: 12/Jul/11 06:56 PM
Component/s: Native Sail
Affects Version/s: 2.4.1
Fix Version/s: 2.4.2


 Description   
When SPARQL queries are run on the Nativestore with assertions enabled (with -ea VM flag), performance keeps degrading over time. Simple queries with single pattern to match, have consistent query performance, but when the query complexity increases, this behavior is observed.

 All   Comments   Change History      Sort Order:
Comment by Arjohn Kampman [12/Jul/11 06:56 PM]
A bug was introduced in the BTree while working on SES-776. BTree iterators no longer deregistered themselves with the root node upon closing, causing the list of listeners for this node to grow indefinately. An assertion checked for presence of listeners with List.contains(...), which caused the performance degradation. But even with assertion disabled, this is a serious issue for long running or intensively used native stores.