ClickHouse vs Apache Druid vs DuckDB

ClickHouse suits a shared, self-hosted analytics server. Apache Druid suits high-concurrency queries over streaming data and accepts the most operating parts. DuckDB suits single-machine analytics with no server to run.

On this page

ClickHouse vs Apache Druid vs DuckDB: which fits which team

Choose ClickHouse when many users and services need to query one shared analytical server that your team runs and patches. Choose Apache Druid when high-concurrency queries over streaming data matter most and your team can staff the most moving parts of the three. Choose DuckDB when one analyst or one application needs analytics on a single machine, with no database server to install, update or back up. ClickHouse is the wrong choice if nobody will own replication, backups and the ClickHouse Keeper nodes that coordinate replicas. Druid is the wrong choice for a small team with mostly batch data, because deep storage, a metadata store and ZooKeeper all need care before the first query runs.

DuckDB is the wrong choice once several separate processes must write to the same database file, because in read-write mode one process holds that file. Within one process, DuckDB supports multiple writer threads, so a single application that owns its writes can still fit. Before choosing, count the independent writers, confirm whether changes arrive as bulk appends, and decide whether a second machine must see the same results. For ClickHouse, plan the upgrade path early: stable releases ship roughly monthly, LTS releases twice a year, and each LTS line gets one year of support, so confirm with your security team which lines they will accept. Replication does not guard against human error or corruption, so schedule BACKUP and RESTORE jobs to storage outside the cluster from the first day. Druid's strongest reason to accept its extra services is native streaming ingestion from Kafka or Kinesis, so test that path with your own event volume before committing.

Which scenario points to ClickHouse, Apache Druid or DuckDB

This table matches common team situations to the best fit among ClickHouse, Apache Druid and DuckDB, with one reason and one thing to confirm for each. Read the first column as your situation and the second as the starting candidate. The main takeaway is that DuckDB fits single-process work, ClickHouse fits shared servers, and Druid fits streaming workloads that justify its coordination footprint.

SituationBest fitWhyConfirm first
Shared analytics server for many analystsClickHouseA long-running server serves many concurrent SQL users from one shared store.Your identity integration with ClickHouse access control and your backup schedule.
Streaming event data needing fast queries under high concurrencyApache DruidReads Kafka and Kinesis directly and is designed for interactive queries at high concurrency.Load tests on your query mix for Druid and ClickHouse, plus staff for ZooKeeper and deep storage.
Parquet or CSV files for one analyst or one applicationDuckDBEmbedded in the host process, so there is no server, and it queries files named in the FROM clause.That the data fits one machine and that a single process will own writes to the database file.
A team that does not want to run a coordination clusterDuckDB, or ClickHouse on one nodeDruid needs ZooKeeper and deep storage, and replicated ClickHouse needs Keeper on at least three nodes in production.Whether one node meets your recovery target, since replication alone does not protect against human error.
Many processes writing to one databaseClickHouse serverA server accepts connections from many clients. DuckDB allows one read-write process per file.Your insert batch sizes and the merge load they create, tested on representative write volume.
Point lookups of single rowsPostgreSQL or another row storeColumn storage makes single-row retrieval slower in ClickHouse, and DuckDB targets large analytical scans.Your latency target for lookups and whether PostgreSQL already runs in your estate.
Team that wants a managed serviceClickHouse CloudClickHouse Inc. sells ClickHouse Cloud as a managed service alongside the Apache-2.0 server.Where the data is hosted and whether a managed service meets your data control and residency rules.

What is free, what is paid and who sells support for each platform

The ClickHouse server is open source under the Apache License 2.0, so the software itself carries no license fee. The paid route is ClickHouse Cloud, a managed service that ClickHouse Inc. sells separately from the open-source server. Whether ClickHouse Inc. or another party sells support for a self-hosted server is a question to put to the vendor in writing.

  • Server license: The ClickHouse repository is marked Apache-2.0 (SPDX identifier Apache-2.0). Keep the license notices when you redistribute builds, and review any bundled components before you ship them.
  • Managed service: ClickHouse Cloud is a separate product sold by ClickHouse Inc. Its features and terms can differ from the self-hosted server, so compare both against the same feature list before you decide.
  • Release lines: Stable releases ship roughly monthly and LTS releases twice a year, with each LTS supported for a year. Current lines include 26.9 stable and 26.8 LTS, and the security policy lists 26.9, 26.8, 26.7 and 26.3 as supported.
  • Recurring cost: The license is free, so the recurring cost is hosts, backup storage and staff time. The replication guide recommends at least three ClickHouse Keeper nodes on dedicated hosts in production, with about 4 GB of RAM each.
  • Support terms: Confirm whether ClickHouse Inc. or a third party sells support for a self-hosted server, what response commitments it includes and how long each release line receives fixes.

