I am experiencing slow performance with a CMS (WordPress) on my server.
I ran SHOW STATUS LIKE 'Qcache%';
Result:
Variable_name Value
Qcache_free_blocks 0
Qcache_free_memory 0
Qcache_hits 0
Qcache_inserts 0
Qcache_lowmem_prunes 0
Qcache_not_cached 0
Qcache_queries_in_cache 0
Qcache_total_blocks 0
I am thinking that values of zero are not good. Does anyone know if these values are okay? If they are not, do you have any recommendations on how I can improve my sites performance relative to MySQL?
Thanks.
AMENDED
Prior to running the command above, I ran SHOW VARIABLES LIKE 'have_query_cache';.
Result:
Variable_name Value
have_query_cache YES
AMENDMENT #2
Then I ran SHOW VARIABLES LIKE 'query_cache%';
Result:
Variable_name Value
query_cache_limit 1048576
query_cache_min_res_unit 4096
query_cache_size 0
query_cache_type ON
query_cache_wlock_invalidate OFF
AMENDMENT #3
Then I ran SHOW VARIABLES LIKE 'log_slow_queries';
Result:
Variable_name Value
log_slow_queries OFF
SHOW VARIABLES LIKE 'have_query_cache';SHOW VARIABLES LIKE 'query_cache%'a let us know what you get.SHOW VARIABLES LIKE 'log_slow_queries'to determine if slow query logging is on. This is unrelated to query cache but could be useful in diagnosing problematic queries.