PrepCity

Graph databases: follow the links, not the joins

Open the lab

By the last page, this is the design you will have built.

Lesson · 7 pages · about 5 min

Graph databases: follow the links, not the joins

When the question is about connections (friends of friends, who bought what, how two things are linked), a graph database stores the links themselves and walks them. See the same recommendation as SQL joins and as a graph walk, and what each reads.

Words you’ll learn

  • Database
  • Row
  • Join
  • Graph database
  • Index-free adjacency
  • Worker
  • Cypher
  • Permission
  • SQL

Page by page