↓ Skip to main content
  1. Articles/

DuckDB Was Never a Toy: Two Years of Building on It, Now That AWS Runs Athena on It

⚙ Try it live: SQL Playground Query CSV, JSON and Parquet files with DuckDB SQL in your browser. Upload files or load them from a URL, and get charts from the results. Nothing …

Working on something like this? Ask me. Questions about your setup, or anything this article didn't cover. No account needed, private by default.

Only I read it. It isn't published unless you tick the box, and your email is never shown or added to any list. Privacy

When I put DuckDB into an architecture diagram, someone in the room usually smiles. “Isn’t that the thing for notebooks?” It runs in a single process, there’s no cluster to size and nothing to administer, so it must be a toy.

On 1 December 2026, at re:Invent, AWS announced that Amazon Athena now runs on DuckDB, and that DuckDB SQL is to become the common SQL dialect across its analytics services. The question of whether DuckDB is serious has been answered by one of the largest analytics vendors, for its own managed service.

I have been building on DuckDB for two years, mostly in places where it was the only engine that fit. This post goes through those builds, what the announcement changes, and what it doesn’t.


What was announced
#

From AWS’s announcement and the press coverage:

  • Athena on DuckDB, in preview, with general availability planned for 2027. The existing Athena engine stays available.
  • AWS’s own numbers: up to twice as fast as Athena engine version 3, and up to 50% cheaper on queries of 100 GB or more. These are AWS’s benchmarks; no independent results were published with the announcement.
  • One SQL dialect: DuckDB is coming to Amazon EMR and into Amazon Redshift during 2027, with DuckDB SQL as the common language. AWS’s phrase: “write a query once and run it wherever the job fits best.”
  • DuckDB Scales: an extension that splits one large query across many machines, each running an ordinary DuckDB, while everyday queries stay on one machine. It starts in Athena; the DuckDB team plans an open-source release in the first half of 2027.
  • DuckDB Labs, the company behind DuckDB, joined AWS in August. DuckDB itself stays open source under the MIT licence.

The reason AWS gave is worth noting: AI agents generate large numbers of small, bursty queries, and a lightweight engine that starts instantly suits that better than a cluster that has to be sized for the peak.


The single-node argument was always about the median query
#

The honest criticism of DuckDB was that it runs on one machine. DuckDB Scales addresses that for the largest queries. But the more important number came from DuckDB co-creator Hannes Mühleisen: by his figures, 95% or more of real-world queries run on less than 300 GB of data, and the median query reads about 100 MB.

A modern server holds that in memory. For most analytical work, the cluster was never the bottleneck it was sized for. It was overhead you paid for the rare query that needed it.

That is the property every build below relies on: DuckDB is a library, not a service. It goes wherever a process can run, so you can put the engine next to the data, or wherever the rules say compute is allowed to be, instead of moving the data to the engine.


Two years of DuckDB in places a cluster doesn’t fit
#

WhenBuildWhy DuckDB
Dec 2024A container inside a cloud data platform queries an on-premise Iceberg lake through an SSH tunnelThe engine runs inside the container, so no result cache is left in the platform once the tunnel is cut
Mar 2026Data Sovereignty First: on-premise Iceberg through an outbound-only tunnelThe data owner opens the connection and can close it; DuckDB 1.5.0 reads the Iceberg tables through it
Mar 2026DuckLake on Hetzner with Pixi, for under 10 euros a monthA governed lake with row-level access control on one small server: Postgres catalog, Parquet on S3, DuckDB as the engine
Jun 2026DuckIceLake: an Iceberg v3 REST catalog on top of DuckLakeTwo open table formats, one source of truth (below)
Jun 2026lakesh: a DuckDB SQL shell for Iceberg REST catalogs, with an MCP serverAn AI agent gets a real SQL engine against your catalog without a warehouse behind it

The first two are the ones that drew the smiles. Both are sovereignty patterns: some data may not move to the cloud, so the query has to reach it under the data owner’s control. A cluster can’t be shipped through a tunnel on demand. A library can.

