Remove old, unused, orphaned, or obsolete data from the database, and optimize the database for the best performance. Support for WP-CLI and WP REST API integrations. Schedule cleanup tasks to run automatically. Various other tools to 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, 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 useful tools for database clean up and optimization.

The plugin has Pro and Lite editions, with the Lite edition available from WordPress.org and having all the sweepers and support for WP-CLI and WP REST API.

Compare Lite vs. Pro versions


Get additional information about the plugin:

Sweep.Press

Quick SweepPress Introduction

The video shows the plugin features, including the differences between the Pro and Lite editions.

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 of the sweepers.

Quick Sweep

Quick Sweep

Quickly sweep the website by selecting only some of the 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.

WP REST API Support

WP REST API Support

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.

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.

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.

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.

CRON Control

CRON Control

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

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.

Options Cleanup

Options Cleanup

Coming soon…

Meta Data Cleanup

Meta Data Cleanup

Coming soon…

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.

Posts

  • 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)

Users

  • Usermeta Orphans

Network/Multisite

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

Comments

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

Options

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

Database

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

Terms

  • Terms Orphans
  • Termmeta Orphans

GravityForms

  • 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