Infrastructure & tools

DuckDB

Posts from the DuckDB team on analytical databases.

DuckDB · 14 stories

Recent stories

Grouped by topic area, with each story's summary and the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

Databases7 stories

Announcing DuckDB 2.0.1 LTS

duckdb.org · 20 Nov

Database

DuckDB 2.0.1, the first patch release of the 2.0 LTS line, delivers bug fixes, performance improvements, and security patches.

It adds host-based custom extension repositories using verified .well-known redirects and signing-key pinning. It tightens SECRET scope matching, restores 1.x multiple-match behavior for UPDATE ... FROM and MERGE, and fixes Linux-kernel data-loss risks, 1.x database compatibility, external-access bypasses, and Brotli vulnerabilities. Extensions and clients also receive reliability, compatibility, and platform updates.

Ducks in a Column

duckdb.org · 10 Nov

Data Science · Database · Performance · SQL

DuckDB’s columnar storage enables efficient analytical queries by reading only required columns and processing values in vectors.

It can query local or remote CSV and Parquet files in place, exploit partitioning and statistics, and provide concise SQL with `COLUMNS`, `GROUP BY ALL`, `FILTER`, `PIVOT`, window functions, `QUALIFY`, and `ASOF JOIN`. The post also recommends writing sorted, compressed, narrowly typed Parquet and using `EXPLAIN ANALYZE` to verify scan pruning and column selection.

How JetBrains Built Cross-Database Queries into DataGrip with DuckDB

duckdb.org · 5 Nov

Database · Software Architecture · SQL

JetBrains embedded DuckDB in DataGrip to enable cross-database queries without building its own query engine.

DuckDB’s custom table functions connect its execution to DataGrip’s existing database functionality, allowing users to join PostgreSQL, MySQL, MongoDB, and other supported sources in one query without extra infrastructure. DataGrip exposes DuckDB’s SQL dialect and supports it as a first-class dialect. The initial implementation will evolve toward broader optimizations and file-based sources.

Gems of DuckDB 2.0.0

duckdb.org · 26 Oct

Database · SQL

DuckDB 2.0.0 adds a broad set of smaller usability, SQL, data, and extension improvements alongside its headline features.

The Python client now provides an appender for batched row insertion; the CLI gains formatted .schema, .manual, calculator, and queryable history. New capabilities include SHOW for settings, SECURE VIEW, regexp_extract options, sequence setval, session-variable parameter fallbacks, custom partition paths and ordering, and GeoJSON/GeoJSONL writing. Community extensions publish compatibility matrices, and extensions can define cataloged window functions.

Announcing DuckDB 2.0.0 LTS “Cinnamon Teal”

duckdb.org · 21 Oct

Database · SQL

DuckDB 2.0.0 LTS “Cinnamon Teal” is the project’s largest feature release, built from nearly 20,000 commits since 1.5 and supported until at least October 2027.

It adds a production-ready Quack client-server protocol, remote query pushdown, asynchronous Parquet/CSV I/O, first-class columnar VARIANT support, CLI agent mode, triggers, and an extensible PEG-based SQL parser. It also introduces a C++17 requirement and storage-format compatibility considerations for migration.

From JSON Strings to Typed Columns

duckdb.org · 16 Oct

Database · SQL

DuckDB can convert a table’s JSON text column directly into typed columns without a file round trip.

Cast the column to JSON, use json_group_structure to infer a schema, adjust types with json_merge_patch, and apply json_transform followed by unnest. Nested objects become STRUCTs, arrays can be unnested into rows, and missing fields become NULL. json_transform_strict exposes conversion errors, while typed storage avoids reparsing JSON in later queries.

A DuckDB Database with No Data in It

duckdb.org · 7 Oct

Database

DuckDB can serve as a tiny, shareable catalog without storing any rows: a database file containing only view definitions can point to remote Parquet files, remaining a few hundred kilobytes regardless of dataset size.

Publishers share one URL, while consumers attach it read-only and query stable named relations; DuckDB fetches only needed columns and row groups. Publishers can repartition, relocate, or rename source files by updating views, though access, network performance, and remote read-only limitations remain.

AI & Machine Learning6 stories

DuckDB User Group Workshop on AI-Powered Review Analysis with Hugging Face

