메뉴 건너뛰기

조회 수 4377 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
MySQL Table 복구 - Got error 127 from storage engine

 

1. 에러 메세지

ERROR 1030 (HY000): Got error 127 from storage engine

2. 복구 절차

  1. Analyze Table `Table Name`
  2. Repair Table `Table Name`

3. 예제보기

mysql> SELECT COUNT(A.IDX) AS 'CNT' FROM PRO_QNA_T A WHERE A.TYPE > 0;
ERROR 1030 (HY000): Got error 127 from storage engine
mysql>
mysql>
mysql> Analyze PRO_QNA_T;
ERROR 1064 (42000): You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version
for the right syntax to use near 'PRO_QNA_T' at line 1
mysql> Analyze Table PRO_QNA_T;
+---------------------+---------+----------+----------+
|           Table             |     Op    | Msg_type | Msg_text |
+---------------------+---------+----------+----------+
| ihelpers.PRO_QNA_T | analyze  |   status   |      OK     |
+---------------------+---------+----------+----------+
1 row in set (0.01 sec)

mysql> Repair Table PRO_QNA_T; 
+--------------------+--------+----------+--------------------------------------------+
| Table | Op | Msg_type | Msg_text |
+--------------------+--------+----------+--------------------------------------------+
| ihelpers.PRO_QNA_T | repair | info | Key 1 - Found wrong stored record at 24884 |
| ihelpers.PRO_QNA_T | repair | warning | Number of rows changed from 2187 to 2186 |
| ihelpers.PRO_QNA_T | repair | status | OK |
+--------------------+--------+----------+--------------------------------------------+
3 rows in set (0.17 sec)
mysql> Analyze Table PRO_QNA_T; 
+--------------------+---------+----------+-----------------------------+
| Table | Op | Msg_type | Msg_text |
+--------------------+---------+----------+-----------------------------+
| ihelpers.PRO_QNA_T | analyze | status | Table is already up to date |
+--------------------+---------+----------+-----------------------------+
1 row in set (0.00 sec)
mysql> SELECT COUNT(A.IDX) AS 'CNT' FROM PRO_QNA_T A WHERE A.TYPE > 0; 
+------+
| CNT |
+------+
| 2186 |
+------+
1 row in set (0.01 sec)

mysql>

  1. 전체 텍스트 검색과 파티션

    Date2017.12.22 Views3872
    Read More
  2. 전체 텍스트 검색과 파티션

    Date2017.12.22 Views3955
    Read More
  3. 테이블 파티셔닝

    Date2017.12.22 Views4948
    Read More
  4. 날짜 관련 함수 모음.

    Date2017.12.22 Views3980
    Read More
  5. SQL 고급

    Date2017.12.22 Views6053
    Read More
  6. MySQL 대용량 DBMS 개선 사례

    Date2017.12.28 Views8022
    Read More
  7. MySQL 연결 속도

    Date2017.12.28 Views3929
    Read More
  8. 데이터베이스 파티셔닝이란

    Date2017.12.28 Views4268
    Read More
  9. MySQL 에서 테이블에 이미 존재하는 값으로 UPDATE 하는 경우

    Date2018.07.18 Views1541
    Read More
  10. MySQL DB 에 한글 utf8 문자열 INSERT 오류 해결 방법

    Date2018.07.18 Views2045
    Read More
  11. InnoDB 스토리지 엔진에서 테이블의 최대 저장 row 개수

    Date2018.07.18 Views1683
    Read More
  12. MyISAM 스토리지 엔진에서 테이블의 최대 저장 row 개수

    Date2018.07.18 Views1568
    Read More
  13. MySQL 클라이언트/서버 프로토콜

    Date2018.07.18 Views2759
    Read More
  14. mysql-bin 로그를 SQL 문으로 변환한는 방법

    Date2018.07.18 Views1676
    Read More
  15. 특정 테이블만 replication 하거나 제외하는 방법

    Date2018.07.18 Views2840
    Read More
  16. MySQL 마스터/마스터 replication 에서 AUTO_INCREMENT 문제 해결 방법

    Date2018.07.18 Views1981
    Read More
  17. MySQL replication SQL 문 실행 오류 해결 방법

    Date2018.07.18 Views1619
    Read More
  18. MySQL〃오라클의 nextval을 MySQL에서 사용하기

    Date2018.07.24 Views3879
    Read More
  19. MySQL Table 복구 - Got error 127 from storage engine

    Date2018.07.24 Views4377
    Read More
  20. Mysql Join 해부(Left, Right, Outer, Inner Join

    Date2018.10.02 Views1321
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 Next
/ 7

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved