You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@rya.apache.org by "Brad (Jira)" <ji...@apache.org> on 2020/06/17 08:16:00 UTC

[jira] [Created] (RYA-535) Rya Accumulo performance can be improved

Brad created RYA-535:
------------------------

             Summary: Rya Accumulo performance can be improved
                 Key: RYA-535
                 URL: https://issues.apache.org/jira/browse/RYA-535
             Project: Rya
          Issue Type: Improvement
          Components: dao
    Affects Versions: 4.0.0
            Reporter: Brad
            Assignee: Brad


The Glowroot Java profiler found that for a fairly complex SPARQL query that takes about 40 seconds to return, a huge 85% of the query time was spend in the RangeBindingSetEntries class, doing the RangeBindingSetEntries#containsKey(Key) function. Therefore optimising the performance of this method is critical to overall Rya performance.

The very existence of this method, which relies on a O(n) lookup operation, could potentially be refactored out by a small change to the way iterators are returned from the DAO.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)