~/talk

Large Scale MySQL Migration to PostgreSQL

Talkat Postgres Open 2012 · 2012-09-17..09-19· [databases]
slides:none on file

A Top-10 photo site moves its data and code off MySQL to PostgreSQL under a fixed deadline: 32 million users 1 billion photos >6TB get exported and reshuffled into 256 partitions across 16 DB servers, with a six‑week copy window and a six‑hour restore plan for failed nodes. Migration uses csv exporters, pgloader, SQL ETL, pljava to decode Google Protocol Buffers blobs, plus pgbouncer pgq plproxy and Amazon hosting; the result runs in production and stays stable.

AI-written summary · about

  1. 0:00PostgreSQL migration intro
  2. 1:08Photolog architecture change
  3. 3:16Old MySQL architecture
  4. 7:06Business reasons for migration
  5. 9:15New PostgreSQL architecture
  6. 12:10PL/Proxy sharding in PostgreSQL
  7. 14:44Choosing Amazon Web Services for hosting
  8. 18:56Data migration challenges
  9. 23:11Migrating with pgLoader and ETL
  10. 26:02PL/Java blobs and legacy code
  11. 31:08Processing photo comments
  12. 33:18Post-migration performance
  13. 35:05PGQ batch processing
  14. 37:57PgBouncer benefits
  15. 43:22Automating extensions
  16. 45:45Timeline and budget
  17. 48:13Handling node failures
  18. 51:03Performance trade-offs
  19. 53:05AWS evaluation after year
  20. 56:01Cost comparison
  21. 58:32Q&A
~/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.