Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2764769
  • 博文数量: 587
  • 博客积分: 6356
  • 博客等级: 准将
  • 技术积分: 6410
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-23 10:54
个人简介

器量大者,福泽必厚

文章分类

全部博文(587)

文章存档

2019年(3)

2018年(1)

2017年(29)

2016年(39)

2015年(66)

2014年(117)

2013年(136)

2012年(58)

2011年(34)

2010年(50)

2009年(38)

2008年(16)

分类: LINUX

2013-08-03 21:30:44

我准备删除某个表里面30天前的数据!但提示出错

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的方法如下:


留为笔记!

阅读(3139) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~