Apache Druid vs DuckDB

Choose Apache Druid when many users and services need fast queries over streaming or large event data on a shared cluster. Choose DuckDB when one analyst, pipeline or application needs embedded analytics over files and extracts with no server to run.

On this page

Apache Druid vs DuckDB: which fits your analytics workload

Choose Apache Druid when many users or services need fast queries on streaming or large event data at the same time, and choose DuckDB when a small team needs quick analysis of files and extracts without standing up a server. Druid fits concurrent, streaming, multi-user serving, and DuckDB fits embedded, single-process analysis. Four questions settle most of the choice: how many writers and readers must run at once, whether data arrives as a stream, who will operate a cluster, and whether the analysis lives inside an application process. Answer these before comparing features, because they decide which product is worth evaluating at all.

Concurrency is the first check, and it is where the two products differ most. In read-write mode, one process can read and write a DuckDB database file, while READ_ONLY mode lets several processes read it but none write. Writing from several processes needs the Quack remote protocol, which was in beta as of DuckDB v1.5.2, or DuckLake with PostgreSQL as the catalog database. DuckDB concurrency docs cover the exact conditions. Druid spreads query work across Broker and Router servers and ingestion across Middle Manager or Indexer servers, so many concurrent users and writers are its normal case. Streaming is the second check: Druid reads Apache Kafka and Amazon Kinesis directly through supervisors, while DuckDB is documented for large-scale changes such as bulk appends, so confirm how your event feed would reach it before you pick DuckDB for streaming data.

Operating effort and placement settle the rest. Druid depends on three external systems: deep storage such as S3, HDFS or local disk for segments, a metadata store typically PostgreSQL, MySQL or Derby, and ZooKeeper for coordination, so someone must run, patch and back up each one beside the Druid services. DuckDB runs inside a host process with no database server to install, update or maintain, which suits a team that owns its application, but the database file and its backups then belong to that host. Ask who will handle upgrades, backup and on-call for each option, and whether the analysis must be shared across services. For Druid, check the version you plan to pin against the apache/druid releases page, where 38.0.0 is listed from October 1, 2026.

Which team scenarios favor Druid and which favor DuckDB

This table maps common team scenarios to the platform that fits better, with the reason and the condition to confirm in your own environment. Read each row against your ingestion path, concurrency needs and where your data lives. Druid suits shared, always-on services for streams and many users, while DuckDB suits single-user, file-based and embedded work.

Team scenarioBetter fitReason and condition to confirm
Internal dashboards on streaming eventsApache DruidSupervisors read Kafka and Kinesis directly. Confirm your events arrive on one of those streams and that your team can run the cluster.
User-facing analytics with many concurrent queriesApache DruidThe README names high concurrency and powering UIs as target workloads. Load test your own query mix before settling on a cluster design.
One analyst reading Parquet or CSV filesDuckDBQuery files by naming them in the FROM clause, with no server to run. Confirm the data fits on one machine.
Analytics embedded in an applicationDuckDBRuns inside the host process with no database server to maintain. Confirm the application has one writer or mostly reads.
Several services writing to one storeApache DruidServices publish events to Kafka or Kinesis for Druid to ingest. DuckDB multi-process writes need the Quack protocol (beta as of v1.5.2) or DuckLake with PostgreSQL.
Browser-based analysisDuckDBDuckDB-Wasm runs in web browsers. Confirm the data size fits the browser and the extensions you need are available in that build.
Reading lakehouse tablesDuckDB, if extensions cover your formatIceberg, delta and ducklake extensions exist, mostly at best-effort support. Confirm your table format and catalog before choosing.

How Druid splits work across servers, and what DuckDB does without any

Druid divides its work across three server groups and depends on three outside systems, so each role adds processes and stores to monitor and protect. DuckDB has none of that layer because it runs inside the host process. The cards below cover what each part means for daily operations, backups and where state lives.

Master servers: Coordinator and Overlord

The Master servers run the Coordinator, which manages segment assignment across the Historicals, and the Overlord, which accepts and tracks ingestion tasks. Operationally, that is two long-running services to monitor, restart and upgrade alongside the Query and Data servers. Both depend on the metadata store and ZooKeeper, so a Master outage can stall ingestion and segment management while some queries keep running. Check your alerts for leader changes and stuck tasks, and confirm in the Druid docs for your version how Master failover behaves before you size the cluster.

