atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian R (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ATLAS-1868) Highly inefficient DSL-queries
Date Fri, 09 Jun 2017 10:21:18 GMT
Christian R created ATLAS-1868:
----------------------------------

             Summary: Highly inefficient DSL-queries
                 Key: ATLAS-1868
                 URL: https://issues.apache.org/jira/browse/ATLAS-1868
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 0.7-incubating
         Environment: linux, hbase + solr configuration.
            Reporter: Christian R


The DSL query 'mytype where property.id = "id1"' appears to be rewritten as a gremlin query
that resembles:

g.V.has(typename, 'mytype'ยจ).as(x).out('property').has('id', 'id1').back('x')

On our system this query takes 6-7 minutes. The query

g.V.has('id', 'id1').in('property').has('typename', 'mytype')

takes 350 milliseconds.

Our graph:
g.V.count() = 1359151


We have atlas 0.7 installed. I've compiled the latest 0.9 code and looked at the generated
gremlin query as reported in the logs for the same DSL-query, and I think 0.9 has the same
performance issues. Unfortunately I don't have a big graph on a 0.9 installation to test performance.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message