Skip to main content

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​

SettingTypeDefaultWhat it does
Post revisionsToggleOffRemoves old edit history. Does not delete published content. Safe/Balanced/Aggressive presets turn the type on
Auto-draftsToggleOffRemoves unfinished automatic drafts. Manually saved drafts stay
TrashToggleOffPermanently deletes items already in Trash
Spam commentsToggleOffPermanently deletes spam. Approved comments stay
Expired transientsToggleOffClears expired temporary cache rows. Active transients stay
Optimize tablesToggleOffAsks MySQL to reorganize tables after deletions. Does not delete content
Run weekly automaticallyToggleOffScheduled clean of the types you enabled. Aggressive preset turns this on
Refresh countsButton—Reloads how many items would be cleaned
Clean nowButton—Runs cleanup with a progress modal

How to use​

  1. Take a backup on production.
  2. Review the live counts.
  3. Choose what to clean and save.
  4. Click Clean now and wait for the progress modal to finish.
  5. 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.

What's Next​