Files
nexus/wiki/entities/Amazon-RDS.md

55 lines
2.2 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 RDS"
type: entity
tags:
- AWS
- Database
- Relational Database
- Managed Service
sources:
- ctp-topic-66-exposing-the-differences-between-postgresql-rds-and-aurora
last_updated: 2026-04-23
---
## Overview
Amazon RDSRelational Database Service是 AWS 提供的托管关系型数据库服务计算EC2与存储EBS分离支持 Multi-AZ 部署,相比 Aurora 成本更低、存储选项更灵活。
## Core Architecture
- **Compute + Storage Separation**EC2 计算节点 + EBS 存储卷的分离架构
- **Multi-AZ Deployment**:主节点 + 备用节点(独立计算和存储),故障时备用节点接管
- **Single Endpoint**:每个集群一个端点(不同于 Aurora 的 Writer/Reader 分离)
## Key Advantages
- **更低入门成本**:提供更小规格实例,适合小型数据库
- **存储灵活性**:支持 GP2、GP3、预置 IOPS、磁性存储多种类型
- **广泛引擎支持**PostgreSQL、MySQL、MariaDB、Oracle、SQL Server 等
- **更成熟**:发布更久,文档和社区资源更丰富
## Key Limitations
- **RTO 2 分钟**AZ 故障时恢复时间目标约 2 分钟
- **读副本需数据复制**:新增读副本需重新复制数据
- **无 Blue-Green Deployment**PostgreSQL/MySQL 均不支持跨版本 Blue-Green
- **最大 IO 受 EBS 限制**:不如 Aurora 的无上限 IO 能力
## Storage Types
| 类型 | 特点 | 适用场景 |
|------|------|----------|
| GP2 | 通用 SSD平衡性能与成本 | 大多数工作负载 |
| GP3 | 通用 SSD独立性能配置 | 需要成本优化的场景 |
| 预置 IOPS | 高性能,稳定的 IOPS | IO 密集型应用 |
| 磁性 | 低成本,较低性能 | 归档/不常访问的数据 |
## Related Entities
- [[Amazon Aurora]]:云原生数据库,性能更高但成本更高
- [[AWS]]:云服务提供商
- [[EBS]]Elastic Block StoreRDS 的存储后端
- [[ctp-topic-51-architecting-with-aws-purpose-built-databases]]AWS 专用数据库架构
- [[ctp-topic-66-exposing-the-differences-between-postgresql-rds-and-aurora]]RDS vs Aurora 详细对比
## Aliases
- RDS
- Amazon RDS
- RDS PostgreSQL
- Amazon Relational Database Service
- AWS RDS