|
|
|
|
|
by c3
5235 days ago
|
|
This is old news, but we successfully use https://github.com/freels/table_migrator in production not on heroku. It creates a copy of the table, performs the schema changes, copies the data over, then renames the tables for almost (i.e. 1-2 seconds) no downtime. |
|
The Percona pt-online-schema-change tool goes to great lengths to avoid this kind of problem.