ATLAS
/
Lessons
/
Databases
LESSONS
COURSES
CAREERS
TELECOMS
REVIEW
PROGRESS
Databases
Transactions, isolation levels, indexing, and the trade-offs that shape every query.
01
Isolation Levels
How much of another transaction's mess can you see?
L2
18 MIN
02
MVCC
Readers never block writers, and old versions never die on their own
L3
18 MIN
03
B+ TREE
The index behind almost every relational database
L2
15 MIN
04
LSM TREE
Turn random writes into sequential ones, and keep your deletes deleted
L2
16 MIN
05
Query Planning
The optimizer finds the cheapest road to the same answer
L2
15 MIN
06
INDEXES & SELECTIVITY
The index that makes your query slower
L2
15 MIN
07
SHARDING & REBALANCING
Adding one node should not move every key
L2
15 MIN
08
DEADLOCKS IN THE DATABASE
Two UPDATEs, opposite order, and the detector picks a victim
L2
15 MIN
09
CAPSTONE: THE SLOW QUERY
Everything in this path, in one 4-second SELECT
L3
20 MIN