【mysql】max_binlog_cache_size错误
来源:互联网 发布:感人 知乎 编辑:程序博客网 时间:2024/05/01 00:39
Multi-statement transaction required more than ‘max_binlog_cache_size’bytes of storage错误:
二进制日志缓冲区(Binlog Buffer):
二进制日志缓冲区主要用来缓存由于各种数据变更操做所产生的Binary Log 信息。为了提高系统的性能,MySQL 并不是每次都是将二进制日志直接写入Log File,而是先将信息写入Binlog Buffer 中,当满足某些特定的条件(如sync_binlog参数设置)之后再一次写入Log File 中。我们可以通过binlog_cache_size 来设置其可以使用的内存大小,同时通过max_binlog_cache_size 限制其最大大小(当单个事务过大的时候MySQL 会申请更多的内存)。当所需内存大于max_binlog_cache_size 参数设置的时候,MySQL 会报错:“Multi-statement transaction required more than ‘max_binlog_cache_size’bytes of storage”。
二进制日志缓冲区主要用来缓存由于各种数据变更操做所产生的Binary Log 信息。为了提高系统的性能,MySQL 并不是每次都是将二进制日志直接写入Log File,而是先将信息写入Binlog Buffer 中,当满足某些特定的条件(如sync_binlog参数设置)之后再一次写入Log File 中。我们可以通过binlog_cache_size 来设置其可以使用的内存大小,同时通过max_binlog_cache_size 限制其最大大小(当单个事务过大的时候MySQL 会申请更多的内存)。当所需内存大于max_binlog_cache_size 参数设置的时候,MySQL 会报错:“Multi-statement transaction required more than ‘max_binlog_cache_size’bytes of storage”。
0 0
- 【mysql】max_binlog_cache_size错误
- mysql参数max_binlog_cache_size
- MySql [Err] 1197 - Multi-statement transaction required more than 'max_binlog_cache_size' bytes 解决方法
- Mysql 批量更新操作的时候出错 “Multi-statement transaction required more than 'max_binlog_cache_size' bytes of s
- mysql 错误
- MYSQL 错误
- mysql 错误
- mysql 错误
- mysql 错误
- MySQL错误
- mysql 错误
- MySql 错误
- mysql错误
- mysql 错误
- mysql错误
- mysql错误
- MySql错误
- Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage
- git删除目录下的所有文件并提交
- MyEclipse rest webservice 使用
- EXT 鼠标置于GridPanel某一行上显示提示tip消息
- nxweb(1)
- 《开始学Backbone.js》之第三章Backbone Models与Collections(六)
- 【mysql】max_binlog_cache_size错误
- 家书
- 再见,CSDN
- Windows应用程序的退出
- C++线程安全的单例模式实现
- losetup: /dev/loop0: failed to set up loop device: No such device or address
- APUE习题4.6源代码----实现自己的简易 cp 命令
- Node.js模块 require和 exports
- 编程珠玑之第二章习题5