You can certainly make a MyISAM table look crashed by truncating the .MYI file to 4k (Assuming it was bigger than 4k). Then do a FLUSH TABLE, followed by a query which needs to use an index.
If the tables are crashing spontaneously, then either
- There is a bug in the server
OR
- Something bad is happening - either someone kill -9 the server, it crashes, the power fails, or someone is modifying the MyISAM files
MyISAM tables should not crash spontaneously, but you can expect them to crash following an unclean shutdown. Unclean shutdowns should not happen very often, if they are, it is an operational problem. Ask your operations engineers what's going on. It is normally clear what's happened from reviewing the mysql server error log.
answered 2011-02-28T10:17:03.100