안녕하세요?
mysql에서 데이터는 잘쌓이는데... 갑자기 조회를 하니....
table 'tablename' is marked as crashed and should be repaired (localhost)
이렇게 나오네요....
그래서 인터넷에서
analyze table usertable;
로 보고 난후에
repair table usertable;
로 치료를 하라고 하길래...
위와같이 하니... 다음과 같이 쭈룩 나오네요...
최종적으로 status oK 까지 떴는데.... 이러면 문제가 없는건가요?
혹시.. DB가 깨지게된 이유를 찾을수도 있을까요?
analyze table usertable;
"Table" "Op" "Msg_type" "Msg_text"
"project2.usertable" "analyze" "error" "Found 1136478 keys of 1136577"
"project2.usertable" "analyze" "error" "Corrupt"
repair table usertable;
"Table" "Op" "Msg_type" "Msg_text"
"project2.usertable" "repair" "info" "Wrong bytesec: 0- 0- 0 at 142244056; Skipped"
"project2.usertable" "repair" "warning" "Number of rows changed from 1136577 to 1136512"
"project2.usertable" "repair" "status" "OK" |