Skip to content
Select theme
Get Started

Database Cleanup

Summarize with AI

Database Cleanup Intelligent database cleaner with ownership-aware browsers, batched scanning, safe cleanup categories, and optional scheduled maintenance.

Intelligent database cleaner with ownership-aware browsers, batched scanning, safe cleanup categories, and optional scheduled maintenance.

  • Managed from a dedicated admin page under WP PowerSuite.
  • General cleanup.
  • Post meta.
  • User meta.
  • Comment meta.

Enable it if:

  • You specifically need: Intelligent database cleaner with ownership-aware browsers, batched scanning, safe cleanup categories, and optional scheduled maintenance.
  • You want this Site Tools feature without installing a separate plugin for it.

Options you can configure for this module include:

  • General cleanup
  • Post meta
  • User meta
  • Comment meta
  • Term meta
  • Cron jobs
  • Post types
  • Scan Database
  1. Go to WP PowerSuite -> Modules.
  2. Open Site Tools or search for “Database Cleanup”.
  3. Toggle Database Cleanup on.
  4. Confirm WP PowerSuite Pro is installed and your license is active.
  5. Open the module settings / admin page and save.

Toggle it off anytime to stop this module from loading.

  • Confirm Database Cleanup is enabled under WP PowerSuite -> Modules -> Site Tools.
  • Use the feature this module controls (the admin UI, front-end behavior, upload, login flow, etc.).
  • ✅ Pass: you see the module-specific behavior described above.
  • ❌ Fail: re-check this module’s settings and Pro install/license, then look for another plugin doing the same job.
  • No change after enabling. Confirm the toggle is on, hard-refresh, and review this module’s settings.
  • Conflicts. Temporarily disable other plugins that implement the same feature.
  • Locked / inactive. Install WP PowerSuite Pro beside the free plugin and activate your license.
  • Unexpected side effect. Toggle Database Cleanup off to revert, then re-enable with adjusted settings.

Prefer the command line? You can turn this module on or off with WP-CLI instead of the dashboard:

Terminal window
# Turn the module on
wp powersuite module enable database-cleanup
# Turn the module off
wp powersuite module disable database-cleanup
# Check whether it is on, its category, and where its settings live
wp powersuite module get database-cleanup

Managing more than one site? Add --url=https://example.com to point a command at one site. If this is a Pro module, install WP PowerSuite Pro and activate your license first. New to WP-CLI? See the full command guide.

Preview and run database cleanup from the command line:

Terminal window
# See what would be cleaned up (nothing is deleted)
wp powersuite database cleanup --dry-run
# Run the everyday cleanup tasks
wp powersuite database cleanup --yes
# Include the more aggressive tasks as well
wp powersuite database cleanup --include-caution --yes

--dry-run shows what would be removed without deleting anything. Everyday cleanup runs by default; more aggressive tasks need --include-caution, and deleting asks for confirmation (or add --yes).

What does Database Cleanup do?

Intelligent database cleaner with ownership-aware browsers, batched scanning, safe cleanup categories, and optional scheduled maintenance.

Is Database Cleanup included in WP PowerSuite Pro?

Yes. Database Cleanup ships in the WP PowerSuite Pro add-on. Install Pro beside the free plugin and activate your license.

Where do I manage Database Cleanup?

After enabling it, open its dedicated page under WP PowerSuite.

How do I turn Database Cleanup off?

Go to WP PowerSuite -> Modules, find Database Cleanup, and toggle it off.

Developer notes (hooks & filters)

Source: modules/database-cleanup/admin/page-database-cleanup.php, modules/database-cleanup/admin/views/browser.php, modules/database-cleanup/admin/views/general-cleanup.php, modules/database-cleanup/admin/views/settings.php, modules/database-cleanup/admin.php, modules/database-cleanup/includes/class-cleanup-history-list-table.php, modules/database-cleanup/includes/class-cleanup-logger.php, modules/database-cleanup/includes/class-cleanup-task-registry.php. Boot: admin · context: admin, ajax, cron.

Hooks (non-exhaustive): see module source.