AWS Solutions Architect Handbook SAA-C03, from zero Bipin Singh
Databases

Choosing a database

2 min readChapter 31 of 48By Bipin Singh

Database selection questions give you an access pattern and constraints, and ask for the best fit. This chapter condenses the previous ones into decision tables and covers moving databases to AWS.

Start from the access pattern

If the requirement mentions… Consider
Joins, complex queries, transactions, existing SQL app RDS or Aurora
Need for very high relational performance, many replicas, global DR Aurora (Global Database)
Variable/intermittent relational load Aurora Serverless v2
Key-value access at massive scale, serverless DynamoDB
Microsecond reads in front of DynamoDB DAX
Cache, sessions, leaderboards ElastiCache
JSON documents, MongoDB compatibility DocumentDB
Highly connected data, relationships Neptune
Time-stamped metrics/telemetry Timestream
Cassandra workloads Keyspaces
Analytics/BI over large datasets, columnar storage Redshift
Ad-hoc SQL directly on files in S3 Athena
Full-text search, log analytics OpenSearch Service

Relational engine choice (task 3.3 and 4.3)

Need Engine hint
Open source, widely used, simple MySQL / MariaDB
Advanced SQL features, extensions (e.g. PostGIS, JSONB), strict standards PostgreSQL
Commercial licences already owned Oracle / SQL Server (licence-included or BYOL)
Lowest licensing cost Open-source engines, possibly via migration from commercial ones

Cost levers for databases

Migrating databases

Homogeneous vs heterogeneous

Migration Example Tools
Homogeneous (same engine) On-prem MySQL → RDS MySQL Native tools (dump/restore, replication) or AWS DMS
Heterogeneous (different engine) Oracle → Aurora PostgreSQL Schema conversion (AWS SCT / DMS Schema Conversion) then AWS DMS for data

AWS Database Migration Service (DMS)

Key idea

"Migrate Oracle to Aurora PostgreSQL with minimal downtime" → schema conversion (SCT/DMS Schema Conversion) + DMS with CDC.

Exam patterns

Bipin Singh
Written by Bipin Singh

Senior Full-Stack Engineer · AI & AWS. I design and run production systems on AWS — serverless, data and AI.

Work with me