知识卡片
CDC从事务日志追踪增量变化
CDC 读取源库变更日志,把插入、更新和删除传往目标,可在大数据量和低停机要求下追平增量。方案仍需处理顺序、重复、映射和目标消费进度。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Principles of Software Architecture Modernization》第10章《Data Migrations》(源文件:`_epub-src/OPS/ch10.xhtml`,归一化正文 [25277:29404))
- 结论依据:原文定义 CDC 为读取源数据库变更日志并应用到新库,并描述经 Kafka 转发。
- 原始内容:In change data capture, you read the source database’s log of all database changes, and use that log to apply changes to a new target database. Many databases use some form of CDC to implement data replication, as you just read the CDC logs to synchronize the systems, so the two strategies are related. CDC data migrations directly use that data replication log to act, which is useful when complete transformation is required, such as to a completely new datastore.