HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
freels
table_migrator
Ruby2009–2012
freels / table_migrator · Archived

table_migrator

Zero-downtime table migrations in MySQL

3Distinct people
3Mentions
0Explicit recommenders
230GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Zero-downtime table migrations in MySQL

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 2:59:58 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year3 dated mentions

Observed mentions: 2009-07-18 07:22:16 UTC to 2012-09-03 07:34:41 UTC.

0122009-01-01 00:00:00 UTC to 2010-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments20092010-01-01 00:00:00 UTC to 2011-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20102011-01-01 00:00:00 UTC to 2012-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2012-01-01 00:00:00 UTC to 2013-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2012

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20092009-01-01 00:00:00 UTC2010-01-01 00:00:00 UTC110
20102010-01-01 00:00:00 UTC2011-01-01 00:00:00 UTC000
20112011-01-01 00:00:00 UTC2012-01-01 00:00:00 UTC000
20122012-01-01 00:00:00 UTC2013-01-01 00:00:00 UTC202

What Hacker News says

2 sources
In trying to undesrtand why such a negative reaction, soundcloud's take on this goes beyond just ruby or rails. They detail an approach that goes extends tzs' suggestion: 1. Get the maximum primary key value for the table 2. Create new table and journal table 3. Activate journalling with triggers 4. Perform alter statement on new table 5. Copy in chunks up to max primary key value to new table 6. Switch new and original table names and remove triggers 7. Replay journal: insert, update, deletes Not only did the have success with this approach, they studied Facebook's approach[1], and Twitter's[2], and explain why it didn't work for them. [1] https://github.com/freels/table_migrator [2] http://www.facebook.com/note.php?note_id=430801045932
In Reddit's database has only two tables

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.