One plugin I use is called Optimize Database After Deleting Revisions. Once you've installed that, you will be able to click this option: