Thomas Mueller created OAK-1999:
-----------------------------------

             Summary: Query engine is slow when using many "or" constraints
                 Key: OAK-1999
                 URL: https://issues.apache.org/jira/browse/OAK-1999
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: query
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller


For queries with many (300 or so) "or" constraints of the form "x = 1 or x = 2 
or x = 3", the query engine uses quite a lot of CPU time. According to 
profiling data, this is due to using "toString()" too often, and "Sets.union" 
(com.google.common.collect.Sets).

The Oak 1.0 branch is affected most, not sure about trunk.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to