~/talk

From Tables to Documents - Changing Your Database Mindset

links:none on file
slides:none on file

Compares MySQL and MongoDB using Python code and concrete user documents (Lesley, Ron, Lauren) to show that documents map to language data structures, making queries and updates faster and simpler — the demo shows 27 lines vs 2 lines of code for the same profile update. Explains sharding for horizontal scaling, flexible schema (omit fields instead of nulls), the outlier and polymorphic patterns for huge follower lists, and why data accessed together should be stored together so multi-document transactions are rarely needed.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:09From Ron Swanson to database mindset
  3. 4:59Documents and JSON explained
  4. 14:21Term mapping tables to documents
  5. 18:58Four advantages of document databases
  6. 31:40Changing your database mindset
  7. 39:44Conclusion and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.