Speed & performance

Database bloat in WordPress: common causes and fixes

Updated 2026-04-11 · Practical guide for NZ small businesses

Short answer: Revisions, transients, spam, and orphaned post meta inflate MySQL tables—trim safely after backups and staging tests.

Slow admin and fat backups are symptoms long before the public site complains.

Common causes

  • Unbounded post revisions and autosaves.
  • Plugins storing huge option rows or abandoned cron entries.
  • Spam comments and pingbacks.

Fix approach

Measure table sizes; remove obvious cruft; uninstall plugins that leak transients; consider InnoDB maintenance during quiet windows.

Avoid cowboy SQL

Random internet snippets can delete legitimate data—use reputable tools or developers.

Frequently asked questions

Will optimisation plugins delete content?

Possible—backup and verify post counts before/after.

Does bloat affect SEO?

Indirectly—slow admin slows publishing; very slow queries can hurt TTFB.