PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Database
  4. Optimize Database after Deleting…
Optimize Database after Deleting Revisions icon

Optimize Database after Deleting Revisions

One-click database optimization with precise revision cleanup and flexible scheduling. Speeding up sites since 2011!

By NerdPress·Database·Free
4.7(181 reviews)
·60K+ active installs·Updated 8 months ago
DownloadCompare

As of April 2026, Optimize Database after Deleting Revisions is a WordPress database plugin with 60K+ active installations and a 4.7/5 rating from 181 reviews. It has been downloaded 4.0M+ times in total. Requires WordPress 2.8+ and PHP 5.6+. Available on WordPress.org since 2011. Downloads are up 8% this week. Top alternative: Advanced Database Cleaner – Optimize &….

4.7/5181 reviews
60K+active installs
4.0M+total downloads
15 yearssince 2011

Overview

NerdPress has adopted Optimize Database After Deleting Revisions! Read the announcement here.

This plugin is a ‘One Click’ WordPress database cleaner & optimizer, with precise revision cleanup and flexible scheduling.

Main Features

  • Deletes revisions of posts, pages and / or custom post types (you optionally can keep an ‘x’-amount of the most recent revisions and you can choose to delete revisions older than…)
  • Deletes trashed posts, pages and comments (optional)
  • Deletes spammed comments (optional)
  • Deletes unused tags (optional)
  • Deletes ‘expired or all transients’ (optional)
  • Deletes ‘pingbacks’ and ‘trackbacks’ (optional)
  • Clears the ‘OEMBED cache’ (optional)
  • Deletes ‘orphan postmeta items’
  • Optimiz…
Read full description on WordPress.org

Ratings & Reviews

4.7181 reviews
5 ★
161
4 ★
7
3 ★
3
2 ★
1
1 ★
9

Recent Reviews

Easy to use with great results
by Anthony Hortin·1 year ago

Plugin works exactly as described. Thanks! It was easy to configure and I especially like the ability to remove all revisions except for XX amount, which makes it great for cleaning up existing sites where you’ve reduced the number of revisions, but the database still contains heaps of older revisions.

Does the job!
by copytrans·1 year ago

I have used this plugin on 5 different multi-site wordpress and have achieved awesome results. Here’s the best one:

  • 13779 revisions deleted
  • database size reduced from 297MB to 65MB = 22% of original size!!
  • this lead to an 11% speed gain (server side execution time to generate the page)
  • we had such good results, because we had no limit on the number of revisions per post a few years back. wordpress does not automatically clean the revisions. The revisions for a post, only get cleaned up when you actually work on a post. In our case we had revisions from 2015 that were still encumbering the database.

Those are the settings I used:
Delete revisions of: POST, PAGE, USER_REQUEST, WP_BLOCK, WP_TEMPLATE, WP_TEMPLATE_PART, WP_GLOBAL_STYLES, WP_NAVIGATION, WP_FONT_FAMILY, WP_FONT_FACE
Delete revisions older than: 720 days
Maximum number of - most recent - revisions to keep per post / page: 25
Delete trashed items: YES
Delete spammed items: YES
Delete unused tags: YES
Delete transients: NO
Delete pingbacks and trackbacks: YES
Clear oEmbed cache: NO
Keep a log: YES
Optimize InnoDB tables: YES
Number of excluded tables: 0

I’ve reviewed the plugin’s source code and tested it extensively and found out a few issues in the source code that I have shared with the maintainers. Overall, I think this plugin is safe to use, provided you backup your database before and that you fully understand what you’re doing.

Don’t do it :) You’ve been warned…
by ⠚⠁⠗⠇·1 year ago·2 replies

I tested this on two different sites, one almost clean, another one well up and running. The same result on both of them. Misconfigured references in the database and wordpress error messages. Its no longer possible to save data to the database. This obviously also includes trying to install or unistall plugins. The website is dead in the water.

Been troubleshooting this for a while now, reading other users experiences with this plugin. The takeaway is that this is a kind of “Install and see how it goes” kind of deals.

Sitting here waiting to load in my backup, but guess what 🙂
This plugin used over 100.000 database-updates to run once. My webhost has a limitation on 100.000 udates pr. hour, so no backup goes back in for the next hour.

If for some reason one of your hobbies are to run head first (as fast as you can) into a brick wall, and by that I mean try to install this plugin……..Pretty Please, with sugar on top, take a fresh backup 🙂

I consider Optimize Database an essential plugin for every website.
by Das Capitolin·2 years ago

I consider Optimize Database an essential plugin for every website.

Excellent
by wpprup·3 years ago

I am using this plugin for years on a few websites, never had an issue. Very efficient. Thanks!

Download Trends

Today: 105Yesterday: 137This week: 932Period total: 87K

Compatibility

WordPress2.8+ requiredTested up to 6.8.5
PHP5.6+ required

Version Adoption

v5.3
59.0%
v5.0
14.4%
v5.2
14.3%
Other
12.3%

Top Alternatives to Optimize Database after Deleting…

Advanced Database Cleaner – Optimize & Clean Database to Speed Up Site Performance icon
Advanced Database Cleaner – Optimize &…
4.9100K+ installsUpdated 4 weeks ago
ViewCompare
Search Regex icon
Search Regex
4.7100K+ installsUpdated 1 month ago
ViewCompare
BackUpWordPress icon
BackUpWordPress
4.790K+ installsUpdated 1 year ago
ViewCompare
Go Live Update Urls icon
Go Live Update Urls
4.580K+ installsUpdated 2 months ago
ViewCompare
Database Backup for WordPress icon
Database Backup for WordPress
4.570K+ installsUpdated 3 years ago
ViewCompare
View all database plugins →

Frequently Asked Questions

Changelog

5.3.0 [07/21/2025]

  • Fix issue where deactivation and uninstallation routines would not run as intended.
  • oEmbed caches are no longer fully embedded in detail reports, but instead show stored HTML to save resources and improve security.
  • Fix fatal error on very old PHP 5.x. (Note, future updates will require newer PHP versions!)
  • Fix deprecation warning on PHP 8.3.
  • Tested up to 6.8.
View full changelog on WordPress.org

Contributors

cageehvcageehvColin DevroeColin DevroeJon ChristopherJon ChristopherNerdPressNerdPress
Plugin Info
Version
5.3.0
Last Updated
Jul 21, 2025
WP Requires
2.8+
Tested Up To
6.8.5
PHP Requires
5.6+
Active Installs
60K+
Downloads
4.0M+
Added
Nov 23, 2011
Business
Free

Tags

databasedatabase sizedatabase cleanupdelete revisionsoptimize database

Developer

N
NerdPress
4 plugins0.2M+ total installs
View all plugins →

Quick Compare

Optimize Database after Deleting… vs Advanced Database Cleaner – Optimize &…→Optimize Database after Deleting… vs Search Regex→Optimize Database after Deleting… vs BackUpWordPress→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.