WordPress: Delete post revisions to speed up your blog

If your WordPress website has hundreds of posts, it is better to disable WordPress post revisions. You should also get rid of posts revisions to significantly lower the number of records in the database. Run the following MySQL query to delete all post revisions as well as all associated meta data such as custom fields. It will reduce the size of the database and speed up the website.