?
Solved

Myisam crash table failed reapir

Posted on 2011-05-11
2
Medium Priority
?
426 Views
Last Modified: 2012-05-11
Hi,

We have a Mysql Server 5.5 and when I have a Myisam big table (About 30 Gigabyte) using partition.

The server go down (power failure) and when I restart, the table has marked as crash.

When I try to do a repair (quick or extended), the mysql always stopped.

Any suggestion, how can I try to repair this table?

thanks
0
Comment
Question by:lnrivera
2 Comments
 
LVL 60

Accepted Solution

by:
Kevin Cross earned 2000 total points
ID: 35742027
How have you tried to do the repair so far?

If you strictly used REPAIR TABLE, you can try myisamchk method http://dev.mysql.com/doc/refman/5.5/en/repair-table.html
I recall (this was about 6 years ago) having a database that size and having to recover from crashes always seem to require myisamchk with options http://dev.mysql.com/doc/refman/5.5/en/myisamchk-repair-options.html

Try using the --force in this case for example

Hope that helps!
0
 

Author Closing Comment

by:lnrivera
ID: 35894991
Great!
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Recursive SQL is one of the most fascinating and powerful and yet dangerous feature offered in many modern databases today using a Common Table Expression (CTE) first introduced in the ANSI SQL 99 standard. The first implementations of CTE began ap…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month16 days, 21 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question