Auto-sync: 2026-04-28 16:03
This commit is contained in:
@@ -1,42 +1,43 @@
|
||||
---
|
||||
title: "Amazon DocumentDB"
|
||||
type: entity
|
||||
tags:
|
||||
- AWS
|
||||
- Database
|
||||
- Document
|
||||
- MongoDB
|
||||
sources:
|
||||
- ctp-topic-51-architecting-with-aws-purpose-built-databases
|
||||
last_updated: 2026-04-23
|
||||
---
|
||||
|
||||
## Overview
|
||||
Amazon DocumentDB 是 AWS 全托管的 MongoDB 兼容文档数据库(Document Database),支持灵活 schema(Flexible Schema),适合存储 JSON 类半结构化数据。
|
||||
|
||||
## Key Characteristics
|
||||
- **兼容性**:MongoDB 3.6、4.0、5.0 API 兼容
|
||||
- **数据模型**:文档(Document),存储为 BSON 格式
|
||||
- **Schema 灵活性**:无需预定义 schema,可随时添加/修改字段
|
||||
- **查询能力**:支持深度嵌套查询、数组查询、聚合管道
|
||||
- **规模**:存储和计算分离,支持横向扩展至数 TB
|
||||
|
||||
## Key Use Cases
|
||||
- **内容管理**:CMS、博客、产品目录
|
||||
- **用户档案**:灵活属性的用户配置文件
|
||||
- **物联网数据**:设备配置和状态文档
|
||||
- **实时分析**:日志和事件数据的快速写入
|
||||
|
||||
## Aliases
|
||||
- DocumentDB
|
||||
- Amazon DocumentDB
|
||||
- AWS DocumentDB
|
||||
- Amazon DocumentDB (with MongoDB compatibility)
|
||||
|
||||
## Related Entities
|
||||
- [[Amazon-DynamoDB]]:均为 NoSQL,DocumentDB 支持更深的查询能力,DynamoDB 提供更简单的 API 和更高的一致性保证
|
||||
- [[Amazon-RDS]]:关系型数据库,DocumentDB 提供 schema 灵活性,RDS 提供强 schema 和事务支持
|
||||
|
||||
## Related Concepts
|
||||
- [[Purpose-Built-Databases]]:DocumentDB 是 AWS 专用数据库家族中的文档数据库成员
|
||||
- [[Document-Database]]:文档数据库核心概念——无 schema JSON/BSON 存储、嵌套文档、聚合管道
|
||||
---
|
||||
title: "Amazon DocumentDB"
|
||||
type: entity
|
||||
tags:
|
||||
- AWS
|
||||
- Database
|
||||
- Document
|
||||
- MongoDB
|
||||
sources:
|
||||
- ctp-topic-51-architecting-with-aws-purpose-built-databases
|
||||
last_updated: 2026-04-28
|
||||
---
|
||||
|
||||
## Overview
|
||||
Amazon DocumentDB 是 AWS 的 MongoDB 兼容文档数据库服务,支持灵活 schema,提供与 MongoDB 应用程序的广泛兼容性。
|
||||
|
||||
## Aliases
|
||||
- DocumentDB
|
||||
- Amazon DocumentDB
|
||||
- Amazon DocumentDB (with MongoDB compatibility)
|
||||
|
||||
## Description
|
||||
- **类型**:文档数据库(MongoDB 兼容)
|
||||
- **核心价值**:MongoDB 驱动/工具直接使用 · 灵活 schema 适应快速迭代 · 自动扩展存储 · 存储计算分离
|
||||
- **适用场景**:内容管理 · 用户档案 · 目录 · 移动应用后端
|
||||
|
||||
## Key Properties
|
||||
| 属性 | 说明 |
|
||||
|------|------|
|
||||
| 兼容性 | MongoDB 4.0/5.0/7.0 驱动兼容 |
|
||||
| 数据模型 | 文档(BSON/JSON)|
|
||||
| 自动扩展 | 存储自动扩展(最高 64TB)|
|
||||
| 集群架构 | 多 AZ 6 副本分布式存储 |
|
||||
| 索引 | 支持二级索引 |
|
||||
| 聚合管道 | MongoDB 聚合管道兼容 |
|
||||
|
||||
## Connections
|
||||
- [[Amazon-DynamoDB]]:DocumentDB(文档数据库)vs DynamoDB(键值文档)— 文档查询深度 vs 极简键值性能
|
||||
- [[Amazon-RDS]]:DocumentDB(灵活 schema 文档)vs RDS(固定 schema 关系型)— schema 灵活性决定选型
|
||||
- [[Purpose-Built-Databases]]:DocumentDB 是 AWS 专用数据库品类中的文档数据库成员
|
||||
|
||||
## Referenced In
|
||||
- [[ctp-topic-51-architecting-with-aws-purpose-built-databases]]
|
||||
|
||||
Reference in New Issue
Block a user