Well, I would recommend using the latest Percona MySQL builds plus, as there is the following note in the MySQL manual
In other cases, MySQL creates a temporary table, even if the data strictly does not need to be copied. For MyISAM tables, you can speed up the operation of re-creating the index (which is the slowest part of the process change) by setting the System myisam_sort_buffer_size variable to a high value.
First you can do ALTER TABLE DISABLE KEYS , then add a column, and then ALTER TABLE ENABLE KEYS . I donβt see anything here that can be done.
By the way, you can not go MongoDB? It does not restore anything when you add a column.
Vladislav Rastrusny Apr 15 2018-11-15T00: 00Z
source share