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

  1. Open Databases › phpMyAdmin and click the database in the left panel.
  2. Click Check all below the table list, or tick the tables you want.
  3. 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.

Related services

Managed cPanel VPS

cPanel included; we handle updates, security and monitoring.

cPanel server management

hardening, migrations and 24/7 monitoring, with no long-term contract.

cPanel, Plesk and LiteSpeed licences

for VPS and dedicated servers, with installation help on demand.

Was this answer helpful?

Still stuck? Open a ticket