Amazon Athena
Analytics · Common, learn when you need it
Run SQL directly on files sitting in S3.
Picture it as
Reading the files in your cupboard without first moving them into a filing system.
What it actually does
Athena queries CSV, JSON or Parquet files in S3 using normal SQL. Nothing to set up. Store data as Parquet and partition it, or queries get slow and expensive.
Reach for it when
- Occasional analysis of files
- Log analysis
- You do not want a data warehouse yet
Do not reach for it when
- Fast dashboards many people refresh all day. Use Redshift.
One small example
Asking how many orders came from Gujarat last month, straight from log files.
How you pay
Per TB of data scanned. Bad file formats cost real money here.
Usually sits next to
The real source
This is a simplified summary written for people learning AWS. The official AWS documentation is the authoritative word and it wins wherever this page disagrees with it.