Home / Questions / Why is my WordPress database so large and slow?

Why is my WordPress database so large and slow?

A large WordPress database comes from old post revisions, expired transients, and plugin logs. Cleaning them in small steps keeps the site fast.

WordPress keeps every revision of every post, plus temporary data called transients. Plugins add logs too. Over years, the database can grow large and slow the site.

What to clean

  • Post revisions, which you can limit in wp-config.php with define( 'WP_POST_REVISIONS', 5 );.
  • Expired transients and spam comments.
  • Old logs from plugins you no longer use.

Ready to act on this?

Get a written review of your site, or send us your question and we will reply within 24 hours.

Keep a backup first

Take a full database backup before any cleanup. Run the cleanup in small steps and test the site after each one. Ask your host to optimise the tables if the database is still large.

If the site stays slow after cleanup, read our guide to a slow WordPress website or contact us.

Related services

Not sure where your site stands?

Send us the details and we will reply within 24 hours with a clear next step.