SQL vs NoSQL.
Labelled filing cabinets with strict folders, versus a fast drawer you can toss anything into.
- 1
SQL is a labelled filing cabinet: you define the folders — the schema — before storing anything.
- Wrong shape — rejected.2
Every record must fit the agreed shape, so the cabinet can enforce rules and reject mess.
- 3
Its real power is relationships: separate folders stitched together on demand with a join.
- Just toss it in.4
NoSQL is a fast drawer: store first, define later, each item keeping its related data together.
- 5
No fixed shape means it spreads across many machines easily — but often with weaker guarantees.
- 6
Neither wins. Many systems use a relational core plus a NoSQL store for caches and logs.
Semicolony semicolony.dev/eli5/sql-vs-nosql/comic