Service · Analytics · Builds on CLF-C02
Amazon Redshift
A columnar data warehouse for repeated, complex SQL and BI. Choose nodes, Serverless, Spectrum and keys.
You know from Cloud Practitioner
- Redshift is a data warehouse for fast SQL analytics on large structured data.
- Columnar storage and parallel processing make big queries fast.
- Spectrum queries S3 data without loading it. Serverless needs no clusters.
Data lives in
- Redshift
- Redshift, or S3 via Spectrum
- Athena
- S3
- EMR
- S3 or HDFS
Best for
- Redshift
- Repeated, heavy BI SQL
- Athena
- Ad hoc SQL
- EMR
- Custom Spark and Hadoop
Servers
- Redshift
- Nodes or Serverless
- Athena
- None
- EMR
- Clusters or Serverless
You pay for
- Redshift
- Node hours or RPUs
- Athena
- TB scanned
- EMR
- Instance time
| Compare | Redshift | Athena | EMR |
|---|---|---|---|
| Data lives in | Redshift, or S3 via Spectrum | S3 | S3 or HDFS |
| Best for | Repeated, heavy BI SQL | Ad hoc SQL | Custom Spark and Hadoop |
| Servers | Nodes or Serverless | None | Clusters or Serverless |
| You pay for | Node hours or RPUs | TB scanned | Instance time |
1 / 2
Data lives in
- Redshift
- Redshift, or S3 via Spectrum
- Athena
- S3
- EMR
- S3 or HDFS
Best for
- Redshift
- Repeated, heavy BI SQL
- Athena
- Ad hoc SQL
- EMR
- Custom Spark and Hadoop
| Compare | Redshift | Athena | EMR |
|---|---|---|---|
| Data lives in | Redshift, or S3 via Spectrum | S3 | S3 or HDFS |
| Best for | Repeated, heavy BI SQL | Ad hoc SQL | Custom Spark and Hadoop |
2 / 2
Servers
- Redshift
- Nodes or Serverless
- Athena
- None
- EMR
- Clusters or Serverless
You pay for
- Redshift
- Node hours or RPUs
- Athena
- TB scanned
- EMR
- Instance time
| Compare | Redshift | Athena | EMR |
|---|---|---|---|
| Servers | Nodes or Serverless | None | Clusters or Serverless |
| You pay for | Node hours or RPUs | TB scanned | Instance time |
RA3 nodes
- Compute and managed storage scale apart
Serverless
- Capacity in RPUs, set by itself
Concurrency scaling
- Extra capacity for query spikes
Spectrum
- Queries S3 without loading
Distribution and sort keys
- Local joins, skipped blocks
Cross-Region snapshots
- Disaster recovery copy
| Feature | What it does |
|---|---|
| RA3 nodes | Compute and managed storage scale apart |
| Serverless | Capacity in RPUs, set by itself |
| Concurrency scaling | Extra capacity for query spikes |
| Spectrum | Queries S3 without loading |
| Distribution and sort keys | Local joins, skipped blocks |
| Cross-Region snapshots | Disaster recovery copy |
1 / 2
RA3 nodes
- Compute and managed storage scale apart
Serverless
- Capacity in RPUs, set by itself
Concurrency scaling
- Extra capacity for query spikes
Spectrum
- Queries S3 without loading
| Feature | What it does |
|---|---|
| RA3 nodes | Compute and managed storage scale apart |
| Serverless | Capacity in RPUs, set by itself |
| Concurrency scaling | Extra capacity for query spikes |
| Spectrum | Queries S3 without loading |
2 / 2
Distribution and sort keys
- Local joins, skipped blocks
Cross-Region snapshots
- Disaster recovery copy
| Feature | What it does |
|---|---|
| Distribution and sort keys | Local joins, skipped blocks |
| Cross-Region snapshots | Disaster recovery copy |
What it is
Redshift is for analytics (OLAP), not for day-to-day transactions. RA3 nodes separate compute from storage: data lives in Redshift managed storage (backed by S3) and you scale compute and storage on their own. Redshift Serverless sizes capacity automatically in Redshift Processing Units (RPUs) and suits unpredictable or occasional use. Concurrency scaling adds temporary capacity when many queries arrive at once.
What it is
Table design matters. A distribution key decides how rows spread over nodes, so joins on that key stay local. A sort key keeps rows in order, so range filters skip blocks. Automatic settings are fine for most cases. For disaster recovery, copy snapshots to another Region. Choose between the three analytics services by the work: Redshift for steady, heavy BI with many users, Athena for occasional SQL on files, EMR for custom Spark and Hadoop.
Remember
- Data warehouse for analytics. Not for OLTP.
- RA3: compute and managed storage scale separately.
- Serverless: automatic capacity, pay per use. Concurrency scaling: extra capacity for query spikes.
- Spectrum queries S3 files without loading them.
- Distribution key co-locates rows for joins. Sort key speeds range filters.
Remember
- Snapshots can be copied to another Region.
On the exam
- “Petabyte-scale data warehouse for complex joins and BI” points to Redshift.
- “Query S3 data and warehouse tables in one query” points to Redshift Spectrum.
- “Many users run dashboards at the same time” points to concurrency scaling.
- “Occasional queries with no cluster to pay for” points to Athena or Redshift Serverless.
Do not mix it up with
Amazon AthenaServerless SQL on S3. You pay for data scanned, so use partitions, Parquet and compression.
Amazon EMRManaged Spark and Hadoop clusters. Use Spot task nodes, S3 storage and short-lived clusters to save money.
Amazon DynamoDBServerless key-value and document database. Design the key well and choose the capacity mode.