show status like "qcache%";
来源:互联网 发布:淘宝返利机器人多少钱 编辑:程序博客网 时间:2024/05/16 13:47
如果Qcache_lowmem_prunes
的值非常大,则表明经常出现缓冲不够的情况;
如果Qcache_hits
的值非常大,则表明查询缓冲使用非常频繁,如果该值较小反而会影响效率,那么可以考虑不用查询缓冲;
Qcache_free_blocks
,如果该值非常大,则表明缓冲区中碎片很多。
解决方案
查看”msyql查询缓存的大小”
可以修改该值:
修改方法1、mysql> set global query_cache_size=2000000;
方法2、修改msyql配置文件my.cnf
:
query_cache_size = 64M
0 0
- show status like "qcache%";
- show table status like 'table'\G 详细信息介绍
- 查看索引的使用情况(show status like 'Handler_read%')
- show table status like '表名' \G 显示表信息
- mysql 输出表的详细信息详解 show table status like '表名'
- 关于mysqldump导出多个库:mysqldump: Couldn't execute 'show table status like '。 ...
- mysql 输出表的详细信息 show table status like '表名'
- MySQL - SHOW TABLE STATUS
- SHOW INNODB STATUS详解
- Mysql show status
- show status 详解
- mysql show status
- SHOW INNODB STATUS 分析
- mysql show status详解
- show innodb status (mysql)
- mysql show status详解
- show slave status 解释
- MYSQL-SHOW STATUS
- mysql各种蛋疼的小经验
- 冒泡、二分、快速
- 动态语言
- GET,POST,PUT,DELETE的区别
- 文件夹备份软件的使用
- show status like "qcache%";
- A-1002
- UIImagePickerController获取图片详细信息
- ogg出现 ERROR: opening port for MGR MGR (No route to host).
- UDP编程实现
- Android Studio 小技巧/快捷键 合集
- 经典SQL语句——提升篇
- (004)Andriod基本控件
- Adobe AIR提示不允许安转,请与管理员联系解决方案