Using specific relationship type names in Neo4j graph data models (e.g., HAS_PHONE, HAS_EMAIL) instead of generic names (e.g., HAS) can significantly improve Cypher query performance. A concrete comparison shows that specific relationship types reduce database hits by ~28% on a small graph by eliminating the end-label filtering

5m read timeFrom medium.com
Post cover image
Table of contents
Learn why the names of relationships types in your graph data model are important for optimizing your cypher queries.IntroductionVersion 1: same names for the relationship typesVersion 2: different names for the relationship typesComparisonConclusion

Sort: