AWS · Comparison
RDS vs Aurora vs DynamoDB
Which database fits my application: RDS, Aurora or DynamoDB?
Decision summary
First decide relational or not.
- Need SQL, joins and transactions across tables? Choose RDS for any supported engine (including Oracle and SQL Server) at the lowest cost for small and medium databases, or Aurora for MySQL and PostgreSQL when you need more throughput, up to 15 low-lag replicas, faster failover, Global Database or Serverless v2.
- Access is by key with known patterns, at very large or unpredictable scale, with consistent single-digit millisecond latency? Choose DynamoDB.
Best fit for each option
RDS
Traditional relational applications, commercial engines, and small to medium databases where cost matters most.
Aurora
Demanding MySQL and PostgreSQL workloads, many read replicas, fast failover, multi-Region with Global Database.
DynamoDB
Key-value and document access at any scale: sessions, carts, user profiles, IoT, gaming, serverless apps.
Side by side
| RDS | Aurora | DynamoDB | |
|---|---|---|---|
| Best for | Relational, many engines | High-performance MySQL/PostgreSQL | Key-value at any scale |
| Scaling | Scale up; read replicas | Up to 15 replicas on shared storage; Serverless v2 | Automatic (on-demand) or provisioned; scales horizontally |
| Availability | Multi-AZ standby, failover in minutes | Storage across three zones; replica promotion; Global Database | Multi-AZ by default; global tables for multi-Region |
| Limits | Up to 64 TiB for most engines | Up to 256 TiB on recent versions | 400 KB per item; design around partition keys |
| Cost | Instance-hours and storage | Instance or ACU hours, storage and I/O (or I/O-Optimized) | Per request or provisioned capacity, plus storage |
| Operational complexity | Managed, but you choose instance sizes | Managed; fewer storage concerns | No servers; data modelling is the main effort |
Limits and constraints
| Item | Value | Context | Source |
|---|---|---|---|
| Aurora maximum cluster volume | 256 TiB | On recent versions; 128 TiB on earlier versions. | Source checked |
| RDS read replicas per source instance | 15 Can be raised with a quota request |
Source checked |
|
| DynamoDB maximum item size | 400 KB | Source checked |
Quotas and limits change. Check the linked source before designing around a number.
When to avoid each option
RDS
- Massive scale or very high availability needs on MySQL/PostgreSQL (consider Aurora).
Aurora
- Small databases where RDS is cheaper.
- Oracle or SQL Server.
DynamoDB
- Ad hoc queries, joins and analytics.
- Items larger than the item size limit.
Example scenarios
| Situation | Choose | Why |
|---|---|---|
| An existing Oracle application moving to AWS. | RDS | RDS supports Oracle; Aurora does not. |
| A global PostgreSQL SaaS that must fail over to another Region quickly. | Aurora | Aurora Global Database. |
| A shopping cart with millions of users and spiky traffic. | DynamoDB | Key-based access, automatic scaling, consistent latency. |
Exam cues
- Relational + Oracle/SQL Server: RDS. MySQL/PostgreSQL, high performance and availability: Aurora.
- Key-value, serverless, any scale, millisecond latency: DynamoDB.
- Joins and complex queries: relational, not DynamoDB.
Service pages
- Amazon RDS · Managed relational databases (PostgreSQL, MySQL, MariaDB, Oracle, SQL Server, Db2) with backups, patching, Multi-AZ failover and read replicas.
- Amazon Aurora · A cloud-built relational database compatible with MySQL and PostgreSQL, with storage replicated across three zones and up to 15 low-lag replicas.
- Amazon DynamoDB · A fully managed key-value and document database that delivers single-digit-millisecond reads and writes at almost any scale.
Related
Courses and lessons
- Amazon RDS: Multi-AZ, read replicas, backups and RDS Proxy · AWS Solutions Architect – Associate (SAA-C03) · Members
- Amazon Aurora: cluster storage, replicas, Serverless and Global Database · AWS Solutions Architect – Associate (SAA-C03) · Members
- Amazon DynamoDB · AWS Solutions Architect – Associate (SAA-C03) · Members
- Purpose-built databases: DocumentDB, Keyspaces, Neptune, Redshift and more · AWS Solutions Architect – Associate (SAA-C03) · Members
Services, comparisons and patterns
- Amazon RDS · Service
- Amazon Aurora · Service
- Amazon DynamoDB · Service
- Amazon ElastiCache · Service
Sources
Independent study material, not affiliated with or endorsed by Amazon Web Services.