Programmer. Chief Architect @ Neo4j. Views my own.
Mar 19, 2021 • 15 tweets • 3 min read
1/15 Neo4j has always assigned every node (and relationship, but let's focus on nodes) a long value that's called the node's id. Multiply that by the node record size and you know the offset in the node store.
2/15 This id functions as an always present, automatically assigned psedo-property, which allows for O(1) lookups and is also used as the value in our indexes. It's very useful as an addressing mechanism.