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 4.7Smart 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 4.7Removal 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 4.7With 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
Integration with Other PluginsSmart Cleanup Tools adds new event in security log to track execution of cleanup, reset and removal jobs (including cron executions).
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 4.7 / 2018.08.10.
- Added: extra explanation for the Quick Cleanup
- Added: removal tool for unapproved comment removal
- Updated: few tweaks to auto enabled cleanup tools
- Deleted: removed cleanup tool for unapproved comment removal
- Deleted: removed obsolete GravityForms cleanup tools
Version 4.6 / 2017.05.07.
- Added: plugin front page uses new layout and shows more information
- Added: jQuery SumoSelect library for multi select dropdowns
- Added: jQuery Flatpickr library for scheduler first run selection
- Updated: orphaned relationships records now ignores NetGen Gallery tags
- Updated: various styling improvements for the cleanup and reset cards
- Updated: various small core improvements in many plugin areas
- Updated: plugin now requires WordPress 4.0 or newer
- Updated: plugin now requires PHP 5.3 or newer
- Deleted: removed jQueryUI library used for dialogs and multiselects
- Deleted: removed all outdated code and unused files
- Fixed: minor issue with the Quick Cleanup tool on plugin front page
Version 4.5 / 2016.07.13.
- Added: cleanup tool for removing WooCommerce sessions in options table
- Updated: queries for transient and site transient cleanup tools