Skip to main content

DuckDB Ecosystem Newsletter : November 2026

DuckDBEcosystem news

· 8 min read

HEY, FRIEND 👋

I hope you're doing well. I'm Simon, and I am happy to share another monthly newsletter with highlights and the latest updates about DuckDB, delivered straight to your inbox.

In this November issue, I gathered the usual 10 updates: DuckDB on an iPhone benchmarked against Databricks, Polars 2.0 vs DuckDB 2.0, updated DataSketches, role-based secrets management with OIDC and KMS, a native DuckDB database in S3, the rise of the Data Intelligence Engineer, and much more.

If you have feedback, news, or any insights, they are always welcome. 👉🏻 duckdbnews@motherduck.com.

Post asset
Simon Müller

Simon Müller

Simon is a statistician at DataZoo GmbH in Biberach, Germany, working on probabilistic forecasting with both Bayesian and frequentist methods. He built and maintains anofox_forecast, a DuckDB community extension that brings statistical time series forecasting straight into SQL.

anofox_forecast was installed 550k+ times over the last four weeks, which makes it the #3 most downloaded DuckDB community extension. Thank you, Simon, for bringing serious forecasting to DuckDB!

Connect with Simon on GitHub.

Post asset

DuckDB 2.0 has officially launched 🎉. See GitHub Release or Blog announcement; many articles below are already built on the new features.

I benchmarked Databricks against my iPhone

TL;DR: George, CEO of Fivetran, demonstrated that DuckDB running locally on an iPhone can outperform Databricks Serverless SQL on workloads up to 100 GB.

George said realistic business workloads are no longer challenging for everyday hardware. The benchmark used TPC-H’s 22 queries at 25, 50, 100, and 200 GB. DuckDB was faster than Databricks Serverless SQL (XS, S, and M clusters) at all but the largest scale, where it remained competitive. Takeaway: Monitor actual query data sizes, as most workloads can likely run on cheaper single-node engines instead of expensive distributed compute.

Tresor and Tresor-Server: centralized, role-based secrets management into DuckDB, using existing company identities (OIDC)

TL;DR: Tresor is a DuckDB 2.0 community extension that puts your organization's secrets into DuckDB's secret lookup after one company login, with tresor-server as the service behind it.

After installing and ATTACH 'tresor:secrets.corp.example' AS corp;, users sign in once with OIDC (Entra ID, Okta, Keycloak, Auth0) and the login is cached in the OS keychain. FROM corp.secrets() returns only names, types and scopes. DuckDB matches them by scope, e.g. FROM 's3://lake/sales/*.parquet', and fetches a value only when a query needs it, never writing it to disk.

