Skip to main content

02 Graph Databases

Motivations

The table based structure of relational databases makes it hard to represent relationships between rows in the same table,and moreover whenever someone needs to find a relationship between records of different tables the db has to perform a JOIN operation, which is usually very expensive.

So for the use cases in which relationships are the most important feature of our data (e.g. social network friendships) it would be best to go with a technology who can implement relationships in a native and efficient way,and that’s where graph dbs come in.