~/talk

Puny to Powerful PostgreSQL Rails Apps

Talkat RailsConf 2022 · 2022-05-17..05-19· [databases, ruby-on-rails]
slides:none on file

Five concrete takeaways: safe migrations split schema change from backfill using strong_migrations and batched, nontransactional updates to avoid table locks; a 10M‑row example drops a 330ms seq scan to 0.1ms with a primary key index; connection pooling via PG Bouncer reduces need to scale DB instances; use pg_stat_statements with PG Hero to find hot queries; schedule vacuum/reindex with pg_cron or pg_repack and implement monthly range partitions plus read replicas to retire old location data.

AI-written summary · about

  1. 0:00Start
  2. 15:47Query Investigation Process
  3. 16:30Improving Query Performance
  4. 23:45Implementation Challenges
~/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.