Database Optimisation Playbook
Clears database clutter in stages: a readiness check, a verified database backup, a count that flags anything unusual, a sweep through WordPress's own delete functions, a check afterwards and a final report.
“Dash, run Database Optimisation on my site.”
- Super Agent
- Dash · Performance
- Effect
- Can change the site
- Steps
- 8 1 changes the site, 1 takes a backup first
- Connector
- No connector needed
What you get
A written Markdown report of what was counted, cleared and rechecked, plus advice on reclaiming table space.
What it looks at
- Revisions, auto drafts, trashed items and pending or spam comments
- Transients, orphaned and duplicated metadata, unused terms and oEmbed cache
- Tables with reclaimable space
The steps in order.
DB Preflight Readiness
Checks the site is healthy, at least 200 MB is free for the backup, no other run is in progress and the last run did not end in a critical state.
DB Smart Backup
Saves a full database backup file in your uploads folder before anything is removed. It is not a copy kept off your server.
Verify DB Backup
Checks that the database backup is complete and readable before any clean up starts.
Count And Anomaly Guard
Counts each type of clutter and leaves out any type that is over half of its table. Posts with visitor comments are never swept.
Sweep Safe Types
Deletes the remaining clutter types one at a time with WordPress's own delete functions, after confirming the backup. Pending, spam and trashed comments are deleted permanently, and deleting a trashed or draft post also deletes its comments.
Post Sweep Verification
Rechecks that each cleared type dropped, a few untouched types did not change, no published post or approved comment was lost and the site is still healthy.
Optimize Tables Advisory
Lists tables with space to reclaim and recommends how to reclaim it, without running any optimization.
DB Final Report
Writes the final report of what was cleared and how the run ended.
Unused & Duplicate Media Report
Finds duplicate images and images WordPress shows no use of.
Only reads4 stepsWP Doctor
Diagnoses a problem you report and matches it to a known cause. It applies a fix only for safe WordPress-level causes and hands everything else back with exact steps.
Can change the site5 stepsPlugin Safe Update
Applies plugin updates one at a time, then checks the site.
Can change the site8 steps