Optimize Database after Deleting Revisions 5.2.2

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

Summary

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

Memory usage: 13.18 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.8
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 80,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=dfe2e022d8
Aspect after-activation
HTTP status 200
Load time 0.242 s
Memory usage 3.56 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.189 s
Memory usage 3.52 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.200 s
Memory usage 3.68 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.187 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.338 s0.281 s-0.057 s3.51 MiB3.53 MiB+ 25.09 KiB
/wp-admin/edit.php0.197 s0.175 s-0.022 s3.57 MiB3.6 MiB+ 25.45 KiB
/wp-admin/post-new.php0.919 s0.611 s-0.308 s6.06 MiB6.09 MiB+ 29.52 KiB
/wp-admin/upload.php0.571 s0.317 s-0.254 s3.52 MiB3.53 MiB+ 8.04 KiB
/wp-admin/options-writing.php0.196 s0.175 s-0.021 s3.5 MiB3.51 MiB+ 12.03 KiB
/wp-admin/media-new.php0.281 s0.246 s-0.035 s3.49 MiB3.51 MiB+ 20.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.175 s0.411 s+0.236 s3.5 MiB3.53 MiB+ 30.9 KiB
/wp-admin/post-new.php?post_type=page0.611 s0.544 s-0.067 s6.05 MiB6.07 MiB+ 25.05 KiB
/wp-admin/options-discussion.php0.263 s0.238 s-0.025 s3.5 MiB3.51 MiB+ 8.53 KiB
/wp-admin/edit-comments.php0.198 s0.217 s+0.019 s3.52 MiB3.53 MiB+ 8.03 KiB
/0.296 s0.192 s-0.104 s3.5 MiB3.45 MiB- 47.88 KiB
Average 0.368 s0.310 s-0.058 s3.98 MiB3.99 MiB+ 13.18 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.8%5,4803,96114
PHP33.2%2,8067078
CSS2.1%177141
Total 8,463 4,682 23

PHP Code Analysis | More results »

Lines of code 2,382
Total complexity 482
Median class complexity 15.0
Median method complexity 2.0
Most complex class ODB_Cleaner
Most complex function ODB_Cleaner::odb_run_cleaner()
Classes 7
Methods 76
Functions 0

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 1 lines

[15-Apr-2025 20:37:08 UTC] PHP Deprecated:  Automatic conversion of false to array is deprecated in /wp-content/plugins/rvg-optimize-database/rvg-optimize-database.php on line 208
See also: All tests for this plugin, How to Hide Optimize Database after Deleting Revisions Admin Menus