AWSCloud Visual Academy

Comparison lab

Amazon Redshift vs Amazon Athena vs AWS Glue

Glue prepares, Athena asks, Redshift warehouses.

All comparisons

Picture the difference

Raw data → Glue discovers and transforms → Athena queries files in place or Redshift serves warehouse analytics

OptionWhat it doesExam clueWhen not to use it
Amazon RedshiftManaged SQL data warehouse for large-scale analytical queries.data warehouse, OLAP, columnar, parallel SQL, fact tablesDo not choose a warehouse for the application's frequent small inserts and lookups on live orders.
Amazon AthenaServerless interactive SQL query service for data in Amazon S3 and supported federated sources.serverless SQL, query in place, bytes scanned, Parquet, partitionsDo not choose it to serve millisecond transactional reads or to replace an ETL job that produces curated files.
AWS GlueServerless data integration service with crawlers, a shared metadata catalog, and extract-transform-load jobs.ETL, crawler, Data Catalog, schema discovery, SparkA crawler does not transform records, and the catalog is not the query engine.

Decision tree

  1. Build a SQL warehouse for repeated BI queries over curated datasets Amazon Redshift
  2. Run ad hoc SQL directly against S3 without loading a warehouse Amazon Athena
  3. Discover schemas, catalog data, or run managed ETL jobs AWS Glue

If none of these clues fit, check the exact requirement before choosing.