Title: Delete Plugins Databases
Last modified: January 25, 2019

---

# Delete Plugins Databases

 *  Resolved [Rahim](https://wordpress.org/support/users/rahimvaziri/)
 * (@rahimvaziri)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/delete-plugins-databases/)
 * Hello WP Sweep
    Hope you are doing great.
 * I would like to delete the tables in my database which are related to deleted
   plugins.
 * Which title of features will help me to do this?
 * Regards.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/delete-plugins-databases/#post-11137369)
 * This plugin doesn’t do that, because it will not know what plugin uses which 
   database tables. Similarly, it will not know what plugin uses what options_name.
 *  [reelism](https://wordpress.org/support/users/reelism/)
 * (@reelism)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/delete-plugins-databases/#post-11228225)
 * Wondering how WordPress Advanced Database Cleaner detects ‘orphaned’ tables from
   plugins, is that different to the orphans in WP Sweep?
 *  Thread Starter [Rahim](https://wordpress.org/support/users/rahimvaziri/)
 * (@rahimvaziri)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/delete-plugins-databases/#post-11228280)
 * Hi [@reelism](https://wordpress.org/support/users/reelism/),
 * This is my wonder too!
 * That’s why I opened this topic.
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/delete-plugins-databases/#post-11229518)
 * There are two ways in which I think the plugin does that.
    1. It maintains its
   own database of which plugin uses which database name, option names. 2. It scans
   all the plugins and look for variables names that resemble option_name or database
   name.
 * For 2, it is going to be very inaccurate because of different people codes different.
 * It seems only the Pro version supports that. Maybe if you guys intending of buying
   it, should consider asking them how they do it =)
 *  Thread Starter [Rahim](https://wordpress.org/support/users/rahimvaziri/)
 * (@rahimvaziri)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/delete-plugins-databases/#post-11229864)
 * Hi [@gamerz](https://wordpress.org/support/users/gamerz/)
 * Thank you for the answer.
 * But I’m able to delete databases which are not related to any plugin activated
   or not installed in the free version.
 * Have you ever tried this plugin?
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/delete-plugins-databases/#post-11229868)
 * `But I’m able to delete databases which are not related to any plugin activated
   or not installed in the free version.`
 * That is easy, because the WordPress tables are fixed, so any tables not within
   the default WordPress list can be marked as “outside”.
 * The tricky part is to ensure that it is no longer in used.
 * Nope, I did not try the plugin.
 *  Thread Starter [Rahim](https://wordpress.org/support/users/rahimvaziri/)
 * (@rahimvaziri)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/delete-plugins-databases/#post-11229885)
 * I mean the databases of plugins not WordPress.
 * When you delete a plugin there maybe some tables left in your database.
 * This plugin detects them and says its coming from which plugin and says it’s 
   status which can be deleted or not acivated.
 * The feature that I was looking in your plugin.
 * Regards.
 *  Thread Starter [Rahim](https://wordpress.org/support/users/rahimvaziri/)
 * (@rahimvaziri)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/delete-plugins-databases/#post-11238573)
 * Hi [@gamerz](https://wordpress.org/support/users/gamerz/)
    Hope you are fine.
 * WP-Optimize does this for free: [http://prntscr.com/mozeo6](http://prntscr.com/mozeo6)
 * Regards,
    Rahim

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Delete Plugins Databases’ is closed to new replies.

 * ![](https://ps.w.org/wp-sweep/assets/icon.svg?rev=1098912)
 * [WP-Sweep](https://wordpress.org/plugins/wp-sweep/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-sweep/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-sweep/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-sweep/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-sweep/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-sweep/reviews/)

 * 8 replies
 * 3 participants
 * Last reply from: [Rahim](https://wordpress.org/support/users/rahimvaziri/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/delete-plugins-databases/#post-11238573)
 * Status: resolved