GitHub user jsell-rh added a comment to the discussion: How to Optimize Query Performance With Large Edge Label Count?
Thank you very much for you detailed reply - this is all extremely helpful. Regarding label pruning, this seems to me a logical optimization to add to Apache AGE for queries where you have the start/end vertex labels (one or both) specified, but have no label specified for the edge. My [uneducated] gut tells me that this sort of query is quite common and would greatly benefit from label pruning if there are many labels in a graph. **Are there thoughts to bring this into Apache AGE?** > Modifying the graph creation methodology to prioritize minimal label counts. > > > Probably, the best solution for your case. Good to hear - we will experiment with this approach. After doing some more research, it seems this is the recommended approach for non-trivial graphs. GitHub link: https://github.com/apache/age/discussions/2314#discussioncomment-15571130 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
