Database Cleanup Intelligent database cleaner with ownership-aware browsers, batched scanning, safe cleanup categories, and optional scheduled maintenance.
What it does
Section titled “What it does”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.
When to use it
Section titled “When to use it”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.
When not to use it
Section titled “When not to use it”Settings
Section titled “Settings”Options you can configure for this module include:
- General cleanup
- Post meta
- User meta
- Comment meta
- Term meta
- Cron jobs
- Post types
- Scan Database
How to enable it
Section titled “How to enable it”- Go to WP PowerSuite -> Modules.
- Open Site Tools or search for “Database Cleanup”.
- Toggle Database Cleanup on.
- Confirm WP PowerSuite Pro is installed and your license is active.
- Open the module settings / admin page and save.
Toggle it off anytime to stop this module from loading.
How to test it
Section titled “How to test it”- 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.
Troubleshooting
Section titled “Troubleshooting”- 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.
Manage with WP-CLI
Section titled “Manage with WP-CLI”Prefer the command line? You can turn this module on or off with WP-CLI instead of the dashboard:
# Turn the module onwp powersuite module enable database-cleanup
# Turn the module offwp powersuite module disable database-cleanup
# Check whether it is on, its category, and where its settings livewp powersuite module get database-cleanupManaging 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.
Extra commands for this module
Section titled “Extra commands for this module”Preview and run database cleanup from the command line:
# See what would be cleaned up (nothing is deleted)wp powersuite database cleanup --dry-run
# Run the everyday cleanup taskswp powersuite database cleanup --yes
# Include the more aggressive tasks as wellwp 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.