Optimize Database after Deleting Revisions
by NerdPress · Performance
Also makes 3 other plugins · 190.8K+ installs across the portfolio →
One-click database optimization with precise revision cleanup and flexible scheduling. Speeding up sites since 2011!
90 health vs 67 average across 1,076 Performance plugins
Directory ranking optimization
How it's scored →How well this listing is tuned to rank in WordPress.org search, on the factors an owner controls. Not popularity, optimization.
Excellent listing optimization
Well tuned across the board
Daily downloads
Since 2022-10-05 · 1,421 days · wp.org + Plugin Pulse archive
30-day downloads
Rolling 30-day volume · peaks are release surges
3.4K
now · peak 109.5K
Directory rank vs rivals
wp.org popularity rank over time · higher is better · when a rival's line climbs above yours, they've overtaken you
Rating trend
Star average over time · dips mark rough releases
Update activity
How busy the existing users are, measured as downloads in the last 30 days for every 1,000 active sites. A spike means a new release everyone's pulling; a long, slow decline means an aging user base that updates less.
Release cadence
Occasionally updatedHow often this plugin actually ships. A steady rhythm is the maintenance signal a single "last updated" date can't show.
1
releases in the last 12 months
3mo ago
latest release · v5.3.0
143
tagged releases on record
Recent releases
What its installed base runs
via wordpress.orgShare of active installs on each version of this plugin · 62% run the current release. Green is the current release; a big slice on older versions is a user base that has stopped updating.
Estimated active installs
The public count shows “60K+”. Our estimate pins where the real number sits.
Refined from the date this plugin crossed into its current band.
Install history · since 2015-03-10 · 1,489 observations
Estimated value
What this plugin might earn a year, and what it might sell for. Modeled from public signals; we don't see anyone's books.
Est. annual revenue
Est. acquisition value
No paid tier is visible, so we don't put a figure on revenue or sale value: that would be guessing. The install base is a real asset to an acquirer, just not one public data lets us price.
Details
Recent reviews
All reviews on wp.org ↗- ★★★★★ Anthony Hortin1.7y 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.
Read on wp.org ↗ - ★★★★★ copytrans2.0y 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_FACEDelete revisions older than: 720 daysMaximum number of - most recent - revisions to keep per post / page: 25Delete trashed items: YESDelete spammed items: YESDelete unused tags: YESDelete transients: NODelete pingbacks and trackbacks: YESClear oEmbed cache: NOKeep a log: YESOptimize InnoDB tables: YESNumber 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.
Read on wp.org ↗ - ★★★★★ ⠚⠁⠗⠇2.3y ago
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 🙂
Read on wp.org ↗ - ★★★★★ Das Capitolin3.3y ago
I consider Optimize Database an essential plugin for every website.
Read on wp.org ↗ - ★★★★★ wpprup3.7y ago
I am using this plugin for years on a few websites, never had an issue. Very efficient. Thanks!
Read on wp.org ↗ - ★★★★★ novakpeter4.2y ago
Works like a breeze!
Read on wp.org ↗ - ★★★★★ yevhenwordpress5.1y ago
Just another good feedback about a useful plugin.
Read on wp.org ↗ - ★★★★★ eerkan5.4y ago
very good plugin, set up and it works automatically and clean the site.
Read on wp.org ↗
Latest updates
via wp.org changelogRecent releases and news for this plugin
- — Version 5.3.0 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 f 5.3.0
- — Version 5.2.2 Some links looked like buttons. They’re now links. Fix sanitization for databases and table prefixes with capital letters. Removed unnecessary FROM clause in the table lookup query. 5.2.2
- — Version 5.2.1 Add missing nonce on “Optimize DB (1 click)” admin bar link. Remove “Optimize” buttons from Log page. Fix PHP 8 Deprecation Notices. 5.2.1
- — Version 5.2 NerdPress has adopted Optimize Database After Deleting Revisions! Read the announcement here. Security improvement: Additional CSRF hardening. Security improvement: Add capability checks. Security improvement: Improve sa 5.2
- — Version 5.1.1 Security improvement: Hardens links to prevent CSRF. Security fix: Implements proper preparation of queries. 5.1.1
- — Version 5.1 BUG FIX: Fixed the CSRF security issue 5.1
Known vulnerabilities
via Wordfence Intelligence3 disclosed vulnerabilities on record for this plugin, all fixed in the current version. Sites on older versions stay exposed until they update.
- Medium · 5.3 Optimize Database after Deleting Revisions <= 5.0.110 - Missing Authorization via 'odb_csv_download' ↗2023-10-03 Missing Authorization Affects <= 5.0.110 Patched in 5.1
- Medium · 4.3 Optimize Database after Deleting Revisions <= 5.0.110 - Cross-Site Request Forgery via 'odb_csv_download' ↗2023-07-26 Cross-Site Request Forgery (CSRF) Affects <= 5.0.110 Patched in 5.1
Vulnerability records provided by Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. License and terms.
CVE records: Copyright 1999-2026 The MITRE Corporation. CVE terms of use.
Behavioral tests
via WP HiveAutomated install-time checks, tested on PHP 8.1.12 · WP 6.8.2
Languages
via translate.wordpress.orgTranslated into 59 languages, 16 at 90% or more
Plus 35 more locales with partial translations.
Growth timeline
Install-tier crossings we have observed, and how long each tier took to outgrow
- 2025-11-03 70K+ → 60K+ down after 328 days in tier
- 2024-12-10 80K+ → 70K+ down after 318 days in tier
- 2024-01-27 100K+ → 80K+ down
Competes with
The plugins that solve the same job, ranked by shared tags then reach, closest match first. The letter on the right is each plugin's health grade (A best, F worst).
- W WP Database Cleaner 200+ installs · 4.2★ · 2 shared tags D
- W WUCO – WP Ultimate Cleanup & Optimization 10+ installs · 3.6★ · 2 shared tags D
-
Aims Quick Cleanup Tools — installs · 3.6★ · 2 shared tags B -
WP-Sweep 100K+ installs · 4.6★ · 1 shared tag A
-
Search Regex 100K+ installs · 4.6★ · 1 shared tag A -
Advanced Database Cleaner – Optimize & Clean Database to Speed Up Site Performance 100K+ installs · 4.9★ · 1 shared tag A
Embed this report card
Drop a live Pulse card for Optimize Database after Deleting Revisions into a readme, a review or a deck. It updates itself.
<iframe src="https://plugins.wpmayor.com/embed/rvg-optimize-database" width="480" height="300" style="border:0" loading="lazy" title="Optimize Database after Deleting Revisions — Plugin Pulse"></iframe> Optimize Database after Deleting Revisions: 60K+ active installs, 4.7★ (181 reviews). Plugin Pulse (WP Mayor), as of 2026-08-25. https://plugins.wpmayor.com/plugin/rvg-optimize-database