This WordPress plugin will cleanup your WordPress database, which means that it will perform the following actions:
*Remove all post revisions
*Remove all spam comments
*Remove all unapproved comments
*Remove all unused tags
*Remove all unused post meta
*Optimize MySQL tables by removing all unused table space
This plugin is available for download to be used on your WordPress self-hosted installation.