器量大者,福泽必厚
全部博文(587)
分类: LINUX
2013-08-03 21:30:44
ERROR 1197 (HY000): Multi-statement
transaction required more than 'max_binlog_cache_size' bytes of storage;
increase this mysqld variable and try again
这个值开始我设置的比较小,后来我修改为256M还是很有问题,后来修改为1G还是有问题!max_binlog_cache_size值最大为4G
官方解释如下:
The maximum recommended value is 4GB; this is due to the fact that MySQL currently cannot work with binary log positions greater than 4GB.
后来我将数据分段删除,方法如下:
希望该方式提供另外一种解决问题的方式!
调整max_binlog_cache_size的方法如下:
留为笔记!