MySQL在Windows系统,OPTIMIZE或REPAIR损坏了大于4GB的MyISAM表

适用于:

MySQL服务器版本5.6及以上

本文信息适用于所有平台。

目标

 

Windows系统,OPTIMIZE TABLE损坏了大于4GB的表。

 

解决方案

Windows创建的bug引起损坏的发生:

http://bugs.mysql.com/bug.php?id=69683

BUG 17235179 OPTIMIZE AFTER A DELETE RETURNS ERROR 0 CAN’T GET STAT OF MYD FILE

解决方案是升级到5.6.19或更新版本。

参考

BUG:17235179 –OPTIMIZE AFTER A DELETE RETURNS ERROR 0 CAN’T GET STAT OF MYD FILE

http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news5619.html


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *