myisamchk: error: Not enough memory for blob at 解决办法

用myisamchk 修复数据出错

Key 1 - Found wrong stored record at 196535144
Found block with too small length at 196535388; Skipped
Found block with too small length at 196535456; Skipped
myisamchk: error: Not enough memory for blob at 196535800 (need 1667331167)
MyISAM-table 'bb_product.MYI' is not fixed because of errors

原因是数据记录数太长,内存不够,加以下参数尝试。



myisamchk --max-record-length=1667331167

猜你喜欢

转载自boymylove.iteye.com/blog/1462319