10+ useful SQL queries to clean up your WordPress database

This may interest you:   Optimize WP StatPress plugin database performance