Query taking 40-45 seconds to execute #3883
-
Hey community,
The graph has around 25k vertices that are emitted from this traversal and after filtering via has steps around 4k are left. I have used Without the has step the query performance is good, but when adding the has step in the query, the query time increase by a lot. Please let us know the right approach to make these type of query where starting from a vertex we need to find all it's parents of a specific type. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
Hi,
has
step in your query doesn't apply multi-query optimization. Please, upgrade to the latest JanusGraph commit version1.0.0-20230705-152651.16846ad
to use those optimizations.You can find distribution builds here: https://github.com/JanusGraph/janusgraph/actions/runs/5466111451 (scroll down and click on
distribution-builds
).The optimization is not yet officially released, but should be released in
1.0.0-rc3
or the final1.0.0
release.Also, we plan to add additional optimizations specifically for CQL and HBase storage backends into
1.0.0
release (not yet merged).Hope it helps.