Before budgeting, get the support terms in writing and confirm whether any feature you need is available only in ClickHouse Cloud.

How ClickHouse, Apache Druid and DuckDB compare on architecture and operations

This table compares ClickHouse, Apache Druid and DuckDB on licensing, architecture, dependencies, ingestion, write behavior, backup, release lines and identity. Read cells that say to confirm as questions to check in the vendor documentation before you shortlist a platform. The main takeaway: ClickHouse and Druid run as multi-component services with their own operating footprint, while DuckDB is embedded, so its key design decisions concern file access and concurrency.

AreaClickHouseApache DruidDuckDB
LicenseApache-2.0 for the server; ClickHouse Inc. sells ClickHouse Cloud separatelyApache-2.0, an Apache Software Foundation projectMIT, with intellectual property held by the DuckDB Foundation
ArchitectureColumn-oriented database server for online analytical processingMaster, Query and Data server groups: Coordinator, Overlord, Broker, Router, Historical, MiddleManager or IndexerEmbedded in a host process, with no separate database server
External dependenciesClickHouse Keeper for replicated tables, with at least three nodes recommended in productionDeep storage (S3, HDFS or local disk), a metadata store (PostgreSQL, MySQL or Derby) and ZooKeeperNone beyond the host process and the database file
Ingestion pathsConfirm supported sources and insert methods for your pipelines in the ClickHouse docsStreaming supervisors for Kafka and Kinesis; batch through native batch tasks or SQL INSERT and REPLACEReads CSV and Parquet by naming files in the FROM clause; designed for large-scale bulk appends
Write concurrency and replicationReplicatedMergeTree tables; a recovered replica resyncs from a healthy replica automaticallyConfirm replication and segment availability settings for your cluster in the Druid docsOne read-write process per file; threads conflict only on the same row; multi-process writes need Quack or DuckLake
BackupBACKUP and RESTORE, full or incremental, to local disk, S3-compatible storage or Azure Blob Storage; replication does not protect against human errorConfirm how to back up deep storage and the metadata store together in your environmentBack up the database file with your own file-level process; confirm the procedure in the DuckDB docs
Release cadence and latest lineStable releases roughly monthly, LTS twice a year with one-year support; latest 26.9 stable and 26.8 LTSLatest 38.0.0 (October 1, 2026), after 37.0.0 (May 8, 2026) and 36.0.0 (February 9, 2026)Latest v1.5.6 (September 28, 2026); confirm the release schedule in the DuckDB release notes
Extensibility through table formats and extensionsConfirm lakehouse and external table options for your version in the ClickHouse docsConfirm extension and external data options for your version in the Druid documentationCore extensions include postgres, mysql, sqlite, iceberg, delta, ducklake and httpfs; most have best-effort support
Identity integrationExternal authenticators and access control are set in the server; confirm supported SSO methods in the ClickHouse docsConfirm authentication and authorization options for your deployment in the Druid documentationNo server login layer; access follows the host process and file permissions

Druid needs three outside systems, ClickHouse needs Keeper, DuckDB needs none

The diagram follows data from ingestion to query in each platform. In Apache Druid, Kafka or Kinesis feeds Middle Manager or Indexer tasks, which write segments to deep storage. Historical servers load those segments, while the Coordinator and Overlord depend on the metadata store and ZooKeeper. In ClickHouse, replicated servers coordinate through ClickHouse Keeper, and BACKUP writes to a separate target because replication alone does not protect against human error. In DuckDB, the database file is opened inside the host process, so there is no separate server boundary to secure. Check where each write path crosses a network or team boundary in your environment.

Write paths and trust boundaries for each platform, at component level.

How Druid's three external systems shape day-to-day operations

Apache Druid has the largest operating surface of the three options because it runs as several cooperating server tiers and depends on three external systems. The Master tier holds the Coordinator and Overlord, which manage segment assignment and ingestion tasks. The Query tier holds the Broker and Router, which receive and route queries. The Data tier holds the Historical and Middle Manager or Indexer processes, which serve segments and run ingestion work. Around these sit deep storage (S3, HDFS or local disk) for segment files, a metadata store (typically PostgreSQL, MySQL or Derby) for segment and task records, and ZooKeeper for service discovery, coordination and leader election. Each dependency needs a named owner before the first production load, because each one fails in a different way.

