mysql的缓存命中率为何为0?解决方案

mysql的缓存命中率为何为0?解决方案

mysql的缓存命中率为何为0?

系统是redhat5.1,数据库是mysql5.0.27,运行1周多了,查询Qcache_hits为0,底下是我query_cache的配置:

+——————————+———-+

| Variable_name | Value |

+——————————+———-+

| query_cache_limit | 2048 | 

| query_cache_min_res_unit | 4096 | 

| query_cache_size | 16777216 | 

| query_cache_type | ON | 

| query_cache_wlock_invalidate | OFF | 

+——————————+———-+

这是为什么?



query_cache_limit 才2K,比你初始的query_cache_min_res_unit都小,肯定不行的

mysql的缓存命中率为何为0?解决方案

相关文章:

你感兴趣的文章:

标签云: