MySQL Forums
Forum List  »  Performance

Re: MYSQL Table Optimization
Posted by: Rick James
Date: May 15, 2015 11:02AM

Short answer -- never use OPTIMIZE TABLE.

Long answer --

MyISAM? Or InnoDB? -- it makes a difference.

SHOW CREATE TABLE -- need to see indexes, etc before advising.

SHOW TABLE STATUS -- this will give some clues of the state of the table. What version of MySQL? There are other clues in newer versions.

Options: ReplyQuote


Subject
Views
Written By
Posted
1341
May 13, 2015 09:53PM
Re: MYSQL Table Optimization
613
May 15, 2015 11:02AM


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.