Trino vs Apache Druid vs DuckDB

Trino suits teams that query lakehouses and databases in place, Apache Druid suits low-latency serving to many concurrent users, and DuckDB suits analytics inside one embedded process. The right choice depends on who will operate the platform and where the data lives.

On this page

Trino vs Apache Druid vs DuckDB: which fits your situation?

Choose Trino when the data already sits in a lakehouse or operational databases and you want one SQL layer to query it in place, across 37 connectors including Iceberg, Delta Lake, PostgreSQL and Snowflake. Choose Apache Druid when many users or applications need fast, concurrent queries over streaming or batch data, such as a customer-facing dashboard that reads Kafka topics continuously. Choose DuckDB when analysis runs in one process against data a single machine can reach, because it is embedded in the host application and leaves no database server to install, patch or back up. Trino and Druid are both Apache-2.0 and DuckDB is MIT, so license is the least of the differences: who operates the platform matters more, along with where the data must stay and how many people query at once.

Operating effort separates these engines more than their feature lists do. Trino runs as one coordinator plus workers, with a dedicated coordinator recommended for larger clusters, and it requires a 64-bit Java 25 runtime (minimum 25.0.1). Druid is the heaviest to run, because its Coordinator, Overlord, Broker, Historical and MiddleManager services depend on deep storage, a metadata store such as PostgreSQL or MySQL, and ZooKeeper. DuckDB has the smallest footprint but a concurrency limit: one read-write process can write a database file, and several processes can read it only in read-only mode, so multi-user writes need the Quack remote protocol (beta as of DuckDB v1.5.2) or DuckLake with PostgreSQL as the catalog. Read the Why DuckDB page to confirm the design fit, then test your own concurrent query load, data residency rules and the staff you can fund before you choose.

Which Trino vs Apache Druid vs DuckDB scenario matches your team?

This table matches common team scenarios to the engine that fits them best across Trino, Apache Druid and DuckDB. Read each row by the workload shape and the data location first, then check the why column for the condition that makes the choice hold. The main takeaway is that Trino queries data where it sits, Druid serves concurrent low-latency queries on streams, and DuckDB suits one-machine analysis with one read-write process at a time.

ScenarioBest fitWhy it fits
Analysts querying an existing Iceberg or Delta lakehouse in placeTrinoIts Iceberg and Delta Lake connectors query tables where they sit, and Iceberg supports time travel and MERGE.
Product team serving dashboards to many concurrent users from event streamsApache DruidReads Kafka and Kinesis streams directly and targets high-concurrency, low-latency queries. Illustrative: a usage dashboard for many customers fed from a Kafka topic.
Federating a PostgreSQL or MySQL database with lakehouse dataTrinoIts PostgreSQL and MySQL connectors let one SQL query join live database tables with lakehouse files. DuckDB's postgres and mysql extensions suit one analyst's local work.
Small data team whose analysis runs on one well-sized serverDuckDBEmbedded in the host process, with no server to run. One read-write process can open a database file at a time.
Regulated team that must keep all compute inside its own networkTrino (shared) or DuckDB (single host)All three run inside your network. Trino documents LDAP, Kerberos, JWT and Ranger or OPA access control. Confirm each control with your assessor.
Several teams writing to one shared analytics store at onceTrino or Apache DruidMulti-process writes need the Quack remote protocol (beta as of DuckDB v1.5.2) or DuckLake with PostgreSQL as catalog.

How the query path differs across the three engines

Trino starts at a SQL client that talks to a coordinator, which hands work to workers that read lakehouse tables and external databases through connectors. Druid's broker or router serves queries from historical servers loaded from deep storage, and it depends on a metadata store and ZooKeeper, while Kafka or Kinesis feeds indexing through supervisors. DuckDB has no server: the host application loads the engine in process and reads CSV, Parquet or database files directly. Each boundary marks what one deployment runs and who can reach its data. In read-write mode, one process at a time can read and write a DuckDB database file.