Query servers: Broker and Router

The Query servers run the Broker, which sends each query to the Historicals and ingestion tasks that hold the relevant data and merges their results, and the Router, which accepts HTTP and JDBC requests and forwards them. These processes hold no segment data, so you can scale them and place them behind a load balancer, but they still need health checks, TLS and access controls. Operationally, your users and BI tools connect at this layer, so firewall rules and monitoring should start here. Confirm which Druid APIs and console access your teams need to expose through the Router.

Data servers: Historical and Middle Manager

The Data servers run Historicals, which serve segments from local disk, and either a Middle Manager or an Indexer, which runs ingestion tasks and publishes finished segments to deep storage. This tier holds the most disk and drives most of your capacity plan. Historicals keep local copies of segments, so deep storage is the copy to protect, and you should confirm with your Druid version's docs how a Historical rebuilds its local copies after a disk loss. Choose between a Middle Manager and an Indexer based on your ingestion pattern, and confirm which one your release supports for that workload.

Three external dependencies to protect

Druid relies on three systems outside its own processes. Deep storage such as S3, HDFS or local disk holds the segments, the metadata store (typically PostgreSQL, MySQL or Derby) holds cluster metadata, and ZooKeeper handles service discovery, coordination and leader election. Operationally, that adds three systems to provision, patch and monitor, and the metadata store and deep storage both need backups. ZooKeeper keeps coordination state, so confirm with your version's docs what a ZooKeeper outage costs in recovery time before you set its availability target.

Druid architecture docs

DuckDB: no server to run

DuckDB runs inside a host process, so there is no database server to install, patch or back up separately. Its state is the database file on the host's storage, plus any CSV or Parquet files you query in place, so backups target the host's storage. The limit is concurrency: in read-write mode one process can read and write a database file, and several processes can only read it in READ_ONLY mode. Multi-process writes need the Quack remote protocol, in beta as of DuckDB v1.5.2, or DuckLake with PostgreSQL as the catalog. Confirm which option fits before you treat DuckDB as a shared service.

DuckDB concurrency docs

Druid runs as a cluster of services, while DuckDB runs inside your process

The diagram starts with clients sending queries to the Druid Router, which passes them to the Broker. The Broker fans out to Historical and Middle Manager servers, while the Coordinator and Overlord assign segments and tasks to them. Deep storage, the metadata store and ZooKeeper sit beneath the cluster as external dependencies. The DuckDB side has no server: an application process embeds DuckDB, which reads CSV and Parquet files through httpfs from local disk or S3. When you review this, confirm which Druid endpoints your network policy exposes and where each dependency runs.

Druid's query path and dependencies beside the embedded DuckDB process.

Apache Druid vs DuckDB feature by feature

This table compares Apache Druid and DuckDB on license, architecture, deployment, ingestion, query interfaces, concurrency, table formats and access control. Read each row as a question about your workload: Druid is a clustered service for many users querying live data, while DuckDB is an embedded engine that runs inside one application or process. The main takeaway is that the operating model differs more than the SQL, so check the concurrency and access rows before you shortlist either.

CapabilityApache DruidDuckDB
License and latest releaseApache-2.0. Latest release 38.0.0, published October 1, 2026MIT. Latest release v1.5.6, published September 28, 2026
Primary workloadFast analytics on streaming and batch data for interactive apps, ad hoc operational queries and high concurrencyAnalytical (OLAP) queries over large portions of data, with bulk appends as the expected change pattern
ArchitectureMaster, query and data server roles, plus deep storage, a metadata store and ZooKeeperEmbedded in a host process, with no separate database server to install or maintain
Deployment modelLocal and Docker quickstarts. Kubernetes through the community druid-operatorRuns on Linux, macOS and Windows on x86 and ARM, and in browsers through DuckDB-Wasm
Ingestion pathsStreaming from Apache Kafka and Amazon Kinesis through supervisors. Batch through native batch tasks or SQL INSERT and REPLACEReads CSV and Parquet files by naming them in the FROM clause. Bulk appends are the expected pattern
Query interfacesDruid SQL, native queries, HTTP and JDBC APIs, and a built-in web console with a data loader and query workbenchSQL through the standalone CLI and clients for Python, R, Java, Wasm and other languages
Concurrency modelBuilt for high concurrency on served queries. Confirm sizing for your user count in the Druid docsOne read-write process, or many read-only processes. Multi-process writes need the Quack protocol (beta as of v1.5.2) or DuckLake with a PostgreSQL catalog
Table format extensionsConfirm Iceberg, Delta and other table format support in the Druid docs before you plan around itIceberg, Delta and DuckLake extensions, most at the secondary (best-effort) support tier
Identity and access controlConfirm the authentication and authorization options in the Druid docs before you scope accessAccess follows the host application and its environment. Confirm what your application must enforce

Apache Druid vs DuckDB licensing: what is open and what is confirmed

Apache Druid is an Apache Software Foundation project licensed under the Apache License 2.0, and it is developed through the foundation's governance process. For a licensing review, that means the source is open under a permissive license and the project's direction is set in the open community. The 2026 release line has three major versions, so the upgrade plan you write today should name a specific version.

  • License terms: The Apache License 2.0 covers use, modification and redistribution. Have counsel read the notice and attribution requirements before you ship modified builds or packaged images.
  • 2026 releases: 36.0.0 was published on February 9, 2026, 37.0.0 on May 8, 2026 and 38.0.0 on October 1, 2026. Pin the version you deploy, and keep the release notes from the Druid releases page with your change record.
  • Dependencies: A Druid cluster also relies on deep storage, a metadata store and ZooKeeper. Each is a separate component with its own license and support path, so list them in the same review rather than assuming the Druid license covers them.
  • Commercial options: The supplied sources do not list a commercial edition of Druid. Ask the Apache community and any vendor you are considering whether support or a paid distribution covers the version you plan to run.
  • Audit trail: Auditors often ask which version was running on a given date. Record the version, the license file reviewed and the date of each upgrade decision.

Before you rely on any of this, confirm the license text in the repository and the edition status with the project and any vendor, in writing.

Apache Druid vs DuckDB cost of ownership: what you pay for

For Apache Druid, most of the cost is recurring platform work that someone must staff. Each role needs compute of its own: Coordinator and Overlord on the master side, Broker and Router for queries, and Historical and Middle Manager or Indexer servers for data. Deep storage (such as S3, HDFS or local disk), the metadata store (PostgreSQL, MySQL or Derby) and ZooKeeper are separate systems you pay to host, back up and patch. The less visible line is people. Release lines have arrived several months apart, with 36.0.0 on February 9, 2026, 37.0.0 on May 8, 2026 and 38.0.0 on October 1, 2026, so upgrade planning is a standing duty for whoever runs the cluster. One-time costs come first: ingestion modeling for Kafka or Kinesis supervisors and batch jobs, table design, and any migration from an existing warehouse.

For DuckDB, the separate platform line is smaller, and the cost moves into the application that embeds it. Because DuckDB runs inside a host process, there is no database server to install, patch or fail over. The engineering effort concentrates in two places. The first is concurrency. One read-write process can open a database file, and several processes can only read it in READ_ONLY mode. Writes from several processes need the Quack remote protocol, which was in beta as of DuckDB v1.5.2, or DuckLake with PostgreSQL as the catalog database. Check your writer count against the DuckDB concurrency documentation before you commit. The second is file layout: your team owns how Parquet or other files are partitioned, compacted and named.

Ask every provider for an itemized written scope before you compare totals. It should list each environment (development, test, production and any recovery copy), the data volume at launch and expected growth, every ingestion source with its format and delivery mode, the number of concurrent readers and writers, and the support hours with upgrade responsibility. For Druid, confirm who operates the master, query and data roles, deep storage, the metadata store and ZooKeeper. For DuckDB, confirm who designs the write path, the file layout and the embedding application. Keep one-time work (design, ingestion modeling, migration) on its own line, separate from recurring work (infrastructure, upgrades, on-call). The recurring line moves most with source count and support hours, so those two numbers should be fixed in writing.