Assign the metadata store to the team that already runs PostgreSQL or MySQL backups, patching and failover, since Druid will be one more application on that database. If it becomes unavailable, the Coordinator and Overlord cannot read or record segment and task state, so new ingestion stalls and segment management stops. Historical processes that already hold segments should keep serving them from local copies, but confirm that behavior in a test environment before you rely on it. Deep storage belongs to whoever owns the S3 bucket policy or HDFS cluster. If it is unreachable, newly built segments cannot be published and Historicals cannot load segments they do not hold, so new data does not become queryable. Ask the storage owner for restore timings and test a full restore of the segment store, not just the metadata store.

What drives the running cost of ClickHouse vs Apache Druid vs DuckDB

None of the three platforms charges a license fee for the server, so running cost comes from hosts, coordination services, backup storage, upgrade work and any managed service you add. Each card separates one-time setup from recurring cost, names who is paid for what, and lists what to request in a written quote.

Hosts and nodes

Compute is the recurring line. ClickHouse and Druid run as server clusters, so you pay for every node, replica and disk you keep online. Druid divides work across Master, Query and Data servers, and ClickHouse Keeper nodes should sit on dedicated hosts in production. DuckDB runs inside your application process, so there is no server fleet to size, but the host it runs on still carries a recurring bill. Provisioning and sizing are one-time work, while hosting is paid to your cloud provider or data center. Ask the quote for node count by role, memory per node and which replicas are included.

Why DuckDB

Coordination and dependencies

Druid depends on three outside systems: deep storage (S3, HDFS or local disk), a metadata store (PostgreSQL, MySQL or Derby) and ZooKeeper for coordination. ClickHouse replicated tables use ClickHouse Keeper, which replaces ZooKeeper, and its replication guide recommends at least three Keeper nodes in production. DuckDB needs no coordination service, but several processes writing one file need the Quack remote protocol (beta as of v1.5.2) or DuckLake with PostgreSQL as its catalog. Patching and monitoring recur. Setup is one-time. Ask the quote who operates each dependency and who patches it.

Druid architecture

Backup and storage

Storage recurs for as long as data is kept. ClickHouse BACKUP and RESTORE write full and incremental copies to local disk, S3-compatible storage or Azure Blob Storage, and its documentation notes that replication alone does not protect against human error or corruption. Druid holds segments in deep storage, and its metadata store needs a backup plan of its own. DuckDB keeps data in a database file your team manages, so backup design, retention and restore drills fall to you. Designing the backup and running the first restore test are one-time work. Ask the quote for backup targets, retention periods, restore test frequency and who is paid to run the tests.

ClickHouse backup docs

Upgrades and release tracking

Release cadence sets the upgrade budget. ClickHouse ships stable releases roughly monthly and LTS releases twice a year, each LTS supported for a year, and its security policy lists 26.9, 26.8, 26.7 and 26.3 as supported. Druid published 36.0.0, 37.0.0 and 38.0.0 between February and October 2026, so you need an upgrade calendar. DuckDB is embedded, so each upgrade means rebuilding and retesting the application that ships it, and v1.5.6 was published on September 28, 2026. Reading changelogs and testing against representative data recur with every release. Ask the quote which versions are covered, the test environment and who approves the cutover.

ClickHouse production FAQ

Paid add-ons and managed services

None of the three charges a license fee for the server, since ClickHouse and Druid are Apache-2.0 and DuckDB is MIT. Cost moves into services. ClickHouse Inc. sells ClickHouse Cloud separately, and any paid support or managed offering for Druid or DuckDB must be confirmed with its vendor. Implementation is usually one-time, while support and continuous testing recur. DeployOpen quotes follow a written, fixed scope, and ongoing support is available as a retainer. Ask each quote which services are included, the response terms and what a managed plan bills by.

What implementing each platform involves

ClickHouse work centers on replication and recovery design. Tables that must survive a host failure are created as ReplicatedMergeTree tables, coordinated by ClickHouse Keeper, which replaces ZooKeeper. The replication guide recommends at least three Keeper nodes on dedicated hosts in production, with about 4 GB of RAM each, so the platform team should plan those hosts as infrastructure separate from the data nodes. Replication alone does not protect against human error or corruption, so the DBA or platform team also configures BACKUP and RESTORE to local disk, S3-compatible storage or Azure Blob Storage, sets full and incremental schedules, and proves a restore in a separate environment. Before go-live, build a pre-production environment with representative data and a fixed query set, and read the changelog before each upgrade, since minor backward-incompatible changes can occur.

