I have a MyISAM table with 125M records. I added 25M more records to it via: ALTER TABLE x DISABLE KEYS; INSERT INTO x SELECT * FROM y; ALTER TABLE x ENABLE KEYS;
Currently ALTER TABLE x ENABLE KEYS is in the "Repair with Keycache" state. How fast is this repair operation? Is it at least as fast as the case if I didn't disable the index and let rows be added with indexes updated on the fly or is it slower?
If I kill the query now, DROP all the indexes and then re-create them again to force repair by sort (my buffer sizes are large enough) would I risk losing any data?
preguntado el 08 de enero de 11 a las 22:01