Query paths for Trino, Druid and DuckDB, with trust boundaries and the single-writer limit.

How do Trino, Apache Druid and DuckDB differ on architecture and licensing?

This table sets Trino, Apache Druid and DuckDB side by side on license, latest release, runtime, topology, external dependencies, ingestion, write concurrency and extensibility. Trino and Druid run as multi-component clusters that need supporting services, while DuckDB runs inside your application process with no server to operate. Where a cell says to confirm, check the current project documentation for the exact version you plan to deploy.

DimensionTrinoApache DruidDuckDB
LicenseApache-2.0 licenseApache-2.0, an Apache Software Foundation projectMIT, with intellectual property held by the DuckDB Foundation
Latest releaseRelease 484, published October 15, 2026Release 38.0.0, published October 1, 2026v1.5.6, published September 28, 2026
Runtime requirement64-bit Linux with a 64-bit Java 25 runtime, minimum 25.0.1Confirm the operating system and Java versions for 38.0.0 in the Druid docsNo separate runtime; embedded in a host process through the CLI or language clients
TopologyOne coordinator plus workers; a dedicated coordinator is recommended for larger clustersMaster (Coordinator, Overlord), Query (Broker, Router) and Data (Historical, MiddleManager or Indexer) serversSingle process with no database server to install, update or maintain
External dependenciesConnectors to your data sources; spooling storage (S3, Azure, GCS or HDFS) if fault-tolerant execution is enabledDeep storage (S3, HDFS or local disk), a metadata store (PostgreSQL, MySQL or Derby) and ZooKeeperNone for local files; PostgreSQL is needed only if you use DuckLake as the catalog
Ingestion pathsSQL through connectors, such as Iceberg INSERT and MERGE or Snowflake CREATE TABLE ASKafka and Kinesis supervisors, native batch tasks, and SQL INSERT and REPLACEQuery CSV and Parquet files by name in FROM; bulk appends suit it best
Write concurrencyDepends on the connector and table format; confirm concurrent write behavior for your catalogStreaming supervisors and batch tasks ingest in parallel; confirm concurrency limits for your loadMultiple writer threads in one process; separate processes need Quack (beta in v1.5.2) or DuckLake
Extensibility37 connectors, including Iceberg, Delta Lake, Snowflake and PostgreSQLHTTP and JDBC APIs, Druid SQL and native queries; confirm available extensions for 38.0.0Core extensions for PostgreSQL, MySQL, SQLite, Iceberg, Delta, DuckLake and httpfs; most at best-effort support

Where each engine runs and who controls the data

Trino and Druid both run as clusters of services you host, so query and ingest traffic stays inside your network. Trino runs as one coordinator plus workers, and its deployment docs recommend a dedicated coordinator for larger clusters. The docs include a guide to running Trino on Kubernetes with Helm, which is the usual starting point for platform teams. Fault-tolerant execution is off by default. If you need query retries, enable it with a QUERY or TASK retry policy. The TASK policy, which the docs recommend for large batch queries, needs an exchange manager that spools intermediate results to S3, Azure Blob Storage, Google Cloud Storage or HDFS. Confirm that the spool location sits inside your boundary and meets your encryption and access rules before you turn it on.

Druid depends on three external systems: deep storage for segments (S3, HDFS or local disk), a metadata store (typically PostgreSQL, MySQL or Derby), and ZooKeeper for service discovery, coordination and leader election. Each one is a separate system to back up, patch and secure. The Druid README points to the community druid-operator for Kubernetes deployments. That operator is community-maintained, so confirm its support model and its compatibility with the Druid version you plan to run. DuckDB has no server to install, patch or expose. It is embedded in a host process, so data stays wherever that process and its database file live, such as a workstation, a batch job container or an application server. Your controls therefore come from the host: file permissions, disk encryption and who is allowed to run the process.

