Duplicator Documentation

Documentation, Reference Materials, and Tutorials for Duplicator

Managing Database Tables (Optimize and Repair)


The Table Management tab helps you win back wasted space and fix damaged tables. This guide explains what table overhead is, the difference between Optimize and Repair, and how to make sense of the results.


The short version

Your WordPress database is built out of tables. As data gets added, changed, and deleted, tables can leave behind empty space (that’s “overhead”) and, much more rarely, get damaged. The Table Management tab lists your tables with their size and overhead, and gives you two buttons: Optimize and Repair.

Good to know: DB Optimizer only ever lists and works on tables that belong to this WordPress install (the ones matching your table prefix). If another app or a second WordPress site shares the same database, those tables are left completely alone. So these operations are safe to run even on a shared database.

What overhead is

Overhead is space a table has reserved but isn’t using anymore. It’s normal, and it builds up over time, especially on tables that change a lot. It won’t break anything, but it does make your database bigger than it needs to be and can slow some queries down.

Optimizing a table clears that overhead and tidies the data so it’s quicker to read.

Optimize vs Repair

These two buttons do very different jobs:

  • Optimize clears overhead and tidies the table. This is the routine upkeep you’ll run most often, and it’s safe to run any time.
  • Repair checks a table for damage and fixes it if needed. You only reach for this when a table is genuinely broken, say after a server crash or a write that got cut off partway.

Optimizing your tables

  1. Open DB Optimizer » Table Management.
  2. Look down the Overhead column to spot tables with space to reclaim.
  3. Select the tables you want to optimize.
  4. Click Optimize and let it run.

If any table couldn’t be optimized, DB Optimizer tells you which ones by name.

Repairing your tables

  1. Open DB Optimizer » Table Management.
  2. Select the table or tables you want to check.
  3. Click Repair. DB Optimizer checks each one first and only repairs the tables that actually need it.

Every table you repair comes back with one of four results:

ResultWhat it meansWhat to do
OKThe table checked out fine. Nothing needed fixing.Nothing. It’s healthy.
RepairedThe table had a problem and DB Optimizer fixed it.Nothing more. It’s healthy now.
UnsupportedThe table uses the InnoDB storage engine, which doesn’t support the REPAIR command.This isn’t an error. See the note below.
FailedThe check or repair couldn’t finish.See the note below.

About “Unsupported” results

Most modern WordPress sites run on the InnoDB storage engine, and InnoDB simply doesn’t support the manual REPAIR command. Seeing “unsupported” just means there’s nothing to repair this way, not that anything’s wrong. InnoDB looks after itself with its own built-in crash recovery. If you really do suspect an InnoDB table is damaged, your host can run a deeper recovery at the server level.

About “Failed” results

A failed result almost always points to something on the server side, like a permissions issue or a table that was briefly locked. Give it a minute and try again. If it keeps happening, reach out to your host or open a support ticket with the table name and the exact message you saw.


Was this article helpful?


Related Articles

Don't Let Another Day Pass Unprotected

Every hour without proper WordPress backups puts your site at risk • Every delayed WordPress migration costs you performance and growth

Get Duplicator Now
Duplicator Plugin

Wait! Don't miss your
exclusive deal!

As a customer, you get 60% OFF

Try Duplicator free on your site — see why 1.5M+ WordPress pros trust us. But don't wait — this exclusive 60% discount is only available for a limited time.

or
Get 60% Off Duplicator Pro Now →