Moving from DuckDB to Druid, or Druid to DuckDB, step by step

This sequence moves analytical workloads in either direction while checking results at each stage. It produces a tested replacement for every source, query and dashboard, a documented cutover, and an old store that can be restored from a verified backup before anything is deleted.

  1. Inventory sources, queries and consumers

    Start by listing every data source, table, view, saved query, dashboard, scheduled job and JDBC or ODBC client that reads from the current store. For DuckDB, record each database file, each ATTACH target and each CSV or Parquet path named in a FROM clause. For Druid, record each Kafka or Kinesis supervisor, each batch task, each datasource, and the query patterns and time ranges that the Broker serves. The owner of each consumer confirms its entry. Done when every consumer maps to a source, a query and a named owner.

  2. Confirm the Druid export path first

    Before planning, confirm the export path for the exact Druid release you run, because the answer depends on the version. Druid keeps segments in deep storage such as S3, HDFS or local disk, and those segments are built from ingested events, so the raw rows may need to come from the original source instead. The apache/druid releases page lists Druid 38.0.0 as published on October 1, 2026, so start from the documentation for your release line. Identify which raw source still exists, such as Kafka topic retention or the original object storage files. Done when the team holds a written export route, a named owner and a test export of one datasource.

  3. Stage source data for transfer

    Decide what moves as data and what moves as logic. For a move to Druid, land the source rows where Druid can read them: a Kafka topic with the retention you need, or Parquet or CSV files in object storage. For a move to DuckDB, use the export route confirmed earlier to write raw rows to Parquet, since DuckDB can query Parquet files by naming them in the FROM clause. Keep timestamps, time zones and key columns unchanged during the copy. Done when the row count and a checksum for one partition match between the source and the staged copy.

  4. Rebuild ingestion and translate query logic

    Move SQL logic and query definitions into the target dialect, and rebuild the load path. For Druid, write an ingestion spec and a Kafka or Kinesis supervisor for streaming sources, or a native batch (index_parallel) task or a SQL INSERT or REPLACE statement for batch sources. For DuckDB, recreate tables, views and attached catalogs inside the database file, and load Parquet or CSV data with SQL. Review every function that behaves differently between Druid SQL and DuckDB SQL, such as time bucketing and null handling. Done when each ingestion job runs in a non-production environment and every translated query runs without errors.

  5. Verify results on a representative sample

    Run each translated query against both systems over the same sample window, then compare the outputs. Choose a window that includes late-arriving events, high-cardinality keys and at least one day boundary in your main time zone. Compare row counts, sums, distinct counts and top-N ordering, and record every difference with its cause. Druid can use approximate aggregations, so note which functions are approximate and which are exact in DuckDB. Done when the team signs off a log in which every query either matches or has a documented, accepted difference.

  6. Rebuild dashboards and client connections

    Recreate each dashboard, scheduled report and client connection against the new store. Druid exposes HTTP and JDBC APIs and a built-in web console, so BI tools that speak JDBC can point to Druid's query endpoints. DuckDB is embedded in a host process, so confirm with your BI vendor how it reaches a DuckDB file. In READ_ONLY mode several processes can read a DuckDB file but none can write, and writing from several processes needs either the Quack remote protocol, in beta as of DuckDB v1.5.2, or DuckLake with a PostgreSQL catalog. Done when each dashboard refreshes on the new store and its owner has checked the figures.

  7. Move reads in controlled stages

    Switch consumers in groups, starting with the lowest-risk dashboards, and keep the old store running in parallel. For each group, run the old and new paths side by side on live data and compare outputs before the next group switches. Document a rollback for each group that points its consumers back to the old store, and test that rollback once before relying on it. Done when every consumer reads from the new store, the comparison logs show no unexplained differences, and the rollback has been tested.

  8. Retire the old store after a restore check

    Once reads have moved and the rollback window has closed, retire the old store in a fixed order. Stop Druid supervisors and tasks, or stop writes to the DuckDB file, then take a final backup. For Druid, back up the metadata store and deep storage. For DuckDB, back up the database file and any attached catalog files. Restore one backup into a separate environment before deleting anything, then remove old credentials and update the inventory. Done when the restore test succeeds, the archive has an owner, and no consumer still reads from the old store.

