DuckDB

@duckdb
663 Followers
20 Following
127 Posts
DuckDB is an analytical in-process SQL database management system. It is simple, feature-rich, fast, extensible, and comes with the permissive MIT open-source license. "DuckDB" and the DuckDB logo are registered trademarks of the DuckDB Foundation.
GitHubhttps://github.com/duckdb/duckdb
Websitehttps://duckdb.org/
We rolled out a fresh look for duckdb.org over the last few weeks. This includes a redesigned landing page, blog posts, media collection, and the Community Extensions repository. And dark mode is now supported on all sites! ๐ŸŒš

๐Ÿ“ฃ New post in the DuckDB tricks series

These tips can save you precious keystrokes and file scans, making both writing and running your queries faster.

https://duckdb.org/2024/11/29/duckdb-tricks-part-3

DuckDB Tricks โ€“ Part 3

In this new installment of the DuckDB Tricks series, we present features for convenient handling of tables and performance optimization tips for Parquet and CSV files.

DuckDB
One of DuckDB's key use cases is data science applications, where it's often used in combination with (or in place of) data frame libraries. These libraries often preserve row order between operations, which is also supported by DuckDB. See which operations preserve order:
https://duckdb.org/docs/sql/dialect/order_preservation
Order Preservation

For many operations, DuckDB preserves the order of rows, similarly to data frame libraries such as Pandas. Example Take the following table for example: CREATE TABLE tbl AS SELECT * FROM (VALUES (1, 'a'), (2, 'b'), (3, 'c')) t(x, y); SELECT * FROM tbl; x y 1 a 2 b 3 c Let's take the following query that returns the rows where x is an odd number: SELECT * FROM tbl WHERE x % 2 == 1; x y 1 a 3 c Because the row (1, 'a') occurs before (3, 'c') in the original table, it is guaranteed toโ€ฆ

DuckDB

New blog post by Hannes Mรผhleisen and Mark Raasveldt:
Runtime-Extensible SQL Parsers Using PEG

https://duckdb.org/2024/11/22/runtime-extensible-parsers

This post, a shortened version of a CIDR 2025 paper, discusses how parsers in DBMSs could be re-designed using Parser Expression Grammars for extensibility and improved error reporting.

Runtime-Extensible SQL Parsers Using PEG

Despite their central role in processing queries, parsers have not received any noticeable attention in the data systems space. State-of-the art systems are content with ancient old parser generators. These generators create monolithic, inflexible and unforgiving parsers that hinder innovation in query languages and frustrate users. Instead, parsers should be rewritten using modern abstractions like Parser Expression Grammars (PEG), which allow dynamic changes to the accepted query syntax and better error recovery. In this post, we discuss how parsers could be re-designed using PEG, and validate our recommendations using experiments for both effectiveness and efficiency.

DuckDB

If you're curious about DuckCon, here is a talk from our previous edition, which took place in Seattle: https://www.youtube.com/watch?v=pY3fDhZiPDk

Find more info about the upcoming as well as previous DuckCon events on our website: https://duckdb.org/2025/01/31/duckcon6.html

dbverse: Composable database libraries for larger-than-memory scientific analytics (DuckCon #5)

YouTube

๐—ก๐—ฒ๐˜„ ๐—ฟ๐—ฒ๐—น๐—ฒ๐—ฎ๐˜€๐—ฒ

We released DuckDB version 1.1.3, which is a bug fix release. You can find the change log here: https://github.com/duckdb/duckdb/releases/tag/v1.1.3

Follow our documentation for instructions on installing or upgrading: https://duckdb.org/docs/installation

Release v1.1.3 Bugfix Release ยท duckdb/duckdb

This is a bug fix release for various issues discovered after we released 1.1.2. There are no new major features, just bug fixes. Database files created by DuckDB versions all the way back to v0.9....

GitHub
You can also find us on Bluesky. Stay up-to-date with DuckDB by following @๐š๐šž๐šŒ๐š”๐š๐š‹.๐š˜๐š›๐š

๐—›๐Ÿฎ๐—ข.๐—ฎ๐—ถ ๐—ฑ๐—ฏ-๐—ฏ๐—ฒ๐—ป๐—ฐ๐—ต๐—บ๐—ฎ๐—ฟ๐—ธ ๐˜‚๐—ฝ๐—ฑ๐—ฎ๐˜๐—ฒ๐—ฑ

The ๐–ง๐Ÿค๐–ฎ.๐–บ๐—‚ db-benchmark has been updated with new results: https://duckdblabs.github.io/db-benchmark/

You can find more details about the setup and the benchmark in our related blog posts: https://duckdb.org/2023/11/03/db-benchmark-update.html

Database-like ops benchmark

๐—ก๐—ฒ๐˜„ ๐—œ๐˜๐—ฒ๐—บ ๐—ถ๐—ป ๐˜๐—ต๐—ฒ ๐—ฆ๐—ต๐—ผ๐—ฝ

As the chilly season approaches, we've got your backโ€”literally!

Our DuckDB hoodies are now available in the shop: https://shop.duckdb.org/. Perfect for staying warm this season!

DuckDB Webshop

DuckDB webshop

DuckDB webshop

๐๐ž๐ฐ ๐‘๐ž๐ฅ๐ž๐š๐ฌ๐ž: ๐ƒ๐ฎ๐œ๐ค๐ƒ๐ ๐Ÿ.๐Ÿ.๐Ÿ

We released DuckDB version 1.1.2, which is a bug fix release.

Curious about the change log? Here are the release notes: https://github.com/duckdb/duckdb/releases/tag/v1.1.2

Follow our documentation for instructions on installing or upgrading: https://duckdb.org/docs/installation

Release v1.1.2 Bugfix Release ยท duckdb/duckdb

This is a bug fix release for various issues discovered after we released 1.1.1. There are no new major features, just bug fixes. Database files created by DuckDB versions all the way back to v0.9....

GitHub