Updated: 28 September 2026 · Applies to: phpMyAdmin 5.2 in cPanel & WHM 138
Optimizing a table reclaims space left after many rows were deleted and rebuilds its indexes. It is most useful after large clean-ups.
Steps
- Open Databases › phpMyAdmin and click the database in the left panel.
- Click Check all below the table list, or tick the tables you want.
- In With selected, choose Optimize table.
The result shows OK for each table. For InnoDB tables the message says the table does not support optimize and was recreated instead; that is normal.
Note: Optimizing locks tables while it runs. Do it at a quiet time on busy sites.