知识卡片

普通读书笔记卡 · 2280.i.11

无模式只是模式迁位

理解等级:中级

所谓无模式允许记录具有不同属性,不代表数据没有模式。模式可能隐含在应用、约定或其他地方;客户端仍须处理多个版本。灵活性因此把部分变更治理移到读取端,若认为“加字段随意、所有消费者自动理解”,就忽略了真正的契约。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

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

      The schema-less nature of the database is powerful, but it’s important to understand that the data always has a schema even if it’s implicit or defined elsewhere. The application needs to handle multiple versions of the schema returned by a database. The claim that NoSQL databases are entirely schema-less is misleading.

    参考来源

    - 位置:《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) - 结论依据:所引连续原文给出本卡机制或取舍;条件与示例结合本节已读上下文解释。 - 原始内容:The schema-less nature of the database is powerful, but it’s important to understand that the data always has a schema even if it’s implicit or defined elsewhere. The application needs to handle multiple versions of the schema returned by a database. The claim that NoSQL databases are entirely schema-less is misleading.