How Can We Help?
< All Topics
Print

Database Maintenance in phpMyAdmin: Repair and Optimization Guide

A database may require repair and optimization due to issues like table corruption or data inconsistency. Rebuilding table indexes can improve query performance and storage efficiency by compressing data and reducing unused space.

a) How to repair MySQL database tables

1. Log into PHPMyAdmin. (You can get your PHPMyAdmin URL inside your cPanel / Plesk).

2. Then, select the ‘source database’ which you wish to repair from the drop down database menu at the left panel.

phpMyAdmin

3. After that, check the checkbox of the table that needs to be repaired to the left of the table name.

4. Next, select Repair Table from the With Selected drop-down menu.

phpMyAdmin

5. Finally, the table is automatically repaired, and the repair operation results are displayed.

phpMyAdmin

b) How to optimize MySQL database tables

1. Log into PHPMyAdmin. (You can get your PHPMyAdmin URL inside your cPanel / Plesk).

2. Then, select the ‘source database’ which you wish to optimize from the drop down database menu at the left panel.

phpMyAdmin

3. After that, check the checkbox of the table that needs to be repaired to the left of the table name.

4. Next, select Optimize Table from the With Selected drop-down menu.

phpMyAdmin

5. Finally, the optimization will be executed automatically, and a new page will appear displaying the operation’s results.

phpMyAdmin

Table of Contents