Trino's authentication options are a password file, LDAP, OAuth 2.0, Kerberos, certificates and JWT. Its access control can be file-based, delegated to Apache Ranger, or delegated to Open Policy Agent. Map these options against your identity provider before you choose an engine. Confirm which protocols your provider supports, whether it can issue the tokens or bindings Trino expects, who maintains group membership in the access control layer, and whether your audit requirements can be met by the access control option you pick. The Trino security documentation lists the configuration steps for each option. DuckDB has no comparable login layer, so its access rules are whatever the host application and the file system enforce.

Which parts of Trino, Apache Druid and DuckDB cost money to use?

Trino is licensed under Apache-2.0, and its repository describes it as a distributed SQL query engine for big data analytics, formerly known as PrestoSQL. The license governs the software itself. The sources for this comparison name no paid Trino edition, so the money you spend goes to the infrastructure that runs the cluster, the storage it depends on, and the people who operate it.

  • Editions: No paid edition is named in the sources. Ask the Trino project and any vendor distribution which features, if any, sit behind a commercial package.
  • Commercial support: Support contracts are a separate purchase. Confirm the covered scope, response expectations and whether upgrades are included.
  • Cluster hosting: A coordinator and worker nodes need 64-bit Linux and a 64-bit Java 25 runtime (minimum 25.0.1), so compute and instance hours recur every month.
  • Fault-tolerant storage: The TASK retry policy needs an exchange manager spooling to S3, Azure Blob Storage, Google Cloud Storage or HDFS, which adds a storage line to your estimate.
  • Access control and staff time: Authentication (LDAP, OAuth 2.0, Kerberos and others) and access control through files, Apache Ranger or Open Policy Agent are engineering work that recurs with each change.

Before budgeting, ask each provider for a written list of paid features, the support scope and any charges tied to nodes, users or data volume.

What drives the running cost of each engine

Running cost in these engines comes from two places: the servers and services you keep online, and the people who keep them patched, tuned and secured. Separate one-time costs (design, migration, initial build) from recurring costs (infrastructure, upgrades, on-call) before you compare, because the balance shifts between a cluster engine, a multi-service Druid deployment and an embedded database.

Trino: cluster sizing and upgrades

Trino's recurring cost starts with the cluster: one coordinator plus workers, with a dedicated coordinator recommended for larger clusters, running on 64-bit Linux with a 64-bit Java 25 runtime (minimum 25.0.1). Every Java upgrade is therefore a fleet-wide change to schedule and test. If fault-tolerant execution is on, fault-tolerant execution adds spool storage on S3, Azure Blob Storage, Google Cloud Storage or HDFS, and that bill grows with query volume. Budget staff time for the 37 connectors and for access control (file-based, Apache Ranger or Open Policy Agent), and ask who owns each one.

Fault-tolerant execution docs

Druid: three external systems

Druid needs three external systems before any query runs: deep storage for segments (S3, HDFS or local disk), a metadata store (typically PostgreSQL, MySQL or Derby) and ZooKeeper for coordination and leader election. Each one needs its own backups, upgrades and monitoring, which multiplies the on-call surface. Streaming ingestion from Kafka or Kinesis through supervisors needs ongoing tuning to keep lag and segment size under control. Segment design, including partitioning and rollup choices, is staff time that continues as data and query patterns change.

Druid architecture docs

DuckDB: host sizing and backups

DuckDB runs embedded in a host process, so there is no database server to install, patch or put on call. The cost moves to the host: CPU and memory sizing, storage for the database files, and a backup routine for those files. Confirm how you take consistent copies while writers are active. Write concurrency is the main engineering cost. Several processes can read a file in READ_ONLY mode, but writing from several processes needs the Quack remote protocol (beta as of v1.5.2) or DuckLake with PostgreSQL as the catalog, so plan that work before promising multi-writer ingestion.

Why DuckDB

Switching engines later

