Janusgraph taking too much time or gives Timeout Error #4055
Replies: 2 comments 2 replies
-
I won’t go too deep into investing performance issues of this use-case, but will leave some tips which may help:
Hope other community members can add more tips or help you with your performance issue. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestions. I am going through the points you suggested. One thing I wanted to discuss about query optimization is
I have this query, If we break down the query,
This made my response much faster. Now, the problem is the query after this,
Here I check if I have |
Beta Was this translation helpful? Give feedback.
-
I am using Janusgraph 0.6.3 with cassandra as backend and elastic search as the index backend. I have around 30 million vertices and 40 million edges in my graph, I am using a 128 GB RAM machine, with 32 core CPU which have both Janus and Cassandra installed on it. (Elastic is hosted on other machine with more better specs).
I have defined both composite and mixed index for the property I am using in my gremlin queries,
Composite Index
Mixed Index
The query that I am running on this graph is,
As we can say, I am using 4 properties in my gremlin query,
and all 4 are indexed in both Composite and Mixed Index. Then why does it gives timeout.
I have checked the machine performance metrics as well, the machine does not utilize 50% of CPU. If the machine has CPU power, then why Janusgraph is not uitlizing that ?
I have kept all the Janusgraph configurations to default value.
One thing that I am also unsure about is, when I do the profiling for the above query, it hits the
seeker
index only (from the first part of the query), after that shouldn't it hit thecompany
index as well ? andstart_date
andend_date
index as well ?Beta Was this translation helpful? Give feedback.
All reactions