Database Cleanup
What it does
Database Cleanup removes leftover WordPress data that grows over time and can optionally optimize tables. Cleanup cannot be undone.
Watch the walkthrough
Starts at 24:24 in the Divi Nitro 5.0 walkthrough.
Where to find it
Divi Engine → Nitro Settings → Database Cleanup
Settings
| Setting | Type | Default | What it does |
|---|---|---|---|
| Post revisions | Toggle | Off | Removes old edit history. Does not delete published content. Safe/Balanced/Aggressive presets turn the type on |
| Auto-drafts | Toggle | Off | Removes unfinished automatic drafts. Manually saved drafts stay |
| Trash | Toggle | Off | Permanently deletes items already in Trash |
| Spam comments | Toggle | Off | Permanently deletes spam. Approved comments stay |
| Expired transients | Toggle | Off | Clears expired temporary cache rows. Active transients stay |
| Optimize tables | Toggle | Off | Asks MySQL to reorganize tables after deletions. Does not delete content |
| Run weekly automatically | Toggle | Off | Scheduled clean of the types you enabled. Aggressive preset turns this on |
| Refresh counts | Button | — | Reloads how many items would be cleaned |
| Clean now | Button | — | Runs cleanup with a progress modal |
How to use
- Take a backup on production.
- Review the live counts.
- Choose what to clean and save.
- Click Clean now and wait for the progress modal to finish.
- Optionally enable weekly runs after you are happy with the results.
warning
Do not run aggressive database cleaners in Nitro and WP-Optimize on overlapping schedules.