MySQL Forums
Forum List  »  MyISAM

Re: Is there any legal case where a clean shutdown leaves crashed MyISAM tables?
Posted by: Rick James
Date: February 13, 2014 11:18PM

> some MyISAM tables are marked as crashed on restart.

They may have been marked from a previous crash.

Some such markings are harmless -- as if the table was open when the crash occurred. This implies that _something_ failed to be written to disk. That flag is cleared on a clean shutdown. If all is quiet before the crash, then nothing other than that flag is waiting to be written.

> may leave partial updates

This can happen (in MyISAM) when, for any reason, an UPDATE is terminated. A KILL of a process within MySQL can cause such.

> Is this a MySQL bug, or am I missing something?
> We've been using several 5.6.x versions.

Oracle has all but abandoned MyISAM. You really should switch to InnoDB. The problems you mentioned will vanish.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Is there any legal case where a clean shutdown leaves crashed MyISAM tables?
1497
February 13, 2014 11:18PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.