知识卡片
惰性数据迁移不能遗漏冷数据
应用在读旧写新时可边服务边转换数据,适合列、表或格式迁移;但未被访问的冷数据永远不会自行迁移,结束前需单独批处理或差异扫描。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Principles of Software Architecture Modernization》第10章《Data Migrations》(源文件:`_epub-src/OPS/ch10.xhtml`,归一化正文 [12783:16900))
- 结论依据:原文解释惰性迁移在运行时转换,以及冷数据、延迟和错误的限制。
- 原始内容:Lazy migrations happen while the application is running, bundling data transformation with reads and writes, so it happens slowly. This raises some obvious concerns and drawbacks: Delivery timeline: The data migration would not necessarily finish on a fixed schedule and could take longer to complete than you would like. Cold data: If some ids are never read or written, they are never migrated.