Where Druid and DuckDB projects usually run long

Druid projects usually run long in ingestion and schema design. The ingestion spec decides how records become segments, and the choice between a Kafka or Kinesis supervisor for streams and native batch (index_parallel) tasks or SQL INSERT and REPLACE statements for files shapes timestamps, rollup, partitioning and which columns you can filter on later. Reworking those decisions often means reingesting history. Sizing follows the role split: the Coordinator and Overlord (Master), the Broker and Router (Query), and the Historical and Middle Manager or Indexer (Data) scale on different inputs. Deep storage, the metadata store (PostgreSQL, MySQL or Derby) and ZooKeeper are three further systems to back up, secure and patch. Confirm with your platform team which metadata store and ZooKeeper arrangement they will run before the first load.

DuckDB projects usually run long in two places: where the database file lives and how writes are organized. DuckDB is embedded in a host process, so placement is a design decision for each application, and a single read-write file serves one writing process at a time. In READ_ONLY mode several processes can read the file, but none can write. Within one process, multiple writer threads can update separate tables or separate subsets of one table, and a conflict error appears only when two threads change the same row at the same time. When several processes must write, choose between the Quack remote protocol, which was in beta as of DuckDB v1.5.2, and DuckLake with PostgreSQL as the catalog database. Test your write pattern against the option you pick, and confirm Quack's status in the release you plan to run. Plan data layout early too, since file sizes and partitioning of Parquet files drive query time, and changing them later usually means rewriting files.

Buyers should supply the following before scoping either project: expected event volume and peak ingest rate, query concurrency and latency targets, retention periods, and the deep storage choice for Druid. For DuckDB, supply the number of processes that must write and the source systems and schemas they will write from. Also supply the identity provider and TLS arrangement for the Druid web console and its HTTP and JDBC endpoints, the team that will own ingestion specs or DuckDB write code, and the backup and upgrade windows your platform team accepts. If DuckLake is chosen, supply the PostgreSQL hosting and backup arrangement as well. Confirm the release lines you will run in your environment: the latest supplied releases are Druid 38.0.0 (October 1, 2026) and DuckDB v1.5.6 (September 28, 2026).

Questions buyers ask before choosing between Druid and DuckDB

What drives the cost of implementing Apache Druid?

Druid's cost is mostly the cluster and the people who build and run it, because it is a distributed system with several server roles. Druid depends on deep storage such as S3, HDFS or local disk, a metadata store typically PostgreSQL, MySQL or Derby, and ZooKeeper, so each of these adds setup and operating work. The Apache License 2.0 removes a license fee from the software itself, but you still pay for infrastructure, for DeployOpen's fixed-scope work agreed in writing, and for any retainer covering upgrades and support. Effort rises with the number of ingestion sources, the retention policy, the number of query servers and the tuning needed for concurrency. Ask any quote to break out design, build, handover and recurring support as separate lines, and to name the environments covered, such as cloud accounts or air-gapped networks.

What drives the cost of implementing DuckDB?

DuckDB is MIT-licensed, so the software itself carries no license fee, and most of the cost usually sits in the application around it, its storage and the people who design it. Because DuckDB is embedded in a host process, there is no separate cluster to size, patch or monitor. Costs come from the host application, the file or table format you choose (Parquet files, or Iceberg, Delta or DuckLake through core extensions), the storage the data lives on, and any design work for multiple writers. Recurring cost is mostly the upkeep of pipelines and the host application, plus any retainer for upgrades. Ask for the quote to separate the host application, data sources and access controls, and to state whether concurrent writing is in scope, because that design decides whether the work stays simple or needs a catalog layer.

How long does an implementation project take and what sets the timeline?

The written scope sets the timeline, so ask for a dated plan in the proposal instead of relying on a generic duration. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. The main drivers are the number of data sources and their formats, how many environments you need (development, test, production or air-gapped), how much security and compliance evidence must be prepared, and how much documentation and handover you want. A Druid project also includes sizing and building the cluster and its three external dependencies, while a DuckDB project has fewer components to stand up because the database runs inside a host process. Ask for milestones that name the decisions you must make and the dates they are needed by.

