Smart Cleanup Tools is an easy to use, powerful plugin for database cleanup with total of 37 cleanup, reset and removal tools. With this plugin you can remove data that is no longer in use, or it is unneeded.
Also, it can help you restore database overhead and speed up database operations. Plugin supports WordPress multisite, and it has few tools designed for the Network administration.
Powerful Database Cleanup for WordPressCleanup will be more effective if done after several months of normal database use. For example cleanup on www.dev4press.com website, cleanup was done 6 months after previous cleanup. Plugin saved amazing 2/3 of the database space, and database from 192MB was scaled down to 63MB. That is 129MB of junk and unneeded data. Full test is available here.
Quick cleanup: one click full cleanupMain plugin panel shows quick cleanup tool with overview of active tools, found records for removal and estimated size to be recovered. Quick cleanup uses all cleanup tools. If you want to review everything before cleanup, open Cleanup panel for list of all available tools.
Cleanup Tools: 19 in version 5.0Smart Cleanup Tools contains 21 cleanup tools that can remove most of the obsolete or orphaned data in the WordPress database. You can see estimated records that each tool will remove. You can also disable each tool from plugin Settings panel.
List of cleanup tools
- Remove WooCommerce sessions in options table (v4.5)
- Remove orphaned terms records (v3.2)
- Remove oEmbed cached postmeta records (v3.1)
- Remove orphaned relationships records (v3.0)
- Remove expired transient records (also in multisite mode) (v2.5)
- Remove auto-draft posts records
- Remove trashed posts records
- Remove spammed posts records
- Remove published posts revisions records
- Remove orphaned posts revisions records
- Remove trashed comments records
- Remove spammed comments records
- Remove orphaned postmeta records
- Remove orphaned comment meta records
- Remove orphaned comments records
- Remove RSS feeds cache
- Remove empty user meta records
- Remove transient records (also in multisite mode)
- Remove database overhead (also in multisite mode)
Removal Tools: 14 in version 5.0Removal tools can remove data that might be still in use but no longer needed. It can delete attachments, posts, comments or terms based on different criteria. Before using these tools, you should always have backup ready.
List of removal tools
- Remove unapproved comments records (4.7)
- Remove postmeta records with no value (v4.4)
- Remove comment meta records with no value (v4.4)
- Remove draft posts records (v4.3)
- Remove attachments with missing files (v4.0)
- Remove attachments with missing parent posts (v4.0)
- Remove attachments that are not attached (v4.0)
- Remove missing post types posts (v4.0)
- Remove missing taxonomies terms (v4.0)
- Remove missing unassigned taxonomy terms (v4.0)
- Remove missing all available taxonomy terms (v4.0)
- Remove Akismet comments logs (v2.5)
- Remove user agent data for all comments
- Remove pingback comments
Reset Tools: 4 in version 5.0With reset tools you can remove some data from database, and it will be recreated to default values. Removing widgets from sidebars is useful when changing themes, and refreshing rewrite rules is useful when having problems with permalinks.
List of reset tools
- Remove all post edit locks (v4.1)
- Reset all sidebars
- Reset rewrite rules
- Reset plugins data and statistics (also in multisite mode)
Scheduled Jobs for automatic cleanupYou can schedule cleanup jobs to run at any time, they can run once or they can run on a repeat with selected period. All cleanup reports can be saved into files.
Export and Import of settings and jobsAll plugin settings and settings for scheduled jobs can be exported into file and later imported back.
- WordPress Toolbar Menu with quick access and cleanup options
- Tools to export and import plugin settings and scheduled jobs
- Disable tools you don’t want to use from cleanup and reset panels
- Log all executed SQL queries during cleanup check into file
- Log all executed SQL queries during cleanup execution into file
- Log work with normal and scheduled executions
- Gathers statistical data for each tool used
- Gathers global statistics for saved database space
- Uses AJAX for cleanup operation executing
- Support translation and includes POT file
System and WordPress Requirements
- PHP 7.0 or newer
- WordPress 5.0 or newer
DocumentationPlugin contains PDF user guide in the plugin package, inside the ‘docs’ directory. Check out this documentation to get information on plugin options, usage and more.
- Make sure you read plugin documentation and all the information provided by the plugin for each tweak and tool.
- Make sure you backup your database before cleanups, in case you change your mind later. Once removed, plugin can’t restore removed data!
- You are using Smart Cleanup Tools for WordPress at your own risk.
Version 5.0 / 2021.03.22.
- Updated: minimal requirement: WordPress 5.0
- Updated: minimal requirement: PHP 7.0
- Updated: using WordPress code style
- Updated: code inheritance improvements
- Updated: safe use: _ replaced with esc_html_ and esc_attr__
- Updated: safe use: _e replaced with esc_html_e and esc_attr_e
Version 4.9 / 2020.06.13.
- Updated: DB Overhead tool shows additional help message
- Updated: Plugin requires WordPress 4.9 or newer
- Updated: Various core code improvements and cleanup
- Updated: Several styling improvements for newer WP versions
- Updated: Flatpickr Library 4.6.3
- Fixed: Quick Cleanup button enabled even when there is nothing to run
- Fixed: DB Overhead tool was enabled even if it was not available
- Fixed: DB Overhead tool always showing 0 size for the cleanup