知识卡片

普通读书笔记卡 · 3427

数据迁移可先搬再改或同步重塑

理解等级:高级

同时迁移集群和重塑模型可少一次搬迁,但风险叠加;先搬到相近结构、再演化模型阶段更多却易于定位问题。若目标存储模型根本不同,就不能勉强沿用旧 schema。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    原书出处

    参考来源

    - 位置:《Principles of Software Architecture Modernization》第10章《Data Migrations》(源文件:`_epub-src/OPS/ch10.xhtml`,归一化正文 [33820:37873)) - 结论依据:原文比较 schema first 与多阶段迁移,并举关系库转 NoSQL 的限制。 - 原始内容:Schema first versus multiple migrations So, you know you want to transform an existing database and table structure to a new database, with a very different table structure. Do you do the data first, then transform it; or both at once? Each data migration approach has different tradeoffs.