Title Date Modified Category
mongodb 2019-08-23 12:00 2019-08-23 12:00 db

1. Data Models

mongodb 中的数据具有灵活的模式。默认情况下,集合不强制文档结构。这种灵活性提供了数据建模选择,以匹配应用程序及其性能要求。

1.1. Data Modeling Introduction

1.1.1. Flexible Schema

1.1.2. Document Structure

1.1.3. Atomicity of Write Operations

1.1.4. Data Use and Performance

1.2. Schema Validation

mongodb提供了在更新和插入期间进行模式验证的功能。

1.2.1. Specify Validation Rules

1.2.2. JSON Schema

1.2.3. Other Query Expressions

1.2.4. Behavior

1.2.5. Restrictions

1.2.6. Bypass Document Validation

1.2.7. Additional Information

1.3. Data Modeling Concepts

核心文档详细说明了在确定数据模型时必须做出的决定,并讨论了应该考虑的因素。

1.3.1. Data Model Design

Embedded Data Models

1.3.2. Normalized Data Models

1.3.3. Operational Factors and Data Models

Atomicity

Sharding

Indexes

Large Number of Collections

Collection Contains Large Number of Small Documents

Storage Optimization for Small Documents

Data Lifecycle Management

1.4. Data Model Examples and Patterns

1.4.1. Model Relationships Between Documents

Model One-to-One Relationships with Embedded Documents

Model One-to-Many Relationships with Embedded Documents

Model One-to-Many Relationships with Document References

1.4.2. Model Tree Structures

Model Tree Structures with Parent References

Model Tree Structures with Child References

Model Tree Structures with an Array of Ancestors

Model Tree Structures with Materialized Paths

Model Tree Structures with Materialized Paths

Model Tree Structures with Nested Sets

1.4.3. Model Specific Application Contexts

Model Data for Atomic Operations

Model Monetary Data

Model Time Data

1.5. Data Model Reference

Copyright © mingz.me 2020 all right reserved,powered by Gitbookmodify: 2020-03-15 02:50:13

results matching ""

    No results matching ""