知识卡片
数据拆分优先识别独立读写集合
共享数据库中若有无跨域依赖的 schema 或表集合,可作为先行拆分候选。但物理分库还需配套服务契约、写入所有权与消费者迁移,不能仅复制数据即称隔离完成。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Principles of Software Architecture Modernization》第10章《Data Migrations》(源文件:`_epub-src/OPS/ch10.xhtml`,归一化正文 [8511:12783))
- 结论依据:原文用独立 schema 和表集合说明速赢,同时提醒需要独立服务与契约。
- 原始内容:If you are lucky, your inventory exercise might reveal some quick wins or low-hanging fruits. Maybe there are schemas in a shared database that are independent and do not have many cross-schema dependencies; or within one schema, you have sets of tables that are clearly independent of each other.