⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’

Excalidraw Data

Text Elements

Why NoSQL? — scale up vs. scale out

SQL classic: one strong server

MySQL

64 cores 1 TB RAM

bigger machine

✓ JOINs, ACID are easy ✗ hard limit, expensive, single point of failure

NoSQL: many cheap servers

node 1

node 2

node 3

node 4

node 5

node 6

add more

✓ nearly unlimited, survives node failures ✗ data is split → JOINs and transactions across nodes are hard (CAP!)

Aggregate models (document, key-value, wide-column) keep data that belongs together on ONE node — so no cross-node JOIN is needed. Graphs are the exception.