Document Store
ELI5 — The Vibe Check
A document store lets you throw JSON blobs into your database like tossing papers into a filing cabinet. Each document can have a totally different structure. No rigid schemas, no migrations, just vibes and JSON. MongoDB made this popular, and developers loved it until they needed joins.
Real Talk
A document store is a NoSQL database that stores data as semi-structured documents, typically JSON or BSON. Each document is self-contained with its own schema, enabling flexible data modeling. Documents can be nested and indexed on any field. Trade-offs include potential data duplication and less efficient cross-document queries.
When You'll Hear This
"Document stores are perfect when your data shape varies per record." / "We started with a document store but moved to Postgres when relationships got complex."
Related Terms
FaunaDB
FaunaDB is a globally distributed database that's obsessed with correctness.
Graph Database
A graph database stores data as dots connected by lines, like a social network map.
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.
SurrealDB
SurrealDB is the Swiss Army chainsaw of databases. It does documents, graphs, key-value, AND relational all in one.