[英]Documents store database and connected domain
Consider this picture: 考虑这张照片:
The book says documents store database struggle with highly connected domains because "relationships between aggregates aren't firstclass citizens in the data model, most aggregate stores furnish only the insides of aggregates with structure, in the form of nested maps. " . 该书说,文档存储数据库要与高度连接的域作斗争,因为“聚合之间的关系不是数据模型中的一等公民,大多数聚合存储仅以嵌套地图的形式提供具有结构的聚合内部。”
And besides: "Instead, the application that uses the database must build relationships from these flat, disconnected data structures." 而且: “相反,使用数据库的应用程序必须从这些平坦的,断开的数据结构建立关系。”
I'm sorry, I don't understand what does it mean. 对不起,我不明白这是什么意思。 Why documents store database struggle with a context based on highly relationships?
为什么文档存储数据库在基于高度关系的上下文中挣扎?
Because document stores do not support joins. 因为文档存储不支持联接。 Each time you need to get more data it is a separate query.
每次需要获取更多数据时,它都是一个单独的查询。 Instead, document stores support the idea of nesting data within documents.
相反,文档存储支持在文档内嵌套数据的想法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.