由于 innodb_buffer_pool_size 和 query_cache_size 都是我手动配置的,所以这个差异报告让我立刻注意到了 innodb_ibuf_max_size
代码语言:javascript复制[root@abc ~]# grep query_cache_size /etc/my.cnf
query_cache_size = 256M
[root@abc ~]# grep innodb_buffer_pool_size /etc/my.cnf
innodb_buffer_pool_size = 20G
[root@abc ~]# grep innodb_ibuf_max_size /etc/my.cnf
[root@abc ~]#
...
[root@def ~]# grep query_cache_size /etc/my.cnf
query_cache_size = 128M
[root@def ~]# grep innodb_buffer_pool_size /etc/my.cnf
#innodb_buffer_pool_size = 12G
innodb_buffer_pool_size = 9G
[root@def ~]# grep innodb_ibuf_max_size /etc/my.cnf
[root@def ~]#
innodb_ibuf_max_size 这个参数我并没配置,但它默认存在于我的系统中
代码语言:javascript复制mysql> show variables like "%innodb_ibuf_max_size%";
---------------------- -------------
| Variable_name | Value |
---------------------- -------------
| innodb_ibuf_max_size | 10737418240 |
---------------------- -------------
1 row in set (0.00 sec)
mysql>