Facbook Pixel




Optimize table in MySQL

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.

  1. Access phpMyAdmin for the database you want to use (Web & Classic / cPanel / Plesk).
  2. Double-click the Database Name.
  3. At the bottom of the list of tables, click Check all tables having overhead
  4. From the drop down menu, select Optimize table.