The tresor-server (Go) implements the open duckdb-secrets/1 protocol. It seals values under your KMS or references existing vaults (ref+vault://…), mints short-lived credentials per user, and emits OpenTelemetry audit events.

The dawn of the Data Intelligence Engineer

TL;DR: Jordan describes the Data Intelligence Engineer, a role focused on orchestrating AI agents to automate ingestion, transformation, and modeling while maintaining data accountability.

Jordan notes that as LLMs improve at multi-turn SQL generation, workflows are shifting from code production to shared context and evaluations. Human work now centers on defining a clean ontology in Guides (markdown-based documentation) to reduce token overhead and using Flights for agent-native data pipelines.

A critical requirement is "evals"—automated tests that validate LLM outputs against known answers. "Agents need supervision proportional to their blast radius".

DataSketches for DuckDB 2.0: sketch aggregates now stay within the memory limit and spill to disk

TL;DR: The DataSketches extension now respects memory_limit and spills to disk, enabling high-cardinality approximate aggregates to run within constrained environments.

Sketch states moved from the C++ heap into DuckDB’s buffer-managed aggregate arena, removing destructors and using custom allocators so the buffer manager oversees sketch memory. A grouped datasketch_kll query dropped from 39 GB to 0.77 GB of resident memory while running 3.7× faster. To minimize overhead, states buffer small inputs such as the first 32 values for KLL or 7 for HLL as raw data before initializing full sketches.

Local Analytics Doesn’t Need a Database Server

TL;DR: Ilya introduces SQLRooms, a React toolkit using DuckDB-Wasm and the spatial extension for local-first geospatial and graph analytics without a database server.

Apps like Flowmap City query Parquet files on S3 via presigned URLs, running joins and filters directly in the browser. Foursquare Spatial Desktop uses DuckDB's spatial functions like ST_TileEnvelope and ST_AsMVTGeom to generate Mapbox Vector Tiles on the fly.

To keep the UI responsive with millions of features, it uses reservoir sampling (USING SAMPLE reservoir(50000 ROWS)) and in Cosmograph, DuckDB-Wasm runs queries in a background worker. This also helps AI-assisted analysis where LLMs generate SQL for local execution, keeping raw data on the client machine.

Polars 2.0 vs DuckDB 2.0

TL;DR: Daniel compares DuckDB 2.0 and Polars 2.0/2.1, focusing on out-of-core stability and streaming performance.

DuckDB 2.0 introduces the Quack protocol and better asynchronous I/O for read_csv on remote storage. In a benchmark on 23 GB of S3-hosted CSVs on a 2 GB RAM node, DuckDB used SET temp_directory to spill to disk, completing complex window functions in 837 seconds. Polars 2.0 failed with OOM errors because its engine lacked group_by spill-to-disk support. After Polars 2.1 added it, the rerun finished in 438 seconds—nearly twice as fast as DuckDB. Daniel admits comparing Polars 2.1 to DuckDB 2.0 "isn't really fair."

Data Renegades Podcast with Hannes Mühleisen | Databases for Humans and Agents

TL;DR: DuckDB 2.0 introduces a from-scratch SQL parser and an agent mode for both human developers and LLM-driven workflows.

Hannes explained that the new parser enables partial recovery from syntax errors instead of all-or-nothing parsing. For "Agent Experience" (AX), DuckDB offers a compact result format to reduce tokens. The Quack protocol addresses multi-writer limitations via an RPC interface over HTTP or Unix sockets. Hannes says DuckLake simplifies lakehouses by using relational tables for metadata instead of Avro/JSON catalogs, building on 50 years of system design 😉.

A Real DuckDB Database in S3, With Nothing Else to Run

TL;DR: duckdb_object_storage is a community extension that persists native DuckDB databases including ART indexes, foreign keys, and WAL directly to S3 using SlateDB and Apache OpenDAL.

It registers a custom DuckDB FileSystem for duckdb_objfs://, mapping DuckDB's 256 KiB blocks to SlateDB LSM tree keys to avoid read-modify-write penalties. ATTACH 'duckdb_objfs://analytics.db' AS db; uses DuckDB's Secret Manager and supports single-writer, snapshot-consistent multi-reader access without extra catalog services. Benchmarks show cold S3 reads at 1.20× native DuckDB over HTTPFS, local disk reads at 1.08×, and S3 writes at 0.95× the throughput of local writing followed by an S3 upload.

Agent Mode in the DuckDB CLI

TL;DR: DuckDB 2.0 CLI adds an auto-detected Agent Mode to lower LLM token usage and avoid quiet truncation errors.

When environment variables for agents like Claude or Cursor are set and stdout is piped, the CLI outputs unpadded Markdown tables with types in the header (| name:VARCHAR |), reports errors as JSON, and streams compact EXPLAIN plans. Large results cap at 1,000 rows or 10,000 bytes with an execution hash of the total result, and queries exceeding 100,000 unprinted rows halt early.

In TPC-H benchmarks shared by Hannes, Agent Mode reduced token usage by 59% (123.6k to 50.8k) without losing accuracy. Test it with DUCKDB_AGENT_MODE=1 duckdb or the -agent flag.

JetBrains IntelliJ Toolkit for DuckDB

TL;DR: Toolkit for DuckDB is a commercial plugin for IntelliJ IDEA Ultimate and DataGrip that bundles the DuckDB engine and adds DuckLake catalog management and schema diagrams.

An independent community plugin from JetPlugins, it runs SQL over Parquet, CSV, TSV, JSON, and NDJSON files, including queries spanning multiple files. It also connects to local databases, in-memory catalogs, or Quack servers. It needs no separate DuckDB install and supports DuckDB 1.0 and 2.0. For DuckLake, you can ATTACH catalogs, browse snapshots, and query historical versions, and generate maintenance SQL for review, with dry-run previews of snapshot expiration and file cleanup. An interactive diagram shows tables, views, columns, and declared foreign keys, and exports to SVG.

If it sounds familiar, in the September newsletter I shared Parquet, Avro & ORC Viewer, similar, but not the same.

Post asset

Upcoming Events

AI Tinkerers Ghent: Everyone's building their own agent IDE (and that's healthy)

2026-11-25. h: 18:30 CET. Ghent, Belgium

Mehdi Ouazza from MotherDuck joins AI Tinkerers Ghent to show his local and remote agent setup. Many people went from tmux to herdr to hacking their own agent UI, and that's healthy. He explains why herdr.app's bet on malleable software is the right one, and what collaborating with agents (and teammates) could look like.

Self Healing Data Pipelines

2026-12-02. h: 10:00 PT. Online

More than half of data engineering time goes to maintenance. What if an agent fixed broken pipelines instead of just sending alerts? See how MotherDuck designed its self-healing pipelines cookbook recipe using an agent harness, zero-copy clones of production, and isolated sandboxes.

The Great Business Bake Off: an AI Agent Hackathon

2026-12-11. h: 13:00 PT. San Francisco, CA

You inherit a bakery business and have five hours with your AI agents to make it the most profitable bakery in town. A solo hackathon presented by Theory Ventures and hosted with MotherDuck and LanceDB. Dinner provided.

HumanX 2027

2027-03-08. h: 09:00 PT. Mandalay Bay, Las Vegas, NV

Visit MotherDuck at booth #252 at HumanX, the AI conference for decision-makers and industry leaders. Three days of curated sessions, 350+ speakers, and executive networking at Mandalay Bay in Las Vegas.

Subscribe to motherduck blog