WordPress plugin

Advanced Database Cleaner Premium

Advanced Database Cleaner Premium helps WordPress administrators review database entries and pick what to remove. Cleanup can reduce database size and may improve query performance, especially on busy or older sites.

Advanced Database Cleaner Premium

Advanced Database Cleaner Premium helps WordPress administrators review database entries and pick what to remove. Cleanup can reduce database size and may improve query performance, especially on busy or older sites.

Review candidates before removal

Preview eligible records by cleanup type, with an estimate of the space each type may free and a total estimate. Sort preview tables by name, date, size, or site ID. View option values and other supported data in original or formatted form, including serialized and JSON structures.

Premium filters can narrow records by size, value, autoload status, expiration, metadata type, owner, site ID, or cron frequency. You can also filter for duplicated, unused, large, expired, orphaned, or not-yet-scanned entries. Day-based retention rules let cleanup focus on older data.

Choose which database records to clean

General cleanup covers old post and page revisions, auto-drafts, trashed posts, pending, spam, and trashed comments, pingbacks, trackbacks, unused or duplicated post, comment, user, and term metadata, unused relationships, expired transients, and oEmbed caches.

  • For WooCommerce, cleanup includes orphaned product variations, orphaned customer analytics, and expired customer sessions.
  • For Action Scheduler, Premium can clean completed, failed, and canceled actions, their corresponding logs, and orphan logs.
  • Management screens list tables, settings, cron jobs, post types, metadata, and transients for inspection and cleanup. Depending on the section, details include row count, size, value, autoload status, expiration, or schedule. Table tools include optimization, repair of damaged tables, InnoDB conversion, and cleanup.

When ownership scanning is enabled

Premium combines a local scan with Remote SmartScan data to help identify the owners of tables, options, post meta, user meta, transients, and cron jobs. This can help locate orphaned items left by removed plugins or themes. Review multiple possible owners where available, check whether an owner is active, inactive, or not installed, and edit an assignment if an item was misidentified. The interface also shows remote scan credits.

When cleanup needs to run on a schedule

Create separate tasks for different cleanup routines and choose which items each task handles. Schedules can run once, hourly, twice a day, daily, weekly, or monthly. Premium retention rules can keep a chosen number of items per parent, such as revisions per post, or across the site, such as recent pingbacks. Combine item-count and day-based rules when both apply. Scheduled database optimization and repair are also available. Tasks can be paused or resumed, and Premium event logs record what ran, when it ran, and how many items were processed.

To review database growth and activity

Premium analytics track daily database size and table counts, with daily and monthly charts, raw measurements, and table-level changes in size and row count. Select multiple tables to compare their growth. Addon activity tracking records extension activations, deactivations, and uninstalls, along with theme switches and uninstalls, in a color-coded timeline using local time.

The interface also displays current database size, includes logging and direct access to the WordPress debug log, and lets you display or hide tabs. On multisite installations, network-wide cleanup and optimization are managed from the main site, with site ID filters available in Premium.

Start with a reviewed cleanup

Install and activate the extension, then open DB Cleaner from the Dashboard or Tools menu, depending on your options. Choose a cleanup area, apply any filters or retention rules, and inspect the preview before removing records. Back up the database before cleanup.

WordPress Vault Add to Cart Redirect for WooCommerce Pro Additional Custom Emails & Recipients for WooCommerce Pro Additional Terms Pro Additional Variation Images Gallery for WooCommerce Premium Addonify Quick View Pro Address Autocomplete via Google for Gravity Forms Pro Address Book Pro for WooCommerce Admin Bar Editor Pro Admin Columns Pro Admin Custom Login Pro