Moving off an engine later costs most where data and pipelines are tied to it. Keep the data in open table formats. Apache Iceberg tables can be read and written by more than one engine, including Trino through its Iceberg connector, which reduces data movement when you add or replace an engine. Druid-specific ingestion pipelines, with their supervisors and datasource design, are harder to move, because the stored segments are only useful to Druid. Ask which tables would stay in open formats and who would own any rewrite.

Iceberg connector docs

What to put in a written quote

A written quote should split one-time work from recurring work. One-time items include design, migration, the initial build and the first hardening pass. Recurring items include the infrastructure you pay for, upgrades, on-call coverage and retests. Ask that each line names the engine, the version it targets, who does the work and what the handover includes. Ask for the ingestion, backup and access control assumptions in writing, including which systems are in scope. Fixed-scope engagements agree scope, deliverables and timelines before work starts, and retainers can cover ongoing upgrades and support.

What implementing each engine involves in practice

Trino's implementation work is mostly one-time design. Start with the runtime: the Trino deployment documentation requires 64-bit Linux and a 64-bit Java 25 runtime, minimum 25.0.1, laid out as one coordinator plus workers, with a dedicated coordinator recommended for larger clusters. Then define one catalog per source. For Iceberg, choose the metastore early, since the connector works with Hive Metastore, AWS Glue, JDBC, REST, Nessie and Snowflake catalogs. For Snowflake, map each catalog to one Snowflake database. Next, pick authentication (password file, LDAP, OAuth 2.0, Kerberos, certificates or JWT) and access control (file-based, Apache Ranger or Open Policy Agent). Decide on fault-tolerant execution now as well. It is off by default, and the TASK retry policy needs an exchange manager spooling to object storage or HDFS, so that storage must exist first. Ongoing work is upgrades: the release notes list 482 (June 25, 2026), 483 (July 17, 2026) and 484 (October 15, 2026), so plan a regular upgrade cycle and retest each catalog after every one.

Druid's one-time work is cluster topology and external dependencies. Map the roles from the architecture docs before you provision hosts: Master servers (Coordinator and Overlord), Query servers (Broker and Router) and Data servers (Historical and Middle Manager or Indexer). Decide which hosts run which processes, and write that layout down so later changes are deliberate. Then set up the three external systems Druid depends on: deep storage such as S3, HDFS or local disk for segments, a metadata store typically PostgreSQL, MySQL or Derby, and ZooKeeper for service discovery, coordination and leader election. Confirm which metadata store your environment supports and back it up from the first load, since it tracks what has been loaded. For streaming data, write one supervisor per Kafka topic or Kinesis stream, then test restarts and schema changes against it before production. Ongoing work is version management: Druid 38.0.0 was published on October 1, 2026, after 37.0.0 on May 8, 2026, so schedule upgrades across every role group and read the release notes for each.

DuckDB's setup is short, so its one-time decisions concern files and concurrency. Install the CLI or a client library such as Python, R, Java or Wasm, then define the file layout: which database files exist, where the Parquet and CSV inputs live, and which process owns each database file. The concurrency model matters most. One read-write process can open a database file for writes, and several processes can open the same file in READ_ONLY mode, but none of them can write. Writing from several processes needs either the Quack remote protocol, in beta as of DuckDB v1.5.2, or DuckLake with PostgreSQL as the catalog database. Before production, check the support tier of every extension you plan to use, since most core extensions sit at the secondary (best-effort) tier. Ongoing work has no server to patch, but each DuckDB release still changes the engine inside your application. DuckDB v1.5.6 was published on September 28, 2026, so test each version against your database files and extensions before rolling it out.

How to test Trino, Apache Druid or DuckDB on your own data before committing

