Skip to content

// diagrams › aws

Athena, Redshift Spectrum and Redshift around one S3 lake

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.

Opens a copy in the editor, in a new tab, ready to change. No account needed.

Diagram of three ways to query one S3 data lake: in the middle a Glue Data Catalog, Lake Formation grants, a curated Parquet S3 zone and an RDS database; on the left Athena scans S3 per terabyte and federates to RDS; on the right an RA3 Redshift cluster pushes work to the Redshift Spectrum fleet, while Redshift Serverless or RG scans S3 on its own compute; both Redshift options also use local tables, and BI dashboards query Redshift.

What’s in this diagram

services and parts

  • Analysts (ad hoc SQL)
  • Athena (Trino SQL)
  • Glue Data Catalog (databases, tables)
  • Lake Formation (row and cell grants)
  • Curated S3 zone (Parquet, partitioned)
  • Orders database (RDS)
  • Redshift Spectrum (per TB scanned)
  • RA3 provisioned cluster
  • Redshift Serverless or RG nodes
  • Local tables (managed storage)
  • BI dashboards

groups

  • AWS Cloud
  • Region
  • Athena (serverless, per TB scanned)
  • Shared lake and catalogue
  • Amazon Redshift

Key points

  • 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.

The whole story, step by step: Athena vs Redshift Spectrum vs Redshift: querying S3 data.

Your diagram is one sentence away.

Start drawing, free

No account needed to start.