Dev4Press No Script

Remove old, unused, orphaned, or obsolete data from the database and optimize it for optimal performance. Identify and remove options and data from all WordPress metadata tables, with support for WP-CLI and WP REST API integrations. Schedule cleanup tasks to run automatically. Various other tools help you maintain your website for optimal performance.

SweepPress is an easy-to-use plugin for WordPress, built around 40 different Sweepers for database cleanup, management for WordPress Options and Sitemeta tables, and management for all metadata tables, support for WP-CLI and WP REST API, the ability to create sweep jobs that can include one or more sweepers, and that can be scheduled to run periodically, and other valuable tools for database clean up and optimization.

The plugin has Pro and Lite editions, with the Lite edition available from It has 40+ sweepers, management for the Options table, and support for WP-CLI and WP REST API.

Compare Lite vs. Pro versions

Get additional information about the plugin:


Quick SweepPress Introduction

To get the quick information about the plugin, check out this video.

Learn more about the SweepPress

Get more information from the Knowledge Base and start cleaning your website the right way

Database Sweeping Methods

The plugin includes 3 sweeping methods and supports clean-up via REST API and CLI.

Auto Sweep

Auto Sweep

The fastest way to clean up the website database is with Auto Sweep, which will run most sweepers.

Quick Sweep

Quick Sweep

Quickly sweep the website by selecting only some sweepers through the Quick Sweep panel on the Dashboard.

Full Sweep Panel

Full Sweep

Use every available sweeper without limitation, and get detailed information about each sweeper.



Integrate the sweeping process in the WP REST API and register sweeper commands to list and run sweepers.

WP CLI Support

WP CLI Support

Integrate the sweeping process in the WP CLI and register sweeper commands to list and run sweepers.

Multisite Support

Multisite Support

If you use multisite, the plugin will load a few additional Sweepers for the Network level sweeping.

Options and Metadata Cleanup

Management panels for WordPress Options, Sitemeta, and all Metadata tables.


Options Cleanup (v5.0 Pro / v3.0 Lite)

Identify all the settings in the WordPress Options database table and remove obsolete or unused settings.


Identify Options and Meta Keys

Different detection methods for all options and meta keys to find which plugins and themes use them.


Monitor Options and Meta Use

Background monitor to detect which meta keys and options are updated or requested by plugins or themes.

PRO Plugin Features only

There are some features only available in the Pro version of the plugin and more Pro exclusive features will be added in future updates.


Sitemeta Cleanup (v5.0)

Identify all the settings in the WordPress Multisite Sitemeta database table and remove obsolete or unused settings.


Metadata Cleanup (v5.0)

Support for all WordPress metadata tables, listing of all the meta keys with usage, and detection of meta key source.

CRON Control

CRON Control

Show all the registered jobs inside the WordPress CRON with tracking of source and much more.

Scheduled Jobs

Scheduled Jobs

Create the job with a custom name, set it as idle, run once at the specified time, or run on a schedule.

Sweeper Monitor

Sweeper Monitor (v2.0)

Daily and Weekly monitor with notifications when the minimum number of records or Database size for sweeping is reached.

Database Overview

Database Overview (v3.0)

Show the status of all database tables, attempt to detect plugin sources, run optimize and repair actions, and more.

Gravity Forms Support

GravityForms Support (v3.3)

The plugin has three sweepers created for the GravityForms plugin: remove thrashed forms, and remove trash/spam entries.

The Log File

The Log File (v3.3)

Log each cleanup execution and all the SQL queries into a file for later debugging and analysis.

List and run the Jobs

List and run the Jobs

Review all scheduled sweeping jobs, check the last progress report, or run any of them manually whenever you want.

List of included Sweepers

SweepPress includes 35 sweepers performing various database clean-up operations. These sweepers belong to several categories, depending on the different types of data they are made for.


  • Auto Drafts
  • Spam Content
  • Trashed Content
  • Posts Revisions
  • Draft Posts Revisions (v3.6 Pro / v2.1 Lite)
  • Posts Orphaned Revisions
  • Postmeta Locks
  • Postmeta Last Edits
  • Postmeta Oembeds
  • Postmeta Orphans
  • Postmeta Old (v3.6 Pro / v2.1 Lite)


  • Usermeta Orphans


  • Expired Transients
  • All Transients
  • Inactive Signups (v3.5 Pro / v2.0 Lite)


  • Spam Comments
  • Trashed Comments
  • Unapproved Comments
  • Orphaned Comments
  • Comments User Agents
  • Commentmeta Orphans
  • Pingbacks Cleanup
  • Trackbacks Cleanup
  • Akismet Metadata (v1.1)


  • Expired Transients
  • RSS Feeds
  • All Transients
  • CRON Jobs


  • Optimize Database Tables
  • Repair Database Tables (v3.0 Pro / v1.7 Lite)


  • Terms Orphans
  • Termmeta Orphans


  • Trashed Forms (v3.3 / Pro Only)
  • Trashed Entries (v3.3 / Pro Only)
  • Spammed Entries (v3.3 / Pro Only)

Action Scheduler

  • Log Entries (v3.7 Pro / v2.2 Lite)
  • Log Orphaned Entries (v3.7 Pro / v2.2 Lite)
  • Failed Actions (v3.7 Pro / v2.2 Lite)
  • Complete Actions (v3.7 Pro / v2.2 Lite)
  • Canceled Actions (v3.7 Pro / v2.2 Lite)

And with more features

There are a few more features plugin includes

Log jobs and stats

Log jobs and stats

The plugin logs various statistical information for all the sweeper runs, sweeper jobs, and more.

Statistics Panel

Statistics Panel

Show total and monthly statistics with removed records and saved space statistics for every sweeper.

Settings Panel

Settings Panel

Control over CLI and REST API integration, additional settings for some of the sweepers, and a few other settings.

Get SweepPress to help you clean your website:
wp sweep, wordpress sweep, wp database sweep, wp cleanup, wp database cleanup, wordpress cleanup, advanced wp cleanup, advanced wordpress cleanup, sweeper monitor, woocommerce, action scheduler