Graph Database
ELI5 — The Vibe Check
A graph database stores data as dots connected by lines, like a social network map. Every piece of data knows what it's connected to, so asking 'who are my friends' friends who also like pizza' is lightning fast. Regular databases sweat and cry trying to do those kinds of queries.
Real Talk
A graph database uses graph structures with nodes, edges, and properties to represent and store data. Relationships are first-class citizens stored directly, enabling constant-time traversal regardless of total dataset size. This contrasts with relational databases where join performance degrades with table size.
When You'll Hear This
"Graph databases shine when relationships are the main thing you query." / "We switched to a graph database for our fraud detection pipeline."
Related Terms
Document Store
A document store lets you throw JSON blobs into your database like tossing papers into a filing cabinet.
Key-Value Store
A key-value store is the simplest database possible. You give it a name (key) and some data (value), and it remembers it.
Neo4j
Neo4j stores data as a web of connections, like a conspiracy board with red strings connecting everything.
SurrealDB
SurrealDB is the Swiss Army chainsaw of databases. It does documents, graphs, key-value, AND relational all in one.