As time goes by your WordPress database tends to get filled with redundant data which makes the database larger and can potentially slow down your site. An excellent plugin to perform cleaning duties with your database is WP Cleanup.
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