What does the work need from our own team?

You need a named owner who can decide on data, access and environments, plus people who know the source systems and the queries.

  • Data owners who confirm sources, fields, retention periods and who may see which records
  • Platform staff who provide accounts, networks, storage, identity integration and change windows
  • Application engineers who own the query clients and the pipelines that feed the database
  • Security and compliance reviewers who need access to configuration, logs and evidence

Druid shifts more of the load to platform staff, because the cluster, metadata store and ZooKeeper all need hosts and monitoring. DuckDB shifts more to application engineers, because the database lives inside their process. Ask the proposal to list which tasks DeployOpen covers and which stay with your team.

Can an internal team run Druid or DuckDB without outside help?

Yes, if your team already runs distributed data services and can own the upkeep, and that step is usually smaller for DuckDB than for Druid. Druid needs master, query and data server roles, deep storage, a metadata store and ZooKeeper, so the team must patch and upgrade several moving parts together. DuckDB has no server to maintain, but the team still owns the host application, the storage location, backups, restore tests and version upgrades. Outside help tends to fit the first build, hardening, backup design, audit evidence and handover, while your engineers run daily operations. Confirm before you decide: who responds to an incident, who restores a backup, and who approves each upgrade. DeployOpen supports self-hosted platforms through retainers for upgrades and ongoing support, so you can scope that part separately.

Can DuckDB serve as a shared warehouse for several writing services?

Several services can read a DuckDB file at the same time, but writing from several processes needs a design beyond the single file. In read-write mode one process can read and write the database file, while read-only mode lets several processes read it without writing. The DuckDB concurrency documentation names two options for multi-process writing: the Quack remote protocol, which was in beta as of DuckDB v1.5.2, or DuckLake with PostgreSQL as the catalog database. Multiple writer threads inside one process can update separate tables or separate subsets of a table, and a conflict error appears only when two threads change the same row at once. Confirm the write pattern early: how many services write, whether they touch the same rows, and what conflict handling each one needs. Druid also needs a write design, since its streaming and batch ingestion run through its own supervisors and tasks, so test both against the same workload.

What happens to our data if we switch platforms later?

Your data stays in the format it was written in, so the cost of leaving depends on whether that format is open and whether the pipelines can be reused. Druid keeps data as segments in deep storage, with metadata in its metadata store, so the cleanest exit is often the original source data that feeds the pipelines. DuckDB stores data in its database file, but it reads Parquet and CSV files named directly in the FROM clause, and its extensions cover Iceberg, Delta and DuckLake table formats. Keeping curated copies in open formats, outside the database, lowers the cost of a later move. Ask for the exit path in the written scope: which datasets move, in which formats, how row counts are checked, and how long the old and new systems run in parallel.

How DeployOpen helps you choose, implement or move between them

DeployOpen plans, implements and supports Apache Druid and DuckDB inside your own cloud accounts, data centers or air-gapped networks. Most engagements are fixed-scope: the written scope covers what gets built, tested, documented and handed over. Ongoing support is available as a retainer once the system is live.

How we scope

  • Map which queries need low-latency response under concurrent users, and which are long analytical scans.
  • Inventory Kafka or Kinesis streams, batch file landings and the BI tools that will query the results.
  • Write the scope, deliverables and timeline in writing before work starts, with a quote that follows from that scope.

How we build

  • Deploy Druid's Coordinator, Broker, Historical and MiddleManager roles, or embed DuckDB in the services that read it.
  • Wire up deep storage, the metadata store and ZooKeeper, which Druid needs alongside its own processes.
  • Configure Kafka or Kinesis supervisors and batch ingestion, then test the DuckDB extensions and file sources you rely on.

How we hand over

  • Document the ingestion paths, retention rules and query endpoints for your Druid cluster.
  • Write DuckDB runbooks that state which process may write to each database file and which may only read.
  • Hand over backup, upgrade and restore procedures for the metadata store, deep storage and each engine version in use.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover, scoped separately.
  • Where your scope includes it, test Druid's query and console endpoints and the services that embed DuckDB.
  • Prepare documentation and control evidence for your compliance team, without issuing audit reports or certifications.

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.