The query gets slower as the number of vertices that already exist in JanusGraph gets bigger and big
When i start JanusGraph and perform any query like :
Can anyone help me with this situation?
- g.V().has(properties).limit(10).toList()
- g.V(vertex).repeat(outE()).until(outE().count().is(0)) ( it will traverse about 3-4 vertices)
- g.V().has(properties).next
- g.addV()....... ( 1 vertex)
- g.addE()....... ( 1 edge)
- vertexC: is leaf vertex
- vertexB: associated with a lot of vertexA and their father
- vertexA: father of about 500 vertexB
Can anyone help me with this situation?