Druid needs a cluster design before any data arrives. A production deployment has Master servers (Coordinator and Overlord), Query servers (Broker and Router) and Data servers (Historical and Middle Manager or Indexer). It also depends on deep storage for segments (S3, HDFS or local disk), a metadata store (typically PostgreSQL, MySQL or Derby) and ZooKeeper. Streaming loads run as supervisors that read Apache Kafka or Amazon Kinesis directly, so data engineers must define topics or streams, timestamp and dimension mapping, and alerts for stalled supervisors. Batch loads use native batch (index_parallel) tasks or SQL INSERT and REPLACE statements, and each data set's method should be recorded. For Kubernetes, the Druid README points to the community druid-operator, so confirm its upgrade path and support expectations with your platform team before adopting it. The local and Docker quickstarts are for evaluation.

DuckDB moves the design work into the application. Because it is embedded in a host process, there is no server to install or patch, but the team must decide the file layout, the concurrency model and the extension set. In read-write mode one process can read and write a database file, while READ_ONLY mode lets several processes read but none write. Within one process, multiple writer threads can update separate tables, and a conflict error occurs only when two threads change the same row at once. Multi-process writes need the Quack remote protocol (beta as of DuckDB v1.5.2) or DuckLake with PostgreSQL as the catalog. Most core extensions sit at the secondary (best-effort) support tier, so confirm the tier of each one you plan to use. Application owners, data engineers and the security team should sign a written scope that names the file layout, the concurrency model and the approved extensions.

Does ClickHouse vs Apache Druid vs DuckDB need outside help to run

What drives the cost of outside help to run ClickHouse, Druid or DuckDB?

The quote follows from the written scope, which DeployOpen agrees with you before work starts, and most engagements are fixed-scope. The cost is driven by the number of systems, how deeply each one is integrated and hardened, and whether you add ongoing support:

  • ClickHouse: cluster design, Keeper nodes, backup and restore, access control and any SSO integration.
  • Apache Druid: Coordinator, Broker, Historical and ingestion tiers, deep storage, a metadata store and ZooKeeper.
  • DuckDB: usually the smallest scope, since there is no server, but pipelines, file layout and concurrency design still need work.

Ask each quote to separate one-time work (design, build, hardening, documentation, handover) from recurring work (upgrades, continuous testing, support retainers). Infrastructure runs in your own cloud accounts, data centers or air-gapped networks, so confirm who pays for those resources. DeployOpen does not publish a price list.

How long does an implementation of ClickHouse, Druid or DuckDB take?

The duration is set in the written scope, and its main drivers are the topology you choose, the volume and shape of the data, and the integrations around the platform, such as identity, monitoring, backup and data sources. ClickHouse adds replica and Keeper setup plus backup testing. Druid adds ingestion pipelines from Kafka, Kinesis or batch files, along with sizing for each server tier. DuckDB usually moves fastest because there is no server to build, so the time goes into data sources, file formats and how your application opens and writes the database. Before you compare vendors, ask for milestones, a pre-production test with representative data and queries, and a handover date in the scope.

Can an internal team run ClickHouse, Apache Druid or DuckDB alone?

Yes, a capable internal team can run DuckDB alone, and it can run ClickHouse or Druid alone if it already operates distributed systems, but the daily load differs sharply. DuckDB is embedded in a host process, so there is no database server to install, update or maintain. The skills needed sit in the application, the file layout and the concurrency rules: one process can read and write a database file, and read-only mode allows several readers. ClickHouse needs cluster operations, including replicated tables, Keeper, backup schedules and restore drills, because replication alone does not guard against human error. Druid is the heaviest, with Master, Query and Data servers plus deep storage, a metadata store and ZooKeeper. Outside help usually pays off most at the first build, the hardening and the handover. Check on-call coverage and upgrade capacity before you decide.

Do I have to run ClickHouse Keeper or ZooKeeper with Druid?

Yes for ClickHouse replication and for Druid, and no for DuckDB. ClickHouse replicated tables (ReplicatedMergeTree) are coordinated by ClickHouse Keeper, which replaces ZooKeeper. The replication guide recommends at least three Keeper nodes on dedicated hosts in production, with about 4 GB of RAM each. A recovered replica syncs missing data from a healthy replica without manual steps. Apache Druid uses ZooKeeper for service discovery, coordination and leader election, alongside deep storage and a metadata store, so you need it for a working cluster. Druid's architecture documentation lists these dependencies. Confirm the ZooKeeper version and ensemble layout for your Druid release, and confirm whether your ClickHouse tables are replicated, since non-replicated tables do not depend on Keeper. DuckDB has no coordination service because it runs inside your process.

How often do ClickHouse, Druid and DuckDB need upgrades, and how long is support?

