O'Reilly logo

Learning Neo4j 3.x - Second Edition by Rik Van Bruggen, Jérôme Baton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using rich properties

As it is actually a best practice to have a very granular model in in-graph database systems, the opposite of this can often be an anti-pattern. Using properties on a node that are ostensibly too rich (as shown in the following figure), can be much better solved by leveraging the model, splitting off the properties into separate nodes, and connecting them using a relationship:

Using rich properties

Look at the following diagram for a potential solution to this anti-pattern:

Granulating rich properties

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required