- myisam_sort_buffer_size変数の数値を増やし、bugの発生を防ぐ
2014年12月31日
MySQL MyISAMテーブルにDMLで: "ERROR 144 (HY000): Table ???? is marked as crashed and last (automatic?) repair failed"
M
mac
Author
2 min
Read Time
19
Views
この記事で
症状
リーズン
ソリューション
回避策
恒久的な解決
リファレンス
適用範囲:
MySQLサーバのバージョン5.0以上
この資料の情報は、すべてのプラットフォームに適用されます。
症状
MyISAMテーブルにDMLを使ったら (inserts, deletes, selectsなど),以下のトラブルになるかもしれない:
101001 14:57:57 [ERROR] ./bin/mysqld: Table './test/t2' is marked as crashed and last (automatic?) repair failed
原因
Bug 11764345 –SHOW TABLE STATUS + SMALL MYISAM_SORT_BUFFER_SIZE IN REPAIR, TABLE CRASHE
当小的myisam_sort_buffer_size与repair by sort发生,且有人运行 'show
table status' 或引用表selects from information_schema tables,错误在日志中出现。当check table在运行时,表不显示损坏。
解決策
一時的な方法:
1.トラブルテーブルREPAIR TABLEでテーブルをリカバリする。