Athena's engine is built with Trino, so this comparison is about who runs it: per-TB scanned or DPU billing against a self-hosted Trino cluster, Trino connectors and fault-tolerant execution that Athena does not support, catalog choices, and the people needed.
For teams whose Athena bill comes from dashboards scanning the same S3 data again and again: when loading that data into self-hosted ClickHouse tables beats scanning files, when Athena's pay-per-query model is still cheaper, and how ClickHouse can also read Parquet in S3.
Keeping the data in S3 and changing the engine: pointing Trino at the Glue Data Catalog or a new Iceberg REST or Hive catalog, porting saved queries and views, replacing federated query Lambda connectors with native Trino connectors, and moving workgroups to resource groups.
Cost of ownership by component: $5 per TB scanned, DPU-hour capacity, Lambda for federated queries and S3 request charges, against Trino servers or Kubernetes nodes, catalog, monitoring and on-call time. Shows the query volumes where each model wins.
Athena does not hold your data, so the exit is about everything around it: table definitions in the Glue Data Catalog, saved queries, views, workgroup settings, Lake Formation permissions and federated connectors. A checklist of what to export and rebuild.
Athena reaches databases outside S3 through Lambda-based connectors billed per TB scanned with a 10 MB minimum. Trino does this with built-in connectors for PostgreSQL, MySQL, Kafka and others. This page maps common federated sources and the security model for each.
For teams that want Athena-style SQL over files but keep data on their own object storage, such as MinIO or Ceph, because of residency, egress or air-gap rules: Trino with an Iceberg catalog on premises, sizing, and access control.
Comparing Amazon Athena with self-hosted Apache Spark for data warehouses and lakehouses: capabilities, hosting and data location, licensing and cost structure, operating effort, and what a move from Amazon Athena involves.
Amazon Athena against Microsoft Fabric for data warehouses and lakehouses: capabilities, deployment and data control, pricing structure from published facts, lock-in and exit and when a self-hosted option such as ClickHouse or Trino fits better.
Amazon Athena against Amazon EMR for data warehouses and lakehouses: capabilities, deployment and data control, pricing structure from published facts, lock-in and exit and when a self-hosted option such as ClickHouse or Trino fits better.
Amazon Athena against Starburst for data warehouses and lakehouses: capabilities, deployment and data control, pricing structure from published facts, lock-in and exit and when a self-hosted option such as ClickHouse or Trino fits better.