Optimize Database after Deleting Revisions 5.3.0

Does "Optimize Database after Deleting Revisions" work with WordPress 6.9 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
4PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 19.12 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.9
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 70,000+
WordPress.org page https://wordpress.org/plugins/rvg-optimize-database/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=rvg-optimize-database%2Frvg-optimize-database.php&plugin_status=all&paged=1&s&_wpnonce=6ea3eb312e
Aspect after-activation
HTTP status 200
Load time 0.356 s
Memory usage 3.77 MiB
JS errors None
Resource errors None

Tools → Optimize Database

Page screenshot: Tools → Optimize Database
URL /wp-admin/tools.php?page=rvg-optimize-database
Aspect menu-item
HTTP status 200
Load time 0.310 s
Memory usage 3.74 MiB
JS errors None
Resource errors None

Settings → Optimize Database

Page screenshot: Settings → Optimize Database
URL /wp-admin/options-general.php?page=odb_settings_page
Aspect menu-item
HTTP status 200
Load time 0.284 s
Memory usage 3.88 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.240 s
Memory usage 4.13 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.428 s0.383 s-0.045 s3.78 MiB3.8 MiB+ 25.11 KiB
/wp-admin/edit.php0.384 s0.305 s-0.079 s3.78 MiB3.81 MiB+ 25.46 KiB
/wp-admin/post-new.php0.886 s1.090 s+0.204 s6.31 MiB6.34 MiB+ 29.53 KiB
/wp-admin/upload.php0.449 s0.445 s-0.004 s3.74 MiB3.75 MiB+ 8.05 KiB
/wp-admin/options-writing.php0.345 s0.305 s-0.040 s3.71 MiB3.72 MiB+ 12.05 KiB
/wp-admin/media-new.php0.508 s0.346 s-0.162 s3.7 MiB3.72 MiB+ 20.24 KiB
/wp-admin/edit-tags.php?taxonomy=category0.331 s0.307 s-0.024 s3.72 MiB3.75 MiB+ 30.91 KiB
/wp-admin/post-new.php?post_type=page0.714 s0.764 s+0.050 s6.3 MiB6.32 MiB+ 25.06 KiB
/wp-admin/options-discussion.php0.350 s0.440 s+0.090 s3.71 MiB3.72 MiB+ 8.55 KiB
/wp-admin/edit-comments.php0.342 s0.351 s+0.009 s3.73 MiB3.74 MiB+ 8.04 KiB
/0.288 s0.192 s-0.096 s4.12 MiB4.13 MiB+ 17.36 KiB
Average 0.457 s0.448 s-0.009 s4.24 MiB4.25 MiB+ 19.12 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PO File
PHP
Language % Lines of code Comment lines Files
PO File64.7%5,4803,96114
PHP33.2%2,8117018
CSS2.1%177141
Total 8,468 4,676 23

PHP Code Analysis | More results »

Lines of code 2,387
Total complexity 482
Median class complexity 15.0
Median method complexity 2.5
Most complex class ODB_Cleaner
Most complex function ODB_Cleaner::odb_run_cleaner()
Classes 7
Methods 74
Functions 2

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 1

Options wp_options 2

PHP Error Log 4 lines

[03-Dec-2025 01:57:19 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 01:57:19 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 01:57:28 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 01:57:28 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
See also: All tests for this plugin, How to Hide Optimize Database after Deleting Revisions Admin Menus