Files
nexus/wiki/entities/Amazon-DocumentDB.md
2026-04-24 00:03:01 +08:00

43 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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支持灵活 schemaFlexible 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]]:均为 NoSQLDocumentDB 支持更深的查询能力DynamoDB 提供更简单的 API 和更高的一致性保证
- [[Amazon-RDS]]关系型数据库DocumentDB 提供 schema 灵活性RDS 提供强 schema 和事务支持
## Related Concepts
- [[Purpose-Built-Databases]]DocumentDB 是 AWS 专用数据库家族中的文档数据库成员
- [[Document-Database]]:文档数据库核心概念——无 schema JSON/BSON 存储、嵌套文档、聚合管道