Comments (2)
已添加新参数 max_allowed_packet
,默认值为 4194304
,即4MB,可根据实际需要设置该参数,单位 Byte
。
数据过长问题的原因是单个SQL过长,已经优化为 mediumtext
类型。
说明: 备份时提示数据过长
不会影响实际的备份解析,回滚语句仍会正常生成。(仅影响备份记录表对原始语句的保存)
from goinception.
同时备份表的字段类型需要调整为longtext,否则会出现
Backup: 数据过长!(列 'sql_statement',行 '1')
from goinception.
Related Issues (20)
- 表存在字段varbinary字段时,备份语句会失败 HOT 3
- 不可以设置表字段为longtext HOT 2
- disable_types未禁用text字段,text字段无法通过审核 HOT 2
- line 1 column 116 near "where `id` = `239`" HOT 2
- 8.0 字符集设置为utf8,会出现Unknown charset utf8mb3问题 HOT 3
- goInception:v1.3.0 配置了disable_types的情况下,创建表longtext类型不通过。 HOT 1
- 多个 DB 同时执行相同 DDL 语句,无法根据 SQLSHA1 进行区分 HOT 1
- 增加表字符集的check HOT 1
- DDL语句备份报找不到表错误 HOT 1
- 执行的时候结果集的affected_rows行数,不准确 HOT 1
- 对 algorithm=instant 语法支持 HOT 1
- 已解决 HOT 1
- goinception 不支持select 语句么 HOT 2
- create unique index时提示索引不是idx_开头 HOT 1
- 生成的备份库中的备份信息表名不一致 HOT 2
- Failed to register slave; too long 'report-password' HOT 4
- 执行SQL时因为备份失败导致异常 HOT 1
- optimize table xxxx; 解析失败 HOT 2
- Skip backup because there is no table structure information. HOT 2
- check_dml_where=true 配置无效 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goinception.