SQL vs. NoSQL
Lesson 9 of 40 · Sys.Micro
Tables with joins or documents by key? Pick by access pattern, not by fashion.
You are building an online store: customers, orders, products, inventory. Someone says “use NoSQL, it scales”. Someone else says “just use Postgres”. Both can be right; it depends on how the data is read and written.
The relational model: tables, keys, joins, transactions
Document stores: one read returns the whole object
Check yourself
Which workload fits a relational database best?
Do it in the browser: a real system design tool, a short mission and instant feedback. No install.
Start this lesson — free