ClickHouse vs Trino vs Apache Druid

Choose ClickHouse to run fast analytical SQL on data you load yourself, Trino to query lakehouses and databases where they sit, or Apache Druid for low-latency queries on streaming events. Compare licensing, hosting, cost and effort.

On this page

ClickHouse vs Trino vs Apache Druid: which one fits your team first

Choose ClickHouse when you load data into an analytical database you host and want fast SQL over it. Choose Trino when the data should stay in lakehouse tables and databases and you need one SQL layer across them. Choose Apache Druid when streaming events from Kafka or Kinesis must answer low-latency queries for many concurrent users, such as dashboards or product UIs. Each choice has a condition that flips it: ClickHouse replication depends on a ClickHouse Keeper quorum, so a team that cannot run and patch that quorum should look elsewhere. Trino is a query engine that reads through connectors, so it can only be as fast as the source systems behind them. Druid depends on three external systems (deep storage, a metadata store and ZooKeeper), so weigh that operating load before you shortlist it.

All three are licensed under Apache-2.0, so license alone does not separate them. Start from where the data already lives. If it sits in Iceberg or Delta Lake tables, test Trino first, because its Iceberg connector reads and writes those tables in place. If events arrive from Kafka or Kinesis and the consumers are dashboards or product UIs, test Druid, which reads those streams through supervisors. If you want a database you load and host, test ClickHouse, but confirm you can run at least three Keeper nodes on dedicated hosts, the replication guide's production recommendation, with about 4 GB of RAM each. Whichever you pick, plan backups as a separate control, since the ClickHouse backup documentation notes that replication alone does not protect against human error or corruption.

Which platform fits which workload

This table maps six common workloads to the platform that fits each one best and names the condition that would change that choice. Read the middle column for the default pick and the last column before you shortlist, since each platform's strength has a boundary. Use it as a starting point, then test your own query mix and data volumes in a pre-production environment.

ScenarioBest fit and whyStops being the best fit when
Your own event or log data, fast analytical SQL on infrastructure you hostClickHouse. Column storage suits filtering and aggregating many rows in one hosted database.Your workload centers on fetching single rows, since column storage makes that retrieval slower.
Lakehouse tables and external databases queried in place through one SQL layerTrino. Its broad connector list and Iceberg connector read and write lakehouse tables.Your main need is high-concurrency queries on streaming data, which Druid's design targets.
Streaming ingestion from Kafka or Kinesis with fast queries for many concurrent usersDruid. Supervisors read Kafka and Kinesis streams directly, and the design targets high concurrency.Your main need is ad hoc SQL across many external sources, with streaming a secondary concern.
An existing Snowflake or PostgreSQL estate that needs federated queries across bothTrino. Both have connectors, and the Snowflake connector can create tables in your account.You want the data in one store you run, with federation as a secondary need.
Replicated tables where a recovered replica syncs missing data automaticallyClickHouse. ReplicatedMergeTree tables coordinate through ClickHouse Keeper, and recovered replicas resync on their own.Replication alone does not cover human error or corruption, so this choice still needs a backup plan.
A built-in web console with a data loader and query workbenchDruid. Its built-in web console includes a data loader and a query workbench.Your team already standardizes on a separate BI tool and treats the console as optional.

ClickHouse vs Trino vs Apache Druid: how the architectures differ

Start with where data and compute live, because that split drives most of the operating work. ClickHouse is a column-oriented SQL server that you operate on your own nodes. Replicated tables use ReplicatedMergeTree, and ClickHouse Keeper, which replaces ZooKeeper, coordinates them. The replication guide recommends at least three Keeper nodes on dedicated hosts in production, with about 4 GB of RAM each, so budget those hosts separately from your data nodes. A recovered replica syncs missing data from a healthy replica without manual steps, but replication does not protect against human error or corruption. Plan BACKUP and RESTORE jobs to local disk, S3-compatible storage or Azure Blob Storage, and test a restore before you rely on them.

