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

 RDSAuroraDynamoDB
Best forRelational, many enginesHigh-performance MySQL/PostgreSQLKey-value at any scale
ScalingScale up; read replicasUp to 15 replicas on shared storage; Serverless v2Automatic (on-demand) or provisioned; scales horizontally
AvailabilityMulti-AZ standby, failover in minutesStorage across three zones; replica promotion; Global DatabaseMulti-AZ by default; global tables for multi-Region
LimitsUp to 64 TiB for most enginesUp to 256 TiB on recent versions400 KB per item; design around partition keys
CostInstance-hours and storageInstance or ACU hours, storage and I/O (or I/O-Optimized)Per request or provisioned capacity, plus storage
Operational complexityManaged, but you choose instance sizesManaged; fewer storage concernsNo servers; data modelling is the main effort

Limits and constraints

ItemValueContextSource
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

SituationChooseWhy
An existing Oracle application moving to AWS.RDSRDS supports Oracle; Aurora does not.
A global PostgreSQL SaaS that must fail over to another Region quickly.AuroraAurora Global Database.
A shopping cart with millions of users and spiky traffic.DynamoDBKey-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

Related

Courses and lessons

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Amazon Web Services.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake