您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

为什么mysql明明开启了缓存但无法使用?

2024/12/4 4:02:19发布28次查看
mysql缓存
第一步: show variables like '%cache%';
结果: have_query_cache yes
第二步: select sql_cache cr_name from t_course t where t.course_id = 365;
第三步: show status like '%qcache%';
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
求解,谢谢!
实在是找不出哪里有禁用缓存的地方
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product