This is part two of the MySQL Performance Optimization tutorials which shows you how to optimize in easy optimizing steps. Good Luck with the optimization.
How to Optimize MySQL Performance – Part I
You can speed up index scans if you periodically perform a void ALTER TABLE operation, which causes MySQL to rebuild the table:
Another way to perform a defragmentation operation is to use…read more…
ALTER TABLE tbl_name ENGINE=INNODB; or ALTER TABLE tbl_name ENGINE=MYISAM;
