~/talk

Migrating Away from MySQL for an awesome full text search

Talkat PostgresOpen 2014 · 2014-09-17..09-19· [databases]
links:none on file
slides:none on file

Migrates a Django app from MySQL to Postgres using Pi MySQL to pgsql (simple YAML script) and later PG loader (bulk load then create indexes) and measures real times: ~3 minutes for 4.5M rows with the simple script, 42 seconds for 756 MB with PG loader. Builds a full-text search that uses Postgres full text stemming, TS vector/query, TS rank and headline for highlights, per-field ranking and OR fallback, and shows it works and is performant.

AI-written summary · about

  1. 0:00Start
  2. 1:18SPLIT PERSONALITY PRESENTATION
  3. 4:37LETS MIGRATE (PART 1)
  4. 10:33NOTES ON MIGRATION SPEED
  5. 17:15BENCHMARKING APPLES AND ORANGES
  6. 18:48WHAT'S THE BIG DEAL WITH STEMMING?
  7. 22:40SEARCH REQUIREMENTS
  8. 26:01ADD THE SEARCH MAGIC
  9. 33:05LETS TALK STRATEGY
~/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.