# Athena vs Redshift Spectrum vs Redshift: querying S3 data

> Three ways to query an S3 data lake with SQL on AWS: Athena, Redshift Spectrum and Redshift itself. How they share the Glue Data Catalog and Lake Formation grants, what each costs, and when each wins.

## Key takeaways

- All three read the same Glue Data Catalog tables and honour the same Lake Formation grants, so you can use more than one.
- Athena and Spectrum on RA3 charge per terabyte scanned. Redshift Serverless and the new RG nodes query S3 on their own compute instead.
- Parquet, sensible partitions and fewer, larger files cut both cost and time, whichever engine you choose.
- Use Athena for occasional questions, Redshift for busy dashboards, and query the lake from Redshift to join the two.

[Open this diagram in archhy](https://archhy.com/app#d=N4IgLglmA2CmIC4QEEwAtYDsCGAaABAEqwAmAzmhAGZj4DKADrAMZgBOArgLb7aYlFSFarWxsA9h375xmWPQDM+aNgDW8XCBUBPSWAAiENi0izEIADKEQmrrDDZEoAObRxAI2zQyTkBXEA7gBy4iSwACraTD4I7BywmhBkdDgMAKI47nAkiHEJIM5sECR0EABe8AgATAAMmmheVADiRSSE2BDeiFReZPlsHdB0YNpw5sxwfDYgDBCsHMa+kDCVeQC+G5qYobAxANqgxeZ8XtpkYD6aKu6w0ObIONBnF-gAFNgCaOLM9ACKFgBKaYjJjmACqfTY0x0el8AA9EHUQNpEABGABsSICxXQaMx9VgEGcaDAaNRNU2hxySGwAUuWmwNzuSGQAHU6PgAMJuDg5TQgyoodncyR8hm6DikhCgBHVWqaFEILE4tBogAs8pAGCJJMQAE4akiygBJfiwWUAWnJhspICOSGMzggZiujNu5mITpd4Cigs9zsw0wYYiwYGN1JAtPpMMl8MQmsVauVJFxCFRCgAHEjtcSpRmk7b7ZH0FhsBayrINAymfcSzg3pCAG6wNhwMhkAhMNj4cIAIXwZGYfDkJCB-N95l7kn4YhRmmDxkwYYjjoD03c4jYYTYw1GgpI4jAYFI0OwEqlMvjSMTydTVSTBJ1UqqCgpa1wVOOdccrprLO-bzhEU2x-ICwITkgTRYC2cx0C2jZzFWTaIccdIAPTYN+QYhku4ZfhgODlpWp7nnGCAPsi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SMHJCqMBikG9R1Ntn6P2cY+aqbbGHOgcWxB5bPmCNrY0vW-LJCCFcr6sQ-BZCsiPIo1ZydI3v14rm9m97rGZuvYW+Bmln2q22qy+t1Tm2j3lQB7HEHpD4oQ8s++6z2LtUPfGyW4lRqkfLvh8WrjH3K3QaxzW5T4iNMbfU2eoKFB5Fbj8cZx90bSNoshxT6HVOZ0-texN6p02meXMRzxr7eQB6oERAAOh0WsRTQA)

Once your data sits in S3 as tables in the Glue Data Catalog, AWS gives you three ways to query it with SQL: Amazon Athena, Redshift Spectrum, and loading it into Amazon Redshift itself. Redshift Spectrum vs Athena is the comparison most people search for, but Redshift's local tables belong in it too, and the answer changed in 2026 when Redshift gained a data lake engine of its own. This post draws all three around one lake and explains how they share it, what each costs and when each wins. It is part of our Data on AWS series; the [data lake architecture](https://archhy.com/blog/aws-data-lake-architecture) post is the overview.

## The problem: one lake, several ways to ask it

Analysts want to run a quick query on last week's logs. Finance wants dashboards that open in a second. Data engineers want to join both with warehouse tables. Picking one engine for all three either wastes money or keeps someone waiting.

## The design

Read the diagram from the middle out ([open the diagram](https://archhy.com/app#d=N4IgLglmA2CmIC4QEEwAtYDsCGAaABAEqwAmAzmhAGZj4DKADrAMZgBOArgLb7aYlFSFarWxsA9h375xmWPQDM+aNgDW8XCBUBPSWAAiENi0izEIADKEQmrrDDZEoAObRxAI2zQyTkBXEA7gBy4iSwACraTD4I7BywmhBkdDgMAKI47nAkiHEJIM5sECR0EABe8AgATAAMmmheVADiRSSE2BDeiFReZPlsHdB0YNpw5sxwfDYgDBCsHMa+kDCVeQC+G5qYobAxANqgxeZ8XtpkYD6aKu6w0ObIONBnF-gAFNgCaOLM9ACKFgBKaYjJjmACqfTY0x0el8AA9EHUQNpEABGABsSICxXQaMx9VgEGcaDAaNRNU2hxySGwAUuWmwNzuSGQAHU6PgAMJuDg5TQgyoodncyR8hm6DikhCgBHVWqaFEILE4tBogAs8pAGCJJMQAE4akiygBJfiwWUAWnJhspICOSGMzggZiujN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3qUXIpJ0xdq4N+Ffq2d+SGQAuu8mei9V7SGDgwPeixRGo0xpffG5VGL1WfunRm2dWb-05vEHmoD7GQOcec9xyD9L4UCf4HYjRqCSYSYpOxWU6ZXwtxC1JtEChItydRLUGLCAZMk0SxSRTu7lM3zU+2DTolY5oeBbIGQARgWWK4AwSU8hXiEEhmCC0XwFhkBwzC-lvnNMmZmVUKozAFlVjHROmjNm6MMZAwB651KHAFrcxcwUFS11ebubx+FSn3k5bvhprc99+I8u3Py-AAbLbStlSMHJCqMBikG9R1Ntn6P2cY+aqbbGHOgcWxB5bPmCNrY0vW-LJCCFcr6sQ-BZCsiPIo1ZydI3v14rm9m97rGZuvYW+Bmln2q22qy+t1Tm2j3lQB7HEHpD4oQ8s++6z2LtUPfGyW4lRqkfLvh8WrjH3K3QaxzW5T4iNMbfU2eoKFB5Fbj8cZx90bSNoshxT6HVOZ0-texN6p02meXMRzxr7eQB6oERAAOh0WsRTQA)). The curated S3 zone and the Glue Data Catalog sit in the centre; the engines sit around them.

### The shared catalogue and permissions

A table defined once in the Data Catalog, by a [Glue crawler or job](https://archhy.com/blog/aws-glue-architecture-deep-dive) or by Athena DDL, is visible to every engine. Redshift reaches it through an external schema: `CREATE EXTERNAL SCHEMA … FROM DATA CATALOG` maps a catalogue database into Redshift, using an IAM role that Redshift assumes. If Lake Formation governs the catalogue, it checks each query against your grants, including row and cell filters, and hands the engine temporary credentials. One set of grants covers both Athena and Redshift.

### Athena

Athena is serverless SQL, built on Trino. There is nothing to run: you send a query and pay for the data it scans, $5 per terabyte in AWS's pricing examples. Teams that need predictable cost or guaranteed concurrency can buy capacity reservations instead, billed at $0.30 per DPU-hour with a minimum of four DPUs. Athena Federated Query reaches DynamoDB, RDS, Snowflake, BigQuery and many more through connectors, so a query can join the lake with an operational table.

### Redshift Spectrum

On RA3 provisioned clusters, Redshift Spectrum is a separate fleet of servers that reads S3 for you. Redshift pushes filters and aggregations down to it, so your cluster does less of the work. You pay $5 per terabyte scanned, with a 10 MB minimum per query, on top of the cluster. External tables are read-only, and the data must be in the cluster's Region.

### Redshift Serverless and RG: the integrated lake engine

Since May 2026, Redshift Serverless and the new Graviton-based RG provisioned nodes query S3 with an integrated engine that runs on their own compute. There is no Spectrum fleet and no per-terabyte charge: on Serverless, lake queries are part of the RPU-hours you already pay, $0.375 per RPU-hour in US East (N. Virginia), from a base of 4 RPUs. AWS notes that some lake queries can run slower on RG than on RA3 with Spectrum, which scales separately; the fix is more or larger nodes.

### Redshift local tables

Loading data into Redshift managed storage costs $0.024 per GB-month in US East (N. Virginia), and buys the fastest, most consistent answers: sort keys, caching, materialised views and concurrency scaling all work on local tables. Redshift federated query also reads live rows from RDS and Aurora PostgreSQL or MySQL.

## Performance levers that apply to all three

- **Columnar formats.** Parquet or ORC lets an engine read only the columns a query names. With CSV or JSON it reads every byte.
- **Partitions on common filters.** Partition by date if most queries filter by date. Too many partition keys create too many small files.
- **Compression.** Athena bills bytes before decompression, so compressed data is cheaper. Gzip and zstd are both supported.
- **File size.** AWS suggests Spectrum files larger than 64 MB and of similar size; many tiny files slow every engine.
- **Statistics.** Glue column statistics help Redshift plan lake queries; Athena's partition projection avoids catalogue lookups for tables with many partitions.

## When each wins

- **Athena:** ad hoc questions, log analysis and anything run a few times a day, when you have no warehouse and do not want one.
- **Lake queries from Redshift:** you already run Redshift and want to join warehouse tables with large or cold data that stays in S3. Keep big fact tables in S3 and small dimension tables local.
- **Redshift local tables:** dashboards that many people open all day, heavy joins and steady response times.

Most mature platforms use two of the three. That is fine, because the catalogue and the grants are shared.

## How to draw it in archhy

1. From the **Services** drawer, place an AWS Cloud and a Region, then three dotted boundaries: Athena, Shared lake and catalogue, Amazon Redshift.
2. Search the AWS pack for Athena, Glue, Lake Formation and Redshift, and add an S3 bucket and an RDS database.
3. Put the catalogue at the top of the middle column and the bucket below it, so every engine draws one rail to each.
4. Label the scan rails with how they are billed, then use **File ▸ Download PNG** for your design review.

More in the series: [AWS Glue deep dive](https://archhy.com/blog/aws-glue-architecture-deep-dive), [data lake vs warehouse vs lakehouse](https://archhy.com/blog/aws-data-lake-vs-data-warehouse-vs-lakehouse) and [S3 zones, formats and Iceberg](https://archhy.com/blog/s3-data-lake-zones-formats-iceberg).

## Frequently asked questions

### Is Redshift Spectrum cheaper than Athena?

Per terabyte scanned they cost the same, but Spectrum also needs a running RA3 cluster. If you have no cluster, Athena is cheaper. If you run Redshift Serverless or RG, lake queries use the compute you already pay for.

### Do Athena and Redshift Spectrum share tables?

Yes. Both read the Glue Data Catalog. Map a catalogue database into Redshift with an external schema and Athena's tables appear there.

### Does Redshift Serverless use Redshift Spectrum?

No. Redshift Serverless has an integrated data lake engine on its own compute, billed in RPU-hours rather than per terabyte scanned.

### Can Athena query databases as well as S3?

Yes, with Athena Federated Query and its connectors, for sources such as DynamoDB, MySQL, PostgreSQL and Snowflake.

*Based on:* Written from the [Amazon Redshift Spectrum documentation](https://docs.aws.amazon.com/redshift/latest/dg/c-using-spectrum.html), the Redshift guide to [querying your data lake](https://docs.aws.amazon.com/redshift/latest/gsg/data-lake.html), the [Athena data optimisation guide](https://docs.aws.amazon.com/athena/latest/ug/performance-tuning-data-optimization-techniques.html) and the Athena and Redshift pricing pages, checked in November 2026. The diagram and the commentary are archhy's own.
