Databases · Senior · Question 58 of 75

When does a graph database (like Neo4j) fit better than a relational one?

Explanation

Relational databases can do it with recursive CTEs, but deep traversals get slow and awkward. For shallow relationships SQL is fine.

Further reading

Problem with a question

Databases · Senior · question 58

Test yourself

Take the Databases · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz