메뉴 건너뛰기

조회 수 4367 추천 수 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. mariaDB 백업 쉘 스크립트

    Date2019.03.05 Views1219
    Read More
  2. MyISAM 스토리지 엔진에서 테이블의 최대 저장 row 개수

    Date2018.07.18 Views1559
    Read More
  3. MYSQL any&all&in&예제& WHERE 절 문제4

    Date2021.03.27 Views112
    Read More
  4. MySQL DB 에 한글 utf8 문자열 INSERT 오류 해결 방법

    Date2018.07.18 Views2039
    Read More
  5. MYSQL FULLTEXT INDEX & PARTION 검색기능향상&파티션

    Date2021.03.27 Views131
    Read More
  6. MYSQL Groupby & having 예제 문제 6

    Date2021.03.27 Views118
    Read More
  7. MYSQL IN&BETWEEN&NULL&예제&FROM절 문제3

    Date2021.03.27 Views105
    Read More
  8. MySQL INSERT 성능 향상

    Date2016.12.22 Views11523
    Read More
  9. MySQL JOIN 걸어서 UPDATE 하기

    Date2017.04.12 Views5352
    Read More
  10. Mysql Join 해부(Left, Right, Outer, Inner Join

    Date2018.10.02 Views1282
    Read More
  11. Mysql Join 해부(Left, Right, Outer, Inner Join)

    Date2017.11.28 Views5340
    Read More
  12. MYSQL order by 예제&문제 7

    Date2021.03.27 Views126
    Read More
  13. MySQL ORDER BY 조건별 필드 및 ASC DESC

    Date2019.01.08 Views4442
    Read More
  14. MySQL replication SQL 문 실행 오류 해결 방법

    Date2018.07.18 Views1608
    Read More
  15. MySQL Replication 설정(Master-Slave, Maste

    Date2014.02.27 Views6782
    Read More
  16. MySQL root 패스워드 분실시

    Date2017.04.12 Views5252
    Read More
  17. MYSQL select 명령문의 조합 &union 예제&문제 8

    Date2021.03.27 Views140
    Read More
  18. MySQL Shard 데이터 재분배

    Date2017.11.28 Views4951
    Read More
  19. mysql table 값 변경 mariadb 테이블 값 변경

    Date2023.01.12 Views86
    Read More
  20. MySQL Table 복구 - Got error 127 from storage engine

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

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

© k2s0o1d4e0s2i1g5n. All Rights Reserved