首页 > 数据库技术 > 详细

mysql error 1197 ,Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this mysqld variable and try again 解决办法

时间:2018-04-23 19:28:59      阅读:450      评论:0      收藏:0      [点我收藏+]

SELECT @@max_binlog_cache_size;

 

如果 一个 mysql 事务 需要的内存大于 max_binlog_cache_size;mysql就会抛出 Multi-statement transaction required more than ‘max_binlog_cache_size‘ 错误。

解决办法:

SET GLOBAL max_binlog_cache_size = 4294967296;  #40G

推荐最大设置为40G,

最大可能设置为 16EB (exabytes),

mysql error 1197 ,Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this mysqld variable and try again 解决办法

原文:https://www.cnblogs.com/huntercj/p/8921117.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!