Skip to content
Situnio

Performance & SEO

Clean up the database

Remove a site’s revisions, auto-drafts and expired transients, on demand or every month.

Part of the Performance & SEO pack.

On this page

Analyze the database#

On a site’s Performance page, find Database cleanup and click Analyze the database. Situnio shows what can be removed and an estimate of the space it takes up. This step changes nothing.

Database cleanup for a site
Database cleanup for a site

What can be removed#

  • Revisions: older versions of posts and pages. Revisions to keep for each piece of content sets how many to keep, 3 by default. Autosaves are never removed.
  • Auto-drafts: created by WordPress when the editor opens, then abandoned. Only those older than 7 days are removed.
  • Expired transients: outdated temporary data. Transients that are still valid are not touched.
  • Spam comments and Trashed comments: these are not ticked at first. Check first that no message was classified by mistake.

Published content and approved comments are never removed.

Run the cleanup#

  1. Tick what you want to remove.
  2. Click Clean up now, then confirm.

Deletion is permanent. To keep a way back, run a backup of the site first. On a large database, the cleanup continues in the background and the result then appears on the page.

Repeat it every month#

Tick Repeat this cleanup every month, then click Save. Situnio uses the ticked items, site by site. If the pack stops, automatic cleanups stop too.

Still have a question? Write to us.