Serverless interactive SQL queries on data in Amazon S3
SaaS
Amazon Athena is AWS's serverless query service: you point it at data in Amazon S3 (CSV, JSON, ORC, Avro, Parquet and more) and query it with standard SQL, with no clusters to set up. Its SQL engine is based on Trino and Presto and scales out queries in parallel, with large joins, window functions and arrays. Tables come from the AWS Glue Data Catalog, federated connectors query around 30 other sources (Amazon Redshift, on-premises stores and other clouds) and join them with S3 data, and Athena can also run Apache Spark code in Python. It's used from the console's query editor, the API, CLI and SDKs, JDBC and ODBC drivers for BI tools, and Amazon SageMaker Unified Studio. SQL queries are billed per terabyte scanned, or at an hourly rate with Capacity Reservations.
Problems it solves
- run SQL queries on files in S3 without loading them into a database
- query application or AWS logs stored in S3 with SQL
- a serverless data lake query engine billed per query
- join data in S3 with other databases in one SQL query
Features
- Serverless SQL over data in S3
- Engine based on Trino and Presto
- CSV, JSON, ORC, Avro and Parquet formats
- AWS Glue Data Catalog integration
- Federated query connectors to about 30 data stores
- Apache Spark in Python
- JDBC and ODBC drivers, API, CLI and SDKs
Limitations
- Per-query billing has a 10 MB minimum per query, rounded up to the nearest megabyte1
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
Alternatives
The same job
These do what Amazon Athena does.
- Google BigQuery AI-native, serverless analytics engine
- Trino Fast distributed SQL query engine for big data analytics
- Presto Distributed SQL query engine for big data
- Steampipe Query cloud APIs, code and more with SQL, with no ETL
- Starburst A federated SQL and Iceberg lakehouse platform built on Trino, in the cloud or self-managed
