StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Databases
  4. Big Data Tools
  5. Amazon Athena vs Druid

Amazon Athena vs Druid

OverviewDecisionsComparisonAlternatives

Overview

Druid
Druid
Stacks376
Followers867
Votes32
Amazon Athena
Amazon Athena
Stacks521
Followers840
Votes49

Amazon Athena vs Druid: What are the differences?

Introduction

1. Querying Mechanism: Amazon Athena and Druid have different querying mechanisms. Amazon Athena is based on Presto, a distributed SQL query engine, which allows users to write SQL queries to analyze data in Amazon S3. On the other hand, Druid is a time-series database that specializes in real-time analytics and has its own query language, called Druid Query Language (DSL). While Athena offers SQL-like syntax for querying, Druid's DSL is specifically designed for efficient querying of time-series data.

2. Data Ingestion and Storage: One key difference between Amazon Athena and Druid is their approach to data ingestion and storage. Athena directly queries data stored in Amazon S3, without the need for any data ingestion process. In contrast, Druid requires a data ingestion process where data is loaded into its distributed, column-oriented storage format. This format enables efficient querying and aggregation over large datasets.

3. Architecture and Scalability: Amazon Athena follows a serverless architecture, where the underlying infrastructure is managed by AWS, allowing users to focus solely on the data analysis aspect. It scales automatically based on the query load and can handle concurrent queries from multiple users efficiently. Druid, on the other hand, follows a distributed architecture and is designed to handle high ingest rates and queries on large volumes of data in real-time. It can scale horizontally by adding more nodes to the cluster.

4. Data Types and Capabilities: Another difference lies in the supported data types and capabilities of Amazon Athena and Druid. Athena supports a wider range of data types, including primitive types, such as strings, numbers, booleans, and complex types like arrays and maps. It also provides features like window functions, time-based functions, and joins. In contrast, Druid has a more limited set of data types focused on time-series data, such as timestamps, numerics, strings, and arrays. It offers advanced capabilities for time-series analysis, including roll-ups, filtering, granular aggregations, and approximate query processing.

5. Cost Structure: The cost structure for using Amazon Athena and Druid differs significantly. Athena follows a pay-as-you-go model, where users are billed based on the amount of data scanned by their queries. This allows for cost optimization as users can control the query size and limit unnecessary scanning. Druid, on the other hand, requires users to provision and manage their own infrastructure, including storage, compute, and networking resources. The cost is based on the infrastructure resources allocated and maintained by the user.

6. Integration and Ecosystem: Amazon Athena integrates seamlessly with other AWS services, such as AWS Glue for data cataloging and AWS Lambda for serverless data processing. It also provides easy integration with popular BI tools and visualization platforms. Druid, being a standalone open-source project, offers integrations with various data sources, including Kafka, Hadoop, and cloud storage services like Amazon S3. It has a vibrant ecosystem of ingestion and query tools, along with community-driven extensions and plugins.

In Summary, Amazon Athena and Druid differ in their querying mechanism, data ingestion and storage approach, architecture and scalability, supported data types and capabilities, cost structure, and integration ecosystem.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on Druid, Amazon Athena

Aditya
Aditya

Mar 13, 2021

Review

you can use aws glue service to convert you pipe format data to parquet format , and thus you can achieve data compression . Now you should choose Redshift to copy your data as it is very huge. To manage your data, you should partition your data in S3 bucket and also divide your data across the redshift cluster

220k views220k
Comments
Kevin
Kevin

Co-founder at Transloadit

Dec 18, 2020

Review

Hey there, the trick to keeping costs under control is to partition. This means you split up your source files by date, and also query within dates, so that Athena only scans the few files necessary for those dates. I hope that makes sense (and I also hope I understood your question right). This article explains better https://aws.amazon.com/blogs/big-data/analyze-your-amazon-cloudfront-access-logs-at-scale/.

5.08k views5.08k
Comments
Pavithra
Pavithra

Mar 12, 2020

Needs adviceonAmazon S3Amazon S3Amazon AthenaAmazon AthenaAmazon RedshiftAmazon Redshift

Hi all,

Currently, we need to ingest the data from Amazon S3 to DB either Amazon Athena or Amazon Redshift. But the problem with the data is, it is in .PSV (pipe separated values) format and the size is also above 200 GB. The query performance of the timeout in Athena/Redshift is not up to the mark, too slow while compared to Google BigQuery. How would I optimize the performance and query result time? Can anyone please help me out?

522k views522k
Comments

Detailed Comparison

Druid
Druid
Amazon Athena
Amazon Athena

Druid is a distributed, column-oriented, real-time analytics data store that is commonly used to power exploratory dashboards in multi-tenant environments. Druid excels as a data warehousing solution for fast aggregate queries on petabyte sized data sets. Druid supports a variety of flexible filters, exact calculations, approximate algorithms, and other useful calculations.

Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. Athena is serverless, so there is no infrastructure to manage, and you pay only for the queries that you run.

Statistics
Stacks
376
Stacks
521
Followers
867
Followers
840
Votes
32
Votes
49
Pros & Cons
Pros
  • 15
    Real Time Aggregations
  • 6
    Batch and Real-Time Ingestion
  • 5
    OLAP
  • 3
    OLAP + OLTP
  • 2
    Combining stream and historical analytics
Cons
  • 3
    Limited sql support
  • 2
    Joins are not supported well
  • 1
    Complexity
Pros
  • 16
    Use SQL to analyze CSV files
  • 8
    Glue crawlers gives easy Data catalogue
  • 7
    Cheap
  • 6
    Query all my data without running servers 24x7
  • 4
    No data base servers yay
Integrations
Zookeeper
Zookeeper
Amazon S3
Amazon S3
Presto
Presto

What are some alternatives to Druid, Amazon Athena?

Apache Spark

Apache Spark

Spark is a fast and general processing engine compatible with Hadoop data. It can run in Hadoop clusters through YARN or Spark's standalone mode, and it can process data in HDFS, HBase, Cassandra, Hive, and any Hadoop InputFormat. It is designed to perform both batch processing (similar to MapReduce) and new workloads like streaming, interactive queries, and machine learning.

Presto

Presto

Distributed SQL Query Engine for Big Data

Apache Flink

Apache Flink

Apache Flink is an open source system for fast and versatile data analytics in clusters. Flink supports batch and streaming analytics, in one system. Analytical programs can be written in concise and elegant APIs in Java and Scala.

lakeFS

lakeFS

It is an open-source data version control system for data lakes. It provides a “Git for data” platform enabling you to implement best practices from software engineering on your data lake, including branching and merging, CI/CD, and production-like dev/test environments.

Apache Kylin

Apache Kylin

Apache Kylin™ is an open source Distributed Analytics Engine designed to provide SQL interface and multi-dimensional analysis (OLAP) on Hadoop/Spark supporting extremely large datasets, originally contributed from eBay Inc.

Splunk

Splunk

It provides the leading platform for Operational Intelligence. Customers use it to search, monitor, analyze and visualize machine data.

Apache Impala

Apache Impala

Impala is a modern, open source, MPP SQL query engine for Apache Hadoop. Impala is shipped by Cloudera, MapR, and Amazon. With Impala, you can query data, whether stored in HDFS or Apache HBase – including SELECT, JOIN, and aggregate functions – in real time.

Vertica

Vertica

It provides a best-in-class, unified analytics platform that will forever be independent from underlying infrastructure.

Azure Synapse

Azure Synapse

It is an analytics service that brings together enterprise data warehousing and Big Data analytics. It gives you the freedom to query data on your terms, using either serverless on-demand or provisioned resources—at scale. It brings these two worlds together with a unified experience to ingest, prepare, manage, and serve data for immediate BI and machine learning needs.

Apache Kudu

Apache Kudu

A new addition to the open source Apache Hadoop ecosystem, Kudu completes Hadoop's storage layer to enable fast analytics on fast data.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase