原文:mysql error 1197 ,Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this mysqld variable and try again 解決辦法

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 G 推薦最大 ...

2018-04-23 18:45 0 885 推薦指數:

查看詳情

1197多行事務要求更大的max_binlog_cache_size處理與優化

1197多語句事務要求更大的max_binlog_cache_size報錯 binlog_cache_size:為每個session 分配的內存,在事務過程中用來存儲二進制日志的緩存,提高記錄bin-log的效率。沒有什么大事務,dml也不是很頻繁的情況下可以設置小一點,如果事務 ...

Mon Aug 06 03:52:00 CST 2018 0 7418
mysql參數max_binlog_cache_size設置不當引發的血案

日常運維中的坑真是防不勝防,不一小心就遇到別人給你挖的坑。最近又遇到經驗不足的DBA不知道從哪拷貝的配置文件(據說是當時參加某培訓機構視頻培訓是資料里的模板,真的是誤人子弟呀),其中把max_binlog_cache_size設置的只有2G,而MySQL早已將此參數的默認值調整的很大 ...

Sun Apr 26 01:50:00 CST 2020 0 3253
MYSQL-max_binlog_cache_size參數

max_binlog_cache_size 解釋:這是設置最大二進制日志的緩存區大小的變量。若處理多語句事務時需要的內存大小比設置值大的話就會提示一個errorMulti-statement transaction required more than ...

Wed Aug 17 17:11:00 CST 2016 0 2198
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM