WP-Optimize is a free wordpress plugin from Ruhani Rabinto improves and clean up your wordpress website database.
WP-Optimize removes the unwanted post revisions from the database in your wordpress site. It also removes spam and un-approved comments in your wordpress site. You can also Enable/Disable trackbacks and comments for all published post. It clean up all auto draft posts, trash posts and all trackbacks and pingbacks.
How to install WP-Optimize on your wordpress website:
Login to your wordpress admin dashboard. (wp-admin).
In your wordpress admin dashboard click plugins and select Add New.
After the successfully Installation click the activate Plugin link to activate the plugin.
Go to WP-Optimize in the dashboard to configure WP-Optimize plugin. In the main page you wil find options to clean all post revisions, draft post and posts in trash, spam comments,comments in trash and the optimize database settings.
In the Tables tab you will get the information about all database tables. And in the settings tab you can configure the schedule clean up and enable/disable trackback and comments.