Optimize Table in MySQL
Print this Article
Last Updated:
June 19, 2015 9:37 AM
Optimizing your database removes the gaps in data or "overhead" that can occur when your database works with your website.
This can have the side effect of restoring optimal performance to your website if its database contributes to its slowing. However, optimizing your database does not prevent future slowing because it does not fix the scripting that initially created the overhead.
Before you begin, you need to back up your database. For more information, see Backing up and Restoring MySQL or MSSQL Databases.
- Access phpMyAdmin for the database you want to use (Web & Classic / cPanel / Plesk).
- Double-click the Database Name.
- At the bottom of the list of tables, click Check all tables having overhead
- From the drop down menu, select Optimize table.