Lindy dB.25 Mar 2024Updated 16 Jul 2025WordPress2 min read

How to Optimize WordPress Database

On this page

Have you been experiencing database connection errors on your WordPress website, so many factors might be the cause, and an unoptimized database can be one of them. Introducing the Optimize Database after Deleting Revisions Plugin. A tool that aids in easy database optimization.

The Optimize Database after Deleting Revisions Plugin is a utility that will assist you in keeping your WordPress database clean and optimized. This plugin allows you to exclude specific posts or pages from having revisions deleted, as well as select which database tables will be optimized. This guide will show you how to install and configure WordPress databases using "The Optimize Database after Deleting Revisions Plugin".

Optimizing WordPress Database

Follow these steps to install the Optimize Database after Deleting Revisions Plugin in your WordPress website:

  1. Log in to WordPress as the administrator.

  2. On the Dashboard in the left sidebar, click Plugins, and then click Add New

    How to Optimize WordPress Database

  3.  Search for “optimize database” click Install, and then click Activate the plugin:

    How to Optimize WordPress database

  4. On the Dashboard in the left sidebar, click Settings, and then click Optimize Database:

    How to Optimize WordPress database

  5. Configure the Delete Revisions for the post types or pages or custom post types, and then click Save Settings:

    How to Optimize WordPress database

  6. To exclude database tables from optimization, check the boxes next to the tables and then click Save Settings:

    kb wp optimizedatabasetable

Need further assistance, contact us now.

Host your WordPress site the easy way

Optimised WordPress hosting with one-click installs and automatic updates.

Avatar for Lindy dB.

Lindy dB.

The Author

Lindy brings over 7 years of experience in SEO, web development, UI/UX design, and marketing to the table, with a special focus on the hosting industry. When not geeking out over the latest digital trends, you can find Lindy buried in a good book or exploring worlds in video games.