I have a gremlin query to fetch a few nodes that are related to a particular node.
g.V('123').outE().otherV().has('label','secure')
The vertex with id 123 has at least 5000 nodes in its outE() with label secure Also the label property is an indexed property for that node type in the graph schema. This simple query takes 800ms to complete which is way too high compared to similar use cases in RDBMS.
Am I missing something here , or can someone help me optimize this more.
This is DSE 5.1.10, Any help is appreciated
Thanks