知识卡片
数据域保留内部关系
数据域是一组常共同使用、属于同一业务范围的表、视图、触发器及外键等制品。域内关系可以保留,跨域依赖才需要拆除或迁到服务层。它是架构概念,schema是承载对象的数据库逻辑空间,通常一对一但并非同义的物理事实。支付视图移除客户表连接后,客户姓名须通过客户服务取得,代价是失去一次联表读取。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 拆分操作数据 · 查看原书依据
A data domain is a collection of coupled database artifacts—tables, views, foreign keys, and triggers—that are all related to a particular domain and frequently used together within a limited functional scope.
参考来源
- 位置:《Software Architecture: The Hard Parts》第06章《拆分操作数据》(来源项目:book-sources;源文件:extracted/Software Architecture The Hard Parts Modern Trade-Off Analyses for Distributed Architectures (Neal Ford, Mark Richards, Pramod Sadalage etc.)/_epub-src/OEBPS/ch06.xhtml)
- 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。
- 原始内容:A data domain is a collection of coupled database artifacts—tables, views, foreign keys, and triggers—that are all related to a particular domain and frequently used together within a limited functional scope.