~/talk

Dropping Into B-Trees

Talkat RailsConf 2018 · 2018-04-17..04-19· [databases]
slides:none on file

Covers what a B‑tree actually stores and why indexes copy data, shows a 50,000-row demo loaded from a Gist and CSV, runs PostgreSQL EXPLAIN on primary key vs string lookups and measures costs, explains B-tree rebalancing costs on inserts and why string comparisons are slower, and points to tools like EXPLAIN comparisons and Strong Migrations for safe changes — practical, measurable examples and numbers rather than abstract promises.

AI-written summary · about

  1. 0:00Intro
  2. 2:20Learning
  3. 6:17Index
  4. 9:40Sample Data
  5. 10:57SQL Notice
  6. 12:00What Does It Mean
  7. 16:58BTrees
  8. 21:30Balancing
  9. 25:46Resources
~/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.