MySQL Forums
Forum List  »  InnoDB

Re: How to determine if table is locked or corrupted
Posted by: Ben Clewett
Date: June 30, 2008 07:07AM

SHOW TABLE STATUS is always useful, or SHOW TABLE STATUS WHERE name = 'users'.

The command OPTIMIZE TABLE will rebuild the table as a copy of your original. (In InnoDB only. MyISAM does something else with this command.) This is the best way of dealing with corruption.

Ben

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.