6. What WordPress is Made Of?
Hardware
Network
Apache
MySQL
Linux
PHP
http://www.perforce.com/blog/110607/how-do-they-do-it-googles-one-server-trick
http://kleanpc.com/cms/services/linux-implementations/
http://www.w3resource.com/mysql/mysql-tutorials.php
http://aserverblog.blogspot.co.il/2012/02/apache-releases-v2222-for-apache-http.html
http://www.makemoneyinlife.com/make-money-with-php-scripts-and-programming.html
http://www.glosecgroup.com/index.php?pid=2&menu=134&open=6&item_id=0&div=5
8. What wp_post is made of?
post_type # %
revision 501 84%
attachment 63 11%
post 21 4%
nav_menu_item 5 1%
page 5 1%
9. #1: Consider Avoiding Revisions
wp-config.php
define('WP_POST_REVISIONS', false);
MySQL
DELETE
FROM wp_posts
WHERE post_type = "revision";
10. #1: Consider Avoiding Revisions
wp-config.php
define('WP_POST_REVISIONS', false);
MySQL
DELETE
FROM wp_posts
WHERE post_type = "revision";
11. #2: Optimize RAM Usage
Preferred: SizeOf(database) < SizeOf(RAM)
innodb_buffer_pool_size
50-70% of your RAM
12. Do We Utilize the Cache?
SHOW STATUS LIKE 'Qcache%';
Qcache_free_blocks 718
Qcache_free_memory 13004008
Qcache_hits 780759
Qcache_inserts 56292
Qcache_lowmem_prunes 0
Qcache_not_cached 3711
Qcache_queries_in_cache 1715
Qcache_total_blocks 4344