mysql将数据导入mgr_MGR 导入失败

在尝试导入371MB的SQL文件到MySQL 8.0.18-commercial MGR时遇到错误3100,提示交易大小超出默认限制150MB。通过查看日志,发现错误与group_replication_transaction_size_limit选项有关。为了解决此问题,临时调整了该参数值为1500MB,使用Navicat成功导入数据后,又将参数值改回原设置。
摘要由CSDN通过智能技术生成

MySQL version:8.0.18-commercial MySQL Enterprise Server - Commercial

HA: MGR

问题:

导入sql文件,大小371MB

导入数据过程中

[Err] 3100 - Error on observer while running replication hook 'before_commit'.

报错日志:

2020-06-27T10:24:29.094866+08:00 79 [ERROR] [MY-011608] [Repl] Plugin group_replication reported: 'Error on session 79.

Transaction of size 1060900441 exceeds specified limit 150000000. To increase the limit please adjust group_replication_transaction_size_limit option.'

2020-06-27T10:24:29.373716+08:00 79 [ERROR] [MY-010207] [Repl] Run function 'before_commit' in plugin 'group_replication' failed

官方解释:

Use the system variable group_replication_transaction_size_limit to specify a maximum transaction size that the group will accept.

In MySQL 5.7, this system variable defaults to zero, b

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值