All learning paths ยท 7 concepts ยท 86 min
๐๏ธ Storing data at scale
A book index, a sat-nav, lamps by a door, an in-tray, copy rooms, phone book volumes and storage furniture.
- ๐Database indexesThe index at the back of a book: look the word up and turn straight to its page.
- ๐งญQuery planning and EXPLAINA sat-nav choosing a route from last week's traffic counts, and going badly wrong when those counts are stale.
- ๐กBloom filtersA wall of lamps by a party door that guests switch on, so one look says who surely never came.
- ๐๏ธLSM treesA journalist's in-tray: new notes go in a sorted tray, and full trays become folders that are never edited.
- ๐Replication and read replicasA head office keeps the master ledger and a diary of changes that copy rooms replay, sometimes a little behind.
- ๐ShardingSplitting a phone book too big for one binding into volumes by surname, so one name means opening one volume.
- ๐๏ธNoSQL data modelsSwapping one big ruled ledger for storage furniture built for each job: pegs, filing cabinets, card catalogues.