Trino is a different kind of decision: it is a distributed SQL query engine that queries data where it sits and keeps no tables of its own. A cluster runs one coordinator plus workers, and the deployment docs recommend a dedicated coordinator for larger clusters. Fault-tolerant execution is off by default. Turn on a QUERY or TASK retry policy, and note that TASK, which the docs recommend for large batch queries, also needs an exchange manager that spools to S3, Azure Blob Storage, Google Cloud Storage or HDFS. Before you assume Trino can reach Druid, check Trino's connector list. It documents 37 connectors, but the connectors named in its summary do not include Druid, so confirm support on the connector page before you plan around it.

Druid splits its work across three server groups: Master servers (Coordinator and Overlord), Query servers (Broker and Router) and Data servers (Historical, plus either Middle Manager or Indexer). The roles are only part of the picture, because Druid also depends on three external systems. Segments live in deep storage such as S3, HDFS or local disk. A metadata store, typically PostgreSQL, MySQL or Derby, holds segment and configuration metadata. ZooKeeper handles service discovery, coordination and leader election. Each of these is a system you provision, back up and upgrade alongside Druid, so add them to your sizing and ownership plan before you compare licenses. If your team does not already run ZooKeeper or a production metadata database, treat that as part of the Druid cost.

Decision path from your data source to a shortlist

The diagram starts with where your data lives and whether it arrives as a stream. Data that must stay in lakehouse tables or external databases and be queried in place leads to Trino. Streaming events from Kafka or Kinesis that need low-latency queries for many concurrent users lead to Apache Druid, where you must check that your team can run deep storage, a metadata store and ZooKeeper. Data loaded into a database you host for fast SQL leads to ClickHouse, where you must check that your team can run a Keeper quorum for replicated tables. Every path ends at a reminder to confirm current behavior in each vendor's documentation before committing. The path narrows the shortlist without deciding it.

Data location and streaming narrow the shortlist to three candidates.

ClickHouse vs Trino vs Apache Druid features side by side

This table sets ClickHouse, Trino and Apache Druid side by side on the capabilities that shape a data warehouse or lakehouse build: where data lives, how it gets in, how it stays available and how access is controlled. Use each row as a question for your own workload, and where a cell says confirm, check the platform documentation or run your own test first. ClickHouse and Druid hold the data they serve, while Trino queries data where it already sits.

CapabilityClickHouseTrinoApache Druid
License and primary roleApache-2.0 column-oriented SQL database for online analytical processingApache-2.0 distributed SQL query engine that queries data in place through connectorsApache-2.0 real-time analytics database for fast queries on streaming and batch data
Query interfaceClickHouse SQL. Confirm the client protocols your applications need in its documentationDistributed SQL across many catalogs and connected systemsDruid SQL and native queries, with HTTP and JDBC APIs
Data placementTables stored on the cluster, with ReplicatedMergeTree tables replicated across nodesReads data where it sits through connectors, and writes Iceberg tablesSegments held in deep storage such as S3, HDFS or local disk, loaded onto data servers
IngestionConfirm supported ingestion paths in its documentation before designing pipelinesConnector reads, plus Iceberg INSERT, UPDATE, DELETE and MERGEKafka and Kinesis supervisors, native batch tasks, and SQL INSERT and REPLACE
High availabilityReplicated tables coordinated by ClickHouse Keeper, with a recovered replica syncing automaticallyFault-tolerant execution is off by default; QUERY or TASK retry policies enable itConfirm redundancy for each server group, the metadata store and ZooKeeper
BackupBACKUP and RESTORE for full and incremental backups; replication alone does not guard against human errorConfirm backup per source. Iceberg tables and their catalog need their own backup planConfirm backup of deep storage and the metadata store, which are separate jobs
Authentication and access controlExternal authenticators and access control; confirm which fit your identity providerPassword file, LDAP, OAuth 2.0, Kerberos, certificates and JWT; file-based, Ranger or OPA access controlConfirm authentication and authorization options in its documentation for your version
KubernetesConfirm the supported deployment method and operator in its documentationHelm guide in the Trino documentationCommunity druid-operator; confirm its maintenance status and version fit
Latest release line at publication26.9 stable and 26.8 LTS. Confirm the current line before planning an upgradeRelease 484, published October 15, 202638.0.0, published October 1, 2026

What is free and what is sold for ClickHouse, Trino and Druid

The ClickHouse server is licensed under the Apache License 2.0, according to its GitHub repository, so you can run it in your own infrastructure without a license fee. ClickHouse Inc. sells ClickHouse Cloud as a separate managed service, and that is the paid product to compare against self-hosting. The free server still carries release and security obligations that your team owns.

  • License scope: The server code is Apache-2.0. Review any separate ClickHouse Inc. tooling or add-ons on their own terms before you bundle them into your platform.
  • Managed service: ClickHouse Cloud is sold separately. Compare its hosting, backup and support terms in writing against the staff time your own cluster would need.
  • Release cadence: Stable releases ship roughly monthly, and LTS releases ship twice a year with one year of support. The current stable line is 26.9, and the LTS lines include 26.8 and 26.3.
  • Security support: The security policy lists 26.9, 26.8, 26.7 and 26.3 as supported with security updates. Any other version receives no security updates, so schedule upgrades before a line drops off that list.
  • Upgrade planning: The production guidance recommends stable releases for most production use, a pre-production environment with representative data and reading the changelog before upgrading, since minor backward-incompatible changes can occur.

Before you commit, ask ClickHouse Inc. and any support provider in writing which versions they will patch, how long each LTS line is covered, whether support for self-hosted clusters is sold separately from ClickHouse Cloud, and what a managed upgrade includes.

What drives the running cost of each platform

Running cost comes from people and recurring infrastructure, and each platform spreads it differently. Design, migration and initial load are one-time costs. Compute, storage, staff time and support recur for as long as the cluster runs. Before you request a quote, ask for the components, sizing assumptions, HA design and who runs upgrades.

ClickHouse Keeper and replicas

ClickHouse Keeper replaces ZooKeeper for replicated tables, so the coordination tier is a separate set of hosts you must size, patch and monitor. Production guidance calls for dedicated Keeper hosts, and every replica adds its own compute and storage copy. Check whether the quote counts Keeper hosts and each replica in your environment, because the replica count multiplies storage and compute spend. A recovered replica syncs missing data from a healthy peer without manual intervention, which lowers operator time but not hardware cost.

Minimum Keeper nodes
3
RAM per Keeper node
4 GB
ClickHouse replication docs

Self-host or ClickHouse Cloud

ClickHouse server is Apache-2.0 licensed, so self-hosting carries no license fee, but you pay for the hosts, storage and the staff who run them. ClickHouse Cloud is a separate managed service from ClickHouse Inc., and it can move patching, Keeper and backup operations to the vendor under its own commercial terms. Model both options over the same data volume, retention period and query load, and confirm exactly what the Cloud price includes before you compare totals.

Trino compute, spool and source load

Coordinator and worker compute is a recurring cost, and the cluster needs a 64-bit Java 25 runtime that your team patches and upgrades. A dedicated coordinator is recommended for larger clusters. If you enable TASK fault-tolerant retries, you also pay for object storage that holds spooled exchange data. Federated queries add source system load on each system they touch, such as Snowflake or PostgreSQL, so ask who absorbs that load and whether those systems have spare capacity.

Minimum Java runtime
25.0.1
Trino deployment docs

Druid external dependencies

Druid depends on three outside systems, and each carries its own running cost: deep storage for segments, a metadata store typically PostgreSQL, MySQL or Derby, and ZooKeeper for coordination and leader election. Each one needs backup, patching and failover planning, and the metadata store needs its own high availability design. The Historical and Data server footprint grows with the segments they hold and the query concurrency you expect, so size it against your retention before you accept a quote.

Upgrades and staff time

Staff time is easy to leave out of a comparison, and it recurs with every release. Trino published release 482 on June 25, 2026 and 483 on July 17, 2026, so tracking that line is continuous work. ClickHouse ships stable releases roughly monthly and LTS releases twice a year, each supported for a year, while Druid moved from 36.0.0 in February 2026 to 38.0.0 on October 1, 2026. Confirm who tracks releases, tests them against your queries and runs each upgrade.

Latest Trino release
484
Trino release notes

Backup, recovery and exit paths

ClickHouse BACKUP and RESTORE cover full and incremental backups of tables, partitions or databases to local disk, S3-compatible storage or Azure Blob Storage. Replication alone does not protect against human error or corruption, so plan separate backups. For Druid, confirm how deep storage and metadata store backups run in your deployment. Switching cost depends on export paths and data formats, so check how each platform's data can leave and what rewriting queries and pipelines would cost.

ClickHouse backup docs

What implementing ClickHouse, Trino or Druid involves

Implementing ClickHouse starts with table design. Replicated tables use ReplicatedMergeTree, coordinated by ClickHouse Keeper, and the replication guide recommends at least three Keeper nodes on dedicated hosts in production, with about 4 GB of RAM each. Build a backup schedule with restore tests using BACKUP and RESTORE, because replication does not protect against human error or corruption: a bad DELETE replicates to every copy. Pin the version, use stable releases for most production workloads, and test each upgrade in a pre-production environment with representative data and queries. Read the changelog before every upgrade, since minor backward-incompatible changes can occur. Finally, decide how users authenticate through external authenticators and how access control is modeled, then confirm both in your own environment before go-live.

Trino work begins with the coordinator and worker layout. The deployment documentation describes one coordinator plus workers, with a dedicated coordinator recommended for larger clusters, and requires a 64-bit Linux host with a 64-bit Java 25 runtime, minimum 25.0.1. Each connector needs its own catalog configuration, so list every source you must query and confirm the connector, authentication method and version behavior for each. Choose the access control model early: file-based rules, Apache Ranger or Open Policy Agent. Then decide whether fault-tolerant execution is needed. It is off by default, and the TASK retry policy, suited to large batch queries, needs an exchange manager spooling to S3, Azure Blob Storage, Google Cloud Storage or HDFS. Many teams deploy with Helm on Kubernetes, which needs its own sizing and upgrade plan.

Druid work centers on three external dependencies. Deep storage holds segments on S3, HDFS or local disk, a metadata store such as PostgreSQL, MySQL or Derby holds cluster state, and ZooKeeper handles service discovery, coordination and leader election. Each needs its own backup and availability plan, and a failure in any one of them affects query and ingestion. Next, write supervisor configuration for Kafka or Kinesis streams, and design batch ingestion with native batch tasks or SQL-based INSERT and REPLACE statements. Size Historical servers for segment volume and Middle Manager or Indexer servers for ingestion concurrency, then validate those numbers with your own data. For Kubernetes, the community druid-operator is the route to evaluate, and confirm its support expectations because it is community maintained. Across all three platforms, the team's existing skills decide whether this work stays in-house or goes to a partner. DeployOpen scopes implementation work in writing before it starts, so the plan, deliverables and timing are agreed before any build begins.

How much effort and cost does each platform need to run?

What does it cost to run ClickHouse, Trino and Apache Druid?

The server software for all three carries no license fee, because ClickHouse, Trino and Apache Druid are each released under Apache-2.0 terms. The cost sits in infrastructure, people and support. Your cloud or data center provider bills for compute, memory, disks and object storage. Your staff, or a partner you hire, covers design, deployment, tuning and upgrades. A managed service such as ClickHouse Cloud is billed by its vendor and is a separate choice. One-time costs include architecture, initial deployment, data migration and the security review. Recurring costs include hosting, storage growth, backups, monitoring, upgrades, on-call time and any retainer. Costs rise with data volume, query concurrency, replica count and the number of coordination nodes. Ask any quote to state its hardware sizing assumptions, upgrade cadence, backup storage and what support covers.

How long does it take to implement each platform?

There is no standard duration for these platforms, so the timeline should come from the written scope. The duration depends on how many sources you connect, the data volume, whether you need high availability across zones or sites, and how long your security review takes. Each platform adds different early work. ClickHouse replication depends on a Keeper quorum. Druid needs deep storage, a metadata store and ZooKeeper in place before ingestion starts. Trino needs coordinator and worker sizing and connector credentials. Ask for the work split into phases, such as build, load testing, security review and cutover. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and most engagements are fixed-scope. Treat any duration quoted before the scope is written as an estimate.

Can our own team run ClickHouse, Trino or Apache Druid?

