Comments (5)
见文档说明. ddl的表结构暂不支持回滚的(这个回滚的意义不太大).
--ddl 解析ddl,仅支持正向解析。可选。默认false。
from bingo2sql.
在升级的时候,会有些结构变动语句,给表加字段啥的。如果没有这些语句的回滚,也有可能造成回滚后业务数据丢失啊,为啥会意义不大呢?
from bingo2sql.
DDL的回滚只能是逻辑性的.
比如说你删除了一个字段, 数据肯定是找不回来的. 这个数据没有记录binlog.
from bingo2sql.
了解了,要回滚必须要知道sql执行前的状态。
from bingo2sql.
是的,所以binlog解析通常仅用于DML操作。
from bingo2sql.
Related Issues (20)
- --start-time有用么? HOT 3
- ERRO Get event error: context deadline exceeded file=parser.go line=386 啥意思? HOT 11
- -M, --minimal-update这个参数不起作用 HOT 3
- 输出的日志没有显示pos位置
- for 循环里面调用 defer cancel() 的调用导致内存泄露,程序OOM HOT 1
- 本地解析binlog日志,解析多个表时会出现异常 HOT 1
- invalid event size 0, must >= 19
- 解析的文件数据不全 HOT 2
- 本地模式只解析了首个binlog,没有连续解析的疑问。 HOT 2
- 测试空binlog显示数据 HOT 3
- 解析出来的update没有set条件 HOT 3
- 如果--stop-pos和MySQL最新position一样,且MySQL binlog只有DDL、没有其他更新,会导致bingo2sql无法正常结束
- 当使用了--show-thread参数后,--ddl则不生效,无法显示ddl语句
- 取其中一列相关数据 HOT 1
- [BUG] NULL值未处理导致进程崩溃 HOT 3
- driver: skip fast-path; continue as if unimplemented HOT 6
- 数据库中某些表已经删除后,解析会报错。 HOT 1
- 解析成功,但是输出ERR日志 HOT 3
- bingo2sql 本地解析异常 HOT 1
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 bingo2sql.