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.

โ–ถ Start with Database indexes
  1. ๐Ÿ“‘Database indexesThe index at the back of a book: look the word up and turn straight to its page.
  2. ๐ŸงญQuery planning and EXPLAINA sat-nav choosing a route from last week's traffic counts, and going badly wrong when those counts are stale.
  3. ๐Ÿ’กBloom filtersA wall of lamps by a party door that guests switch on, so one look says who surely never came.
  4. ๐Ÿ—‚๏ธLSM treesA journalist's in-tray: new notes go in a sorted tray, and full trays become folders that are never edited.
  5. ๐Ÿ“šReplication and read replicasA head office keeps the master ledger and a diary of changes that copy rooms replay, sometimes a little behind.
  6. ๐Ÿ“•ShardingSplitting a phone book too big for one binding into volumes by surname, so one name means opening one volume.
  7. ๐Ÿ—„๏ธNoSQL data modelsSwapping one big ruled ledger for storage furniture built for each job: pegs, filing cabinets, card catalogues.