I have noticed that modules leave behind, upon unistallation, tables in the drupal database or orphan records in othe tables. For example deleted nodes still appear in node table, etc.

Is there a standard cleanup process which can be done on the database?.

Comments

nancydru’s picture

Some modules now include an uninstall function, that should be your first line of defense. Second line is to post a support request on the module's page.

Nancy W.
now running 5 sites on Drupal so far
Drupal Cookbook (for New Drupallers)
Adding Hidden Site Design Notes

Lanny-1’s picture

If the module unistalls did it I would not have to post. For the rest, I would have to study in depth which module posted what value in what table. That would be unnecessary if there was a relational integrity check which, for example, would find that eventhough node_acccess contains nid 7, the node table does not.