database.sarang.net
UserID
Passwd
Database
DBMS
ㆍMySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
MySQL Q&A 27963 게시물 읽기
No. 27963
mysql에서 table 'tablename' is marked as crashed and should be repaired
작성자
임시손님
작성일
2009-01-07 17:44
조회수
5,012

안녕하세요?

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"

[Top]
No.
제목
작성자
작성일
조회
27966공인자격증에 대해서 문의 드립니다.
박성원
2009-01-09
4097
27965Innodb 이노디비 live상태의 핫백업 가능한가요?
stone
2009-01-09
4789
27964단순 쿼리 속도가 너무 느립니다. [4]
안중경
2009-01-07
6120
27963mysql에서 table 'tablename' is marked as crashed and should be repaired
임시손님
2009-01-07
5012
27962Table lock과 MyISAM 에 관한 질문입니다. (re:query explan에 대한 문의) [1]
박성원
2009-01-07
5392
27961Mysql version upgrade 문의 드립니다. (__) [2]
김현수
2009-01-07
4914
27960buy vicodin
vicodin
2009-01-07
5623
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.017초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다