flowchart TB
  A["Cloud data platform
container with DuckDB"] T["Tunnel
opened by the data owner"] C["Iceberg REST catalog
on premises"] S["Object storage
Parquet files, on premises"] A -->|"queries"| T T --> C T --> S classDef blue fill:#dbeafe,stroke:#2563eb,color:#1e3a8a classDef amber fill:#fef3c7,stroke:#d97706,color:#78350f classDef green fill:#dcfce7,stroke:#16a34a,color:#14532d class A blue class T amber class C,S green

DuckIceLake: the build the announcement makes more relevant
#

DuckIceLake is the project I’m proudest of, and the one this news matters most for.

DuckDB’s world has its own lakehouse format, DuckLake: the catalog lives in a SQL database such as Postgres, the data in Parquet on object storage. The rest of the industry has standardised on Apache Iceberg. Until now, choosing one meant giving up the other’s tools.

DuckIceLake removes that choice. It is an Iceberg REST catalog that sits in front of DuckLake and turns DuckLake’s snapshot and schema state into Iceberg manifests on demand. Standard Iceberg clients such as PyIceberg, DuckDB’s own iceberg extension, Trino and Spark connect to it unchanged, read rows straight from S3, and write back through commits that DuckLake records atomically. A row written through one path appears in the other, and the DuckLake head and the Iceberg current snapshot stay identical.

It implements the parts that make a catalog usable beyond a demo:

  • Iceberg v3, including Puffin deletion vectors, row lineage and the new primitive types
  • Credential vending with real STS credentials, so clients get short-lived, scoped access to storage
  • OAuth2 and role-based access control on the catalog
  • Prometheus metrics for operating it

Why this matters more now: if DuckDB becomes the default engine across a large part of cloud analytics, more teams will want DuckLake’s simplicity, and they will still need to hand the same tables to Iceberg-native tools and partners. A bridge that keeps one source of truth for both formats is exactly that missing piece.

flowchart TB
  I["Iceberg clients
PyIceberg, Trino, Spark"] D["DuckDB
DuckLake extension"] P["DuckIceLake
Iceberg v3 REST catalog"] L["DuckLake catalog
Postgres"] S["Object storage
Parquet files"] I -->|"Iceberg REST"| P P --> L D --> L I -->|"read rows"| S D --> S classDef blue fill:#dbeafe,stroke:#2563eb,color:#1e3a8a classDef amber fill:#fef3c7,stroke:#d97706,color:#78350f classDef green fill:#dcfce7,stroke:#16a34a,color:#14532d class I,D blue class P amber class L,S green

The code is open source: github.com/KellerKev/duckicelake.


Agents make the case stronger, and raise the identity question
#

AWS’s argument for DuckDB was agents: many small queries, in bursts, that need an engine that starts instantly. lakesh was built for that case. It gives an AI agent, over MCP, a DuckDB engine pointed at an Iceberg or DuckLake catalog, with the OAuth2 token handled for it.

Once agents run queries, the hard question stops being the engine. It becomes whose query it is: which user the agent acts for, and whether the catalog, the storage credentials and the row-level policies all see that user rather than a shared service account. That is why DuckIceLake vends scoped credentials and checks roles on the catalog, and it is the subject of most of the rest of this blog.


What I’d tell the people who smiled
#

DuckDB being serious doesn’t make it the answer to everything. Its limits are still real:

  • It’s an analytical engine, not a transactional database. Many concurrent writers to one database file is not what it’s for; that’s what a catalog such as DuckLake’s Postgres or an Iceberg REST catalog coordinates.
  • Distributed DuckDB is new. DuckDB Scales starts in Athena, and the open-source release is planned for 2027. Until it’s out and tested in the open, plan on single-node DuckDB for anything you run yourself.
  • Benchmarks are the vendor’s. Analysts at the announcement made the same point: every company’s mix of small and large queries is different, so test your own workload side by side. If you move from Athena engine version 3, check the queries that need changes for DuckDB’s SQL dialect.

The real lesson is older than this announcement: an engine you can embed anywhere lets you put the computation where the data is allowed to be. That was true when DuckDB was the thing for notebooks, and it’s true now that it runs a managed cloud service.


Try it
#

Sources for the announcement: About Amazon, re:Invent 2026 news, TechTarget, tbreak. Personal blog: the views are my own and not those of my employer.

Working on something like this? Ask me. Questions about your setup, or anything this article didn't cover. No account needed, private by default.

Only I read it. It isn't published unless you tick the box, and your email is never shown or added to any list. Privacy

Kevin Keller
Author
Kevin Keller
Personal blog: the business case for secure AI and data platforms, and the architecture blueprints to build them. Snowflake-related articles explore the art of the possible and are not official Snowflake solutions or endorsed by Snowflake unless explicitly stated. Opinions are my own. Content is meant as educational inspiration, not production guidance.
Share this article