Hello All,
I have made a dump of my database in which one table is pretty huge (about 4 million records) and has good number of indices(One full text index along with a primary key and 3 unique indices). When i try to restore this dump the restore hangs(its been running for five days now) when it tries to execute the statement which enables keys (ALTER table x ENABLE keys).
Any suggestions on how to go about restoring this dump are more than welcome. The table in question is a myisam table.
Here is the output of showprocesslist
mysql> show processlist;
+------+----------+-------------------------------------------------+---------------+---------+------+----------------------+------------------------------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+------+----------+-------------------------------------------------+---------------+---------+------+----------------------+------------------------------------------------+
| 2350 | rdsadmin | localhost:52508 | NULL | Sleep | 3701 | | NULL |
| 3331 | root | <remote_ip> | <db> | Query | 7971 | Repair with keycache | /*!40000 ALTER TABLE `entities` ENABLE KEYS */ |
| 3810 | root | <remote_ip> | NULL | Query | 0 | NULL | show processlist |
+------+----------+-------------------------------------------------+---------------+---------+------+----------------------+------------------------------------------------+
3 rows in set (0.00 sec)
Thanks