Plan for regular upgrades on all three, and check each project's support window before you commit. ClickHouse stable releases ship roughly monthly, LTS releases twice a year, and each LTS line is supported for a year. Its security policy lists 26.9, 26.8, 26.7 and 26.3 as supported with security updates, and the current stable build is v26.9.20.23-stable. Druid has published 36.0.0 (February 9, 2026), 37.0.0 (May 8, 2026) and 38.0.0 (October 1, 2026), so confirm which line your team will run and its support period with the project. DuckDB's latest release is v1.5.6 (September 28, 2026), and its support window should be confirmed with the DuckDB project before you plan an upgrade path. Before any upgrade, test on pre-production data and read the changelog, because minor backward-incompatible changes can occur in ClickHouse.

Does ClickHouse, Apache Druid or DuckDB have a compliance certificate?

Not by default: being open source does not make any of the three certified, and this comparison does not establish a certificate for any of them. A compliance certificate or attestation applies to a named operator, environment and scope, so ask the vendor or hosting provider for current documents covering the exact service you will run. DeployOpen does not issue audit reports, attestations or certifications, because independent auditors and certification bodies do that work. DeployOpen can prepare the systems, controls and evidence an assessor will ask for, such as access control settings, audit logging, backup records and SSO configuration. For ClickHouse, the access control, external authenticator and backup documentation are useful starting points for that evidence. If you use ClickHouse Cloud, a managed service sold by ClickHouse Inc., ask separately for its assurance documents.

What switching between these platforms later costs

Switching cost is set mostly by how much of your data model and query logic is tied to one engine, so inventory that before you choose. ClickHouse tables are MergeTree-family tables defined with ORDER BY and partition keys. Druid datasources carry a timestamp column, dimensions, metrics and optional rollup applied at ingestion. DuckDB tables live inside a database file. Each is a different modeling decision, so moving a table usually means redesigning it. Query rewrites come next. Druid SQL is planned into native queries, and dashboards built on its HTTP or JDBC APIs can depend on Druid-specific behavior. ClickHouse and DuckDB each bring their own SQL functions and type rules, so count how many dashboards use engine-specific expressions before you size the move.

Pipelines are the second cost, and they differ by platform. Druid reads Kafka and Kinesis through supervisors and loads batch data through native batch tasks or SQL INSERT and REPLACE statements, so those jobs must be rebuilt on whichever loaders the target platform uses. ClickHouse replicated tables rely on ClickHouse Keeper for coordination, while DuckDB runs inside your host process and writes to files you manage, so its pipelines look more like scheduled jobs than services. Druid keeps segments in deep storage behind a metadata store and ZooKeeper, so segment files are not portable tables. Export from source data or from query results, and keep the raw source of truth outside Druid before any cutover.

Validation and exit paths are where teams underestimate effort. Compare row counts, sums and distinct counts by time bucket and by key dimension between the old and new platforms, and check Druid rollup first, since it reduces stored rows and changes what a raw count means. Then confirm the import and export paths before committing. For ClickHouse, review the ClickHouse backup and restore documentation and the formats you would need to load elsewhere. For DuckDB, confirm that the postgres, mysql, sqlite, iceberg, delta or ducklake extensions match your sources and their support tier. For Druid, confirm what its export options actually produce. Run a full export and restore of your largest table in a test environment, and use the measured result in your cutover plan.

How DeployOpen helps choose and implement the right platform

DeployOpen helps teams decide which of these three fits their data, hosting rules and team, then implements the choice inside the client's own cloud accounts, data centers or air-gapped networks. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. The comparison above is the starting point for that written scope.

How we scope

  • Written scope names the workloads, data sources and query patterns each engine must serve.
  • Scope records the expected ingest path, such as Kafka streams, batch files or bulk appends, for each candidate.
  • Deliverables and timelines are agreed in writing before work starts, and any quote follows from that written scope.

How we build

  • Build covers the chosen engine's deployment inside your cloud accounts, data centers or air-gapped network.
  • Access control follows each engine's own model, including ClickHouse access rights and external authenticators where used.
  • Backup and restore jobs are built and tested for ClickHouse, because replication alone does not protect against human error.

How we hand over

  • Handover covers runbooks, architecture notes and the configuration files needed to rebuild the deployment.
  • Upgrade steps for stable and LTS ClickHouse lines are written down, including the changelog review before each change.
  • DuckDB's single-writer limits are documented in handover, so teams know when they will hit them.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Security testing of the deployed engine and its query interfaces can run before go-live or on a recurring basis.
  • Compliance readiness work prepares control evidence for independent auditors, who issue any audit report or certification.

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.