知识卡片
领域聚合不等于汇总
领域聚合把可作为一个单位使用的对象集合封装起来,简化消费。数据汇总则把多条明细按某维度压缩为统计结果。两者名称相近但会对粒度和信息损失产生不同影响。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Organizing Data Using Data Domains · 查看原书依据
A domain aggregate is a cluster of domain objects that can be treated as a single unit. When you have a collection of objects of the same format and type that are used together, you can model them as a single object, simplifying their usage for other domains. A domain aggregate shouldn’t be confused with data aggregation, which is the process of grouping data and
参考来源
- 位置:《Data Management at Scale》第02章《Organizing Data Using Data Domains》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292,源文件:extracted/Data Management at Scale/_epub-src/OEBPS/ch02.html)
- 结论依据:原文对shouldn’t be confused with data aggregation的解释、约束及上下文支持本卡;内容为中文归纳,不把架构建议当作所有组织的必然规律。
- 原始内容:A domain aggregate is a cluster of domain objects that can be treated as a single unit. When you have a collection of objects of the same format and type that are used together, you can model them as a single object, simplifying their usage for other domains. A domain aggregate shouldn’t be confused with data aggregation, which is the process of grouping data and