Is your site still running slow, like it's just coming out of hibernation? Have you tried every optimization trick from cacheing to throwing cash at it? It might just be your database dragging you down. For both dedicated developers and beginner bloggers, we'll show you MySQL commands, WordPress functions, and easy-to-use plugins that'll get your databases slimmed down and ready for swimsuit season
10. Prevent/Limit Revisions
1. Different from autosaves
2. Revisions created every
time you save
3. Can be limited or
completely prevented
4. Handled in
wp-config.php
11. define( 'WP_POST_REVISIONS', X );
where X is the number of revisions
or
‘TRUE’ to allow unlimited
Source: http://codex.wordpress.org/Revisions
13. define( ‘EMPTY_TRASH_DAYS’, X );
where X is the number of days
Source: http://www.wpexplorer.com/optimize-wordpress-database/
14. The Transients Debate
1. Created with the Transient API
2. Supposed to expire and be deleted
3. Relied upon by lazy developers
4. WordPress only wipes them on Database Upgrades
15. The Plugins
1. WP-Optimize
2. purge-transients
https://github.com/Seebz/Snippets/tree/master/Wordpress/
plugins/purge-transients