Ankh2054
Ankh2054

Reputation: 1153

Drupal - clean database

Is there a way to clear or clean the database of all the unnessecary entries that was added by amodules that have since been uninstalled. Ive created my site but have added alot of modules to ploay around with, I have no removed all of those I dont use, but just wondering if there is a way top clear the database etc.. to ensure nothing unused was left behind ?

thanks

Upvotes: 3

Views: 4470

Answers (3)

cornernote
cornernote

Reputation: 1095

You can use the Schema module for discovering the remaining tables from not properly uninstalled modules.

Upvotes: 2

Vivek Saurabh
Vivek Saurabh

Reputation: 88

You can also use DEVEL modules reinstall feature if you only want to clean the database but don't want remove the module.

Upvotes: 0

Antonio Torres
Antonio Torres

Reputation: 446

If you have your own content that you would want to keep AND you have used the uninstall feature for all the modules that you have installed, then the only route is to manually check. if you don't have much content you could export it and replace the db with a clean one, then put your content back into it.

Upvotes: 2

Related Questions