ITPub博客

首页 > 数据库 > Oracle > max_binlog_cache_size设置过小导致ogg的rep进程ABENDING

max_binlog_cache_size设置过小导致ogg的rep进程ABENDING

原创 Oracle 作者:goolen 时间:2015-01-20 18:15:07 0 删除 编辑
有一套oracle-mysql的ogg同步系统,今天发现数据没有同步成功,检查源端没有问题
接着检查目标端发现rep1进程处于ABENDED 非正常状态

查看错误日志发现如下内容:
2015-01-20 17:07:36  ERROR   OGG-01172  Oracle GoldenGate Delivery for MySQL, rep1.prm:  Discard file (/tol/ogg/dirrpt/rep4.dsc)
exceeded max bytes (1294967296).
2015-01-20 17:07:36  ERROR   OGG-01668  Oracle GoldenGate Delivery for MySQL, rep1.prm:  PROCESS ABENDING.
2015-01-20 17:13:13  INFO    OGG-00987  Oracle GoldenGate Command Interpreter for MySQL:  GGSCI command (ogg): info all.

这个错误的意思是/tol/ogg/dirrpt/rep4.dsc文件已经达到了设定的size,临时解决可以清空这个文件,或者加大rep1进程的megabytes参数的大小

接着查看了一下这个文件的内容,发现很多如下错误信息:
[SQL error 1197]Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this mysqld variable and try again

检查发现mysql的max_binlog_cache_size参数设置过小,后调整到2G,目前使用还算稳定。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23249684/viewspace-1408496/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-10-20

  • 博文量
    121
  • 访问量
    731657