Articles

How to Delete Unused Database Tables in WordPress

Delete or remove unused tables from the database in WordPress; Through this tutorial, we will learn how to delete or remove unused tables from the database in WordPress using plugins garbage collector.

If you install a plugin in WordPress, it automatically makes all the necessary folders, files, and database tables for it to work properly. However, when you deactivate and remove the same plugin, it may not delete the database tables along with the files and folders.

How to Delete Unused Database Tables in WordPress

Use the following steps to remove or delete unused tables from database in WordPress using plugins garbage collector:

  • Step 1 – Add Plugins Garbage Collector
  • Step 2 – Active Plugins Garbage Collector
  • Step 3 – Search Unused Tables From Database
  • Step 4 – Remove or Delete Unused Tables

Step 1 – Add Plugins Garbage Collector

Open your WordPress dashboard and navigate to “Plugins -> Add new.” Search for the “Plugins Garbage Collector” plugin. From the search results, install and activate the plugin.

Step 2 – Active Plugins Garbage Collector

Then navigate to Plugins menu and active “plugins garbage collector” plugin.

Step 3 – Search Unused Tables From Database

After that, Navigate “Tools -> Plugins Garbage Collector” page, select the “Search non-WP tables” radio option, and click on the “Scan Database” button.

After completing the scan, the plugin will display all the database tables that are not related to the core of WordPress or any of the installed plugins. Generally, these are the tables that are left over after deleting a plugin.

Step 4 – Remove or Delete Unused Tables

There is no select all option. So select manually and table will delete from database.

Conclusion

Through this tutorial, we have learned how to delete or remove unused tables from the database in WordPress using plugins garbage collector.

Images mentioned above related to Wordpress are either copyright property of respective image owners.

Rabins Sharma Lamichhane

Rabins Sharma Lamichhane is the owner of RabinsXP who is constantly working for increasing the Internet of Things (IoT) in Nepal. He also builds android apps and crafts beautiful websites. He is also working with various social services. The main aim of Lamichhane is to digitally empower the citizens of Nepal and make the world spiritually sound better both in terms of technology and personal development. Rabins is also the first initiator of Digital Nepal.

Related Articles

Leave a Reply

Your email address will not be published.

Back to top button