You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Alibaba Cloud provides fully managed relational database services through ApsaraDB RDS and PolarDB. These services handle provisioning, patching, backups, and high availability so you can focus on your application.
ApsaraDB RDS is a managed relational database service that supports multiple database engines:
| Engine | Versions | Notes |
|---|---|---|
| MySQL | 5.6, 5.7, 8.0 | Most popular choice |
| PostgreSQL | 10, 11, 12, 13, 14, 15 | Advanced features, strong standards compliance |
| SQL Server | 2012–2022 | Enterprise and Web editions |
| MariaDB | 10.3 | MySQL-compatible alternative |
RDS automatically backs up your database:
RDS supports Primary/Standby deployments:
Zone A Zone B
┌──────────┐ ┌──────────┐
│ Primary │ ──sync──│ Standby │
│ Instance │ │ Instance │
└──────────┘ └──────────┘
Offload read-heavy workloads to read replicas:
| Category | Description | Best For |
|---|---|---|
| General-purpose | Shared CPU and memory | Dev/test, small workloads |
| Dedicated | Dedicated CPU and memory | Production workloads |
| Dedicated Host | Exclusive physical server | Compliance, licensing |
PolarDB is Alibaba Cloud's next-generation relational database, built using a cloud-native architecture with shared storage.
PolarDB separates compute and storage:
┌──────────┐ ┌──────────┐ ┌──────────┐
│ Writer │ │ Reader 1 │ │ Reader 2 │
│ Node │ │ Node │ │ Node │
└────┬─────┘ └────┬─────┘ └────┬─────┘
│ │ │
└─────────────┼─────────────┘
│
┌─────────┴─────────┐
│ Shared Storage │
│ (up to 100 TB) │
└───────────────────┘
| Edition | Compatible With | Key Feature |
|---|---|---|
| PolarDB for MySQL | MySQL 5.6, 5.7, 8.0 | Up to 6x throughput of MySQL |
| PolarDB for PostgreSQL | PostgreSQL 11, 14 | Oracle-compatible features |
| PolarDB-X | Distributed MySQL | Horizontal sharding |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.