This sequence tests each candidate on your own workload before you choose, so you learn whether it fits your queries, users, identity model and operating team. It produces a written record of targets, sample results, access findings and named owners for upgrades and backups. A sample run shows fit, but it does not show final cost.

  1. Write down the queries that matter

    Ask the analytics owners and platform team to name the three or four queries the business depends on, such as a daily finance rollup, a customer-facing dashboard filter or a federated join between a lake table and an operational database. For each query, record the concurrency target (how many users or jobs run it at once) and the freshness target (how old the data may be when the query runs). Done when each query has a written SQL example, an expected row count range, and both targets signed off by its owner.

  2. Load a representative sample into each candidate

    The data engineering team loads the same representative slice into each candidate, keeping table definitions, partitioning and file formats as close to production as each candidate allows. For Trino, this often means Iceberg, Delta Lake or Hive tables in object storage that the engine queries in place, so the team confirms which catalog type it will use. For Apache Druid, load streaming sources through a supervisor, or load files with a native batch or SQL INSERT job. For DuckDB, create a database file or query Parquet and CSV files directly. Done when row counts and sample aggregates match the source in each candidate.

  3. Run each candidate under your access pattern

    The platform team reproduces the read and write pattern your team actually has, such as one writer appending files to a DuckDB database, concurrent dashboard users querying Druid, or Trino joining lake tables with an operational database. For DuckDB, one read-write process can write the file while several processes can only read it in READ_ONLY mode, and multiple writer threads inside one process can update separate tables or separate subsets of one table. Multi-process writes need another setup, so confirm that option first. For Trino, test fault-tolerant execution if long batch queries matter, since it is off by default. Done when each candidate meets the concurrency and freshness targets from the first step, and every miss has a recorded cause.

  4. Test identity and audit with compliance

    Bring the compliance and security teams into the test to check how each candidate authenticates users, authorizes access and records activity. Trino documents password file, LDAP, OAuth 2.0, Kerberos, certificate and JWT authentication, along with file-based access control, Apache Ranger or Open Policy Agent, so confirm which of these your identity provider and policy model require. Ask the Druid team to confirm the authentication and audit options for the version you pin, since its console and APIs need the same review. DuckDB runs inside a host application, so access control usually comes from that application and from file permissions, and the compliance team should review both. Done when compliance signs off on an access matrix and a sample audit record for each candidate.

  5. Record who runs upgrades and backups

    Agree in writing who will upgrade, back up and restore each candidate. Trino needs 64-bit Linux and a 64-bit Java 25 runtime (minimum 25.0.1), along with a coordinator and workers that someone patches. Druid depends on deep storage, a metadata store such as PostgreSQL or MySQL, and ZooKeeper, so each dependency needs an owner and a backup plan. DuckDB has no server to patch, but the team owns the database file, the host process and the extensions it loads. Done when each candidate has a named upgrade owner, a tested restore procedure, and a record of the exact release tested, such as Trino 484, Druid 38.0.0 or DuckDB v1.5.6.

What should you ask before hiring help on a Trino vs Apache Druid vs DuckDB project?

What does a Trino, Druid or DuckDB project cost, and what drives it?

Cost is driven by who does the work, how many systems are connected and how much of the run effort stays with your team. Design, deployment, connector setup and run support are separate line items, and any of them can be done by your staff, an implementation partner or both. One-time work includes architecture, installation, security configuration and handover. Recurring work includes upgrades, patching, backup checks and connector maintenance. Hosting costs are separate from services and depend on your cloud account or data center. Ask for a fixed-scope written quote that names each system, each deliverable, who performs it and which items recur, and ask whether ongoing support is a separate retainer. DeployOpen does not publish a price list, and a quote follows from the written scope.

How long does an engagement like this take, and what sets the timeline?

The timeline follows the written scope, and three inputs move it most: the number of data sources, the data volume and the security review your organization requires. Each extra source adds mapping, testing and access work. Volume affects load testing, storage layout and backup planning. A security review adds time for evidence gathering, approvals and retest rounds, and it can overlap with build work only if reviewers are available early. Durations depend on your environment, so ask for milestones that name each dependency, including access approvals, network changes and sign-off dates. Ask what happens to the schedule if a source or a reviewer is late. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and most engagements are fixed-scope.

What must our team provide for an analytics engine project?