duckdb.org · 17 Nov

Artificial Intelligence · Data Science · Database · Education

On 11 November 2026, DuckDB User Group held its first workshop in Amsterdam with Hugging Face.

Attendees built a pipeline that used DuckDB to identify products with declining ratings in 2.1 million Amazon reviews and sent only 40 relevant complaints to an LLM for themed explanations. They developed locally on a 22 MB sample, then ran the same workflow on full data as a Hugging Face Job. Each participant deployed it as a Hugging Face Space with workflow nodes exposed as API endpoints.

Local Analytics Doesn’t Need a Database Server

duckdb.org · 12 Nov

Data Science · Software Architecture

DuckDB enables local analytics without a remote database server, running in browsers through WebAssembly or natively in desktop applications.

This approach led to SQLRooms, an open-source React toolkit that combines DuckDB queries, datasets, visualizations, documents, and AI-assisted analysis. It powers Flowmap City, Foursquare Spatial Desktop, and Cosmograph, supporting dynamic geospatial tiling, graph exploration with millions of edges, and locally executed SQL generated from natural-language requests while source data remains on the user’s machine.

Bringing Local Analytics to the Quant's Desktop

duckdb.org · 3 Nov

Data Science · Database · Software Architecture · Fintech

DuckDB gave Ryan Hamilton, a longtime kdb+ platform builder for banks and hedge funds, an embedded analytical engine he could recommend to smaller teams without servers or costly licensing.

In QStudio, analysts save expensive remote query results as Parquet and reuse them locally; its Java integration now works reliably. TimeStored’s Pulse uses DuckDB for snapshots, caching, and data exploration. His open-source PeachQ combines the Rayforce in-memory engine with DuckDB-backed historical storage, separating Q from the database.

From Spreadsheets to DuckLake: A Data Engineer's Road to DuckDB

duckdb.org · 29 Oct

Big Data · Database

Matt Martin's career moved from spreadsheet automation through Teradata, BigQuery and Spark to DuckDB and DuckLake, driven by reducing infrastructure overhead while meeting workload requirements.

DuckDB lets him query local and S3 CSV, Parquet and Iceberg data with SQL, while DuckLake stores table metadata in an indexed SQL database instead of many files. Testing DuckDB v2.0 alpha, he reports 67–70% faster S3 reads, dynamic ATTACH expressions, asynchronous I/O and Quack remote connectivity.

What Is Inside an Iceberg Table?

duckdb.org · 13 Oct

Big Data · Database

An Apache Iceberg table is an immutable file tree: metadata JSON, manifest lists and manifests in Avro, and data and delete files in Parquet.

DuckDB can inspect every layer with SQL, following the catalog’s pointer to the current snapshot. Snapshots record commits; manifests expose partitions, file counts, and column bounds for pruning. Deletes use position files, leaving data unchanged, which makes writes cheaper but adds read overhead. This structure helps diagnose stale metadata, excessive files, or poor skipping.

Agent Mode in the DuckDB CLI

duckdb.org · 9 Oct

Artificial Intelligence · CLI · Database · AI Agents

DuckDB v2.0 CLI adds agent mode, automatically detecting AI coding agents and producing compact Markdown tables, explicit truncation markers, JSON errors, compact query plans, cost estimates, progress updates, and early query termination.

In a Claude Code test answering 22 TPC-H questions, all 132 runs were correct while output tokens fell 59% (123.6k to 50.8k), though overall cost and runtime barely changed because system prompts dominated input. Explicit format flags and CLI settings override the mode.

General Tech1 story

Benchmarking DuckDB v2.0-dev on NVIDIA Vera

duckdb.org · 16 Oct

Database · Hardware · Performance

DuckDB v2.0-dev was benchmarked on NVIDIA Vera using the complete TPC-H workload at scale factor 1,000.

On a single socket, Vera’s 88 Olympus cores achieved a median QphH@Size score of 3,073,292.99, 46% higher than a 96-core Intel Xeon 6 baseline at 2,109,782.19. The advantage was attributed to Vera’s memory bandwidth, low latency, and large caches. Both systems used 768 GB RAM, NVMe storage, and DuckDB 1.6.0.dev379.

Add DuckDB to your Snapbyte.dev digest and receive its posts summarized.Build your digest