A team with the right skills can run each one, but the skill sets differ. All three need SQL for schema and query work and Linux for the hosts. ClickHouse needs ClickHouse Keeper, which the replication guide recommends running as at least three nodes on dedicated hosts in production, with about 4 GB of RAM each. Trino needs the JVM, because it requires a 64-bit Java 25 runtime (minimum 25.0.1), plus a coordinator and workers. Trino's Helm guide covers Kubernetes. Druid needs ZooKeeper, a PostgreSQL, MySQL or Derby metadata store, and deep storage such as S3. The community druid-operator covers Kubernetes. Plan for on-call coverage, upgrade testing and backup restore drills. If no one on the team has run a distributed, stateful service, budget for training or a partner.

Can Trino replace ClickHouse or Apache Druid?

Trino can cover part of the workload, but the three engines serve different roles, so the answer depends on the workload. Trino is a distributed SQL query engine that queries data where it sits through 37 connectors, including ClickHouse, Iceberg, Delta Lake and PostgreSQL. ClickHouse is a column-oriented SQL database for online analytical processing. Apache Druid is a real-time analytics database built for fast queries and ingest, including streaming from Apache Kafka and Amazon Kinesis. If your main need is ad hoc SQL across a lakehouse and several source systems, Trino may fit. If you need low-latency dashboards at high concurrency on freshly ingested events, test ClickHouse or Druid against your own queries. Before deciding, run a proof of concept with your slowest queries, your peak concurrency and your freshness target.

How hard is it to switch away from these platforms later?

Switching is easier when data sits in open formats and in storage you control, and harder when data exists only inside one engine. ClickHouse BACKUP and RESTORE write full or incremental backups of tables, partitions or databases to local disk, S3-compatible storage or Azure Blob Storage. Backups alone do not form a migration plan, and replication does not protect against human error, so you still need an export and reload path. Druid stores segments in deep storage such as S3, HDFS or local disk, while its metadata store holds cluster state, so inventory both along with your ingestion pipelines. Trino's Iceberg connector reads and writes Parquet, ORC and Avro, supports format versions 1 and 2, lists version 3 as experimental, and supports INSERT, UPDATE, DELETE and MERGE. Tables kept in Iceberg are the most portable option. Test each export path with a full restore on representative data, and confirm format support with the vendor before you commit.

Does DeployOpen publish prices for these platforms?

No, DeployOpen does not publish a price list. A quote follows from the written scope, which sets the deliverables, the environments, the platforms in scope and the timeline. Most engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts. Ongoing support, upgrades and continuous testing are available as retainers, so the recurring part of the cost is quoted separately from the one-time build. Ask each quote to list the one-time work, the retainer scope and response expectations, the hardware and data volume assumptions, and what you provide, such as cloud accounts, network access and staff time. Because all three server projects are Apache-2.0 licensed, the quote covers services, and the software itself carries no license fee.

How DeployOpen helps you choose and implement without favoring one platform

DeployOpen plans, implements, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own infrastructure. For ClickHouse, Trino and Apache Druid, we start from your workloads, data sources and hosting constraints so the platform choice follows from your requirements. Scope, deliverables and timelines are agreed in writing before any work starts.

How we scope

  • The written scope names which ClickHouse, Trino or Apache Druid use cases and data sources are in and out.
  • Hosting target is set in the scope: your cloud account, data center or air-gapped network.
  • Engagements are fixed-scope, and ongoing support for any engine you pick is available as a retainer.

How we build

  • Druid is deployed with its master, query and data server roles, plus deep storage, metadata store and ZooKeeper.
  • ClickHouse replication is configured with ReplicatedMergeTree tables and a ClickHouse Keeper ensemble sized per the replication guide.
  • Trino connectors to your catalogs and databases are configured and documented, with access control set in the scope.

How we hand over

  • Written runbooks cover each engine's install, upgrade path and backup, including ClickHouse BACKUP and RESTORE procedures.
  • Backup for ClickHouse is documented separately from replication, because replication alone does not protect against human error.
  • Handover includes the ClickHouse upgrade plan, which follows the changelog review and a pre-production check with representative data.

How we support

  • Retainers cover ongoing support, upgrades and continuous testing for whichever engine you run in production.
  • Upgrade tracking follows each project's own release cadence, such as ClickHouse's roughly monthly stable and twice-yearly LTS releases.
  • Security testing of the deployed engines and their access paths can be added as a separate fixed-scope engagement.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.