¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 138°Ç
   
[MYSQL] XXXXXXXXX is marked as crashed and should be repaired
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2013-12-11 (¼ö) 13:03 Á¶È¸ : 8142
±ÛÁÖ¼Ò :
                          

¿øÀÎ : À̹ÌÁö Àüü¹é¾÷ÀÌÈÄ VMÀ» °­Á¦·Î Á¾·áÇϸ鼭 ¹ß»ý
Áõ»ó : DB Å×À̺íÀÌ ¼Õ»óµÇ¼­ µ¥ÀÌŸ¸¦ ÀÐÀ»¼ö ¾øÀ½


# MYSQL ¿¡·¯ ¸Þ¼¼Áö
 tail -n100 -f /usr/local/mysql/data/localhost.err
131211 12:38:47 [ERROR] /usr/local/mysql/bin/mysqld: Table './XXXXXX/xe_counter_log' is marked as crashed and should be repaired
131211 12:38:47 [ERROR] /usr/local/mysql/bin/mysqld: Table './XXXXXX/xe_counter_log' is marked as crashed and should be repaired
131211 12:38:47 [ERROR] /usr/local/mysql/bin/mysqld: Table './XXXXXX/xe_counter_log' is marked as crashed and should be repaired
131211 12:38:48 [ERROR] /usr/local/mysql/bin/mysqld: Table './XXXXXX/xe_counter_log' is marked as crashed and should be repaired
131211 12:38:48 [ERROR] /usr/local/mysql/bin/mysqld: Table './XXXXXX/xe_counter_log' is marked as crashed and should be repaired
131211 12:38:48 [ERROR] /usr/local/mysql/bin/mysqld: Table './XXXXXX/xe_counter_log' is marked as crashed and should be repaired
131211 12:38:48 [ERROR] /usr/local/mysql/bin/mysqld: Table './XXXXXX/xe_counter_log' is marked as crashed and should be repaired
131211 12:38:48 [ERROR] /usr/local/mysql/bin/mysqld: Table './XXXXXX/xe_counter_log' is marked as crashed and should be repaired
131211 12:38:49 [ERROR] /usr/local/mysql/bin/mysqld: Table './XXXXXX/xe_counter_log' is marked as crashed and should be repaired
131211 12:38:49 [ERROR] /usr/local/mysql/bin/mysqld: Table './XXXXXX/xe_counter_log' is marked as crashed and should be repaired
131211 12:38:50 [ERROR] /usr/local/mysql/bin/mysqld: Table './XXXXXX/xe_documents' is marked as crashed and should be repaired
131211 12:38:50 [ERROR] /usr/local/mysql/bin/mysqld: Table './XXXXXX/xe_counter_log' is marked as crashed and should be repaired
131211 12:38:50 [ERROR] /usr/local/mysql/bin/mysqld: Table './XXXXXX/xe_counter_log' is marked as crashed and should be repaired


ÇØ´ç Database ·Î µé¾î°¡¼­
mysql> repair table xe_counter_log;
+--------------------------+--------+----------+----------------------------------------------+
| Table                    | Op     | Msg_type | Msg_text                                     |
+--------------------------+--------+----------+----------------------------------------------+
| XXXXXX.xe_counter_log | repair | warning  | Number of rows changed from 144945 to 144912 |
| XXXXXX.xe_counter_log | repair | status   | OK                                           |
+--------------------------+--------+----------+----------------------------------------------+
2 rows in set (25.41 sec)


¡Ø Å×À̺íÀÌ ¼Õ»óµÇ´Â Áõ»óÀº ¾Æ·¡¿Í °°Àº ¿¹±âÄ¡ ¾Ê´Â ¹®Á¦·Î ÀÎÇÏ¿© ¹ß»ýµË´Ï´Ù. 
 - tbl_name.frm º¯°æ¿¡ ´ëÇÑ ¶ôÀÌ °É¸° °æ¿ì 
 - tbl_name.MYI (Errcode: nnn) ÆÄÀÏÀ» ãÀ» ¼ö ¾ø´Â °æ¿ì
 - ¿¹»óÄ¡ ¸øÇÑ ÆÄÀÏ Á¾·á 
 - ÀúÀå ÆÄÀÏÀÇ Ãæµ¹
 - table handler·Î ºÎÅÍ ¿À·ù nnnÀ» ¹Þ¾ÒÀ» ¶§


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.