I was recently dropping an index from a very large (20GB) InnoDB and the MySQL instance crashed. When I restarted it, the instance wouldn't start and my server log had a message linking to the MySQL article about forcing InnoDB Recovery (http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html). I set innodb_force_recovery to 4, dumped my tables, and re-loaded them into the database.
However, I would like to avoid having this problem re-occur in the future. Was dropping the index the cause of the inndob crash? What else might have caused it? Is there any maintenance that I should be performing to minimize these innodb crashes?
Thanks!
However, I would like to avoid having this problem re-occur in the future. Was dropping the index the cause of the inndob crash? What else might have caused it? Is there any maintenance that I should be performing to minimize these innodb crashes?
Thanks!