Plan for three roles at minimum. Platform engineers own the hosts, networks and identity integration. A data owner approves sources, schemas, retention and who can query what. A security reviewer signs off on access, encryption, logging and the evidence pack. For Trino, platform engineers carry most of the cluster work and the catalog configuration for each connected source. For Apache Druid, they also carry the ZooKeeper, metadata store and deep storage setup. For DuckDB, the platform work is smaller, but the data owner and security reviewer still decide where database files live, who can open them and how they are backed up. Ask the partner to list each role's expected involvement in the written scope, and to name the internal person who makes decisions when requirements conflict.

Can our team run Trino, Druid or DuckDB without outside help?

For DuckDB at small scale, your team can usually run it with little platform work, because it is embedded in a host process and there is no database server to install, update or maintain. That makes it simpler to operate than the other two for a single analytical workload on one machine. Trino and Apache Druid are distributed systems. Trino runs a coordinator and workers, and Druid runs Master, Query and Data servers plus deep storage, a metadata store and ZooKeeper. Running either one well needs engineers who can troubleshoot cluster health, memory pressure, upgrades and failed ingestion. If your team has not operated a distributed data system before, ask the partner for a handover plan that covers runbooks, monitoring and a tested restore. DeployOpen documents and supports the systems it deploys, and ongoing support is available as a retainer.

Can DuckDB handle multiple users writing to the same database?

Not from a single shared database file, but there are two routes, and one of them is still in beta. In read-write mode, one process can read and write a DuckDB database file. In READ_ONLY mode, several processes can read the file, but none can write. For several processes to write, DuckDB offers the Quack remote protocol, which was in beta as of DuckDB v1.5.2, or DuckLake with PostgreSQL as the catalog database. Inside a single process, multiple writer threads can update separate tables or separate subsets of one table, and a conflict error occurs only when two threads change the same row at the same time. If several teams need concurrent writes, confirm the Quack status in the version you plan to run, or design around DuckLake with PostgreSQL and test conflict behavior under your own load. Application code should assume a conflict may need a retry.

How hard is it to switch engines later without rewriting everything?

Switching is easiest when your data sits in open table formats and your queries use standard SQL that the other engine accepts. Trino's Iceberg connector reads and writes Parquet, ORC and Avro, supports Iceberg format versions 1 and 2 with version 3 experimental, and works with catalogs such as Hive Metastore, AWS Glue, REST and Nessie. DuckDB's core extensions include iceberg and delta table format support, plus a ducklake extension, so the same files can be queried from more than one engine. Check three things before committing: which table format and version you use, which catalog holds the table metadata, and which functions and SQL dialect features your reports depend on. Ask the partner to document the storage layout and the catalog so an internal team can move data without a rebuild. Migration effort still depends on proprietary functions and on how much business logic lives inside the engine itself.

How DeployOpen helps choose and implement one of these engines

DeployOpen plans, implements, integrates, hardens and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Trino vs Apache Druid vs DuckDB, that starts with agreeing on the workload, the data location and the access model, then building the one engine that fits.

How we scope

  • The written scope names the query workloads, data sources and table formats each engine must serve.
  • It records whether the engine must read Iceberg tables in place, ingest Kafka streams or run embedded.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • Deploy the chosen engine in your own cloud, data center or air-gapped network with access controls configured.
  • For Trino, decide whether fault-tolerant execution and its spooling storage belong in scope.
  • For Druid, build the ingestion supervisors, deep storage, metadata store and ZooKeeper as one tested stack.

How we hand over

  • Handover includes architecture notes, configuration records, operating documentation and the access model.
  • Backup and restore steps cover the engine's own state, such as Druid's metadata store or DuckDB's database files.
  • Your team receives an upgrade procedure covering how Trino releases and Druid versions are applied.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers once the engine is live.
  • Security testing of the deployed engine and its access paths can follow the build as a separate fixed-scope engagement.
  • Compliance readiness work can document the controls and evidence your assessor will ask about; DeployOpen does not issue attestations.

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.