知识卡片

普通读书笔记卡 · 621.e.2

文档库保留内部可查询性

理解等级:高级

文档库存储JSON或XML等有层次的自描述结构,并理解内部字段、支持属性索引,所以比只按键读取整个值更灵活。领域对象仍须设计聚合;索引增多会消耗扩展能力,数据增长后分片又需要选择分片键。文档并不免除模式兼容责任。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 拆分操作数据 · 查看原书依据

      Documents such as JSON or XML are the basis of document databases. Documents are human-readable, self-describing, hierarchical tree structures. Document databases are another type of NoSQL database, whose ratings appear in Figure 6-27. These databases understand the structure of the data and can index multiple attributes of the documents, allowing for better query flexibility.

    参考来源

    - 位置:《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) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:Documents such as JSON or XML are the basis of document databases. Documents are human-readable, self-describing, hierarchical tree structures. Document databases are another type of NoSQL database, whose ratings appear in Figure 6-27. These databases understand the structure of the data and can index multiple attributes of the documents, allowing for better query flexibility.