Top
Best
New

Posted by ibotty 23 hours ago

A Preview of DuckDB v2.0(duckdb.org)
666 points | 118 commentspage 4
ChillyCapy 17 hours ago|
Great work!

I built a browser tool for querying local Parquet, CSV, JSON, Excel, Arrow, Avro, DBF, and SQLite files with DuckDB-WASM.

Most probably after DuckDB v2.0 release I will revamp my tool as well.

sv123 21 hours ago||
DuckDB is so cool, game changer when it comes to local data processing.
cheema33 18 hours ago||
With some of these changes, it appears to be encroaching on clickhouse territory. Or are they still very different products?
te_chris 17 hours ago||
Well, I can tell you this is making me actively reconsider dropping duckdb for ch as we go from prototype to prod
encoderer 17 hours ago||
Definitely encroaching.

Our last product (SaaS observability) uses Clickhouse.

Our next product (self-hosted observability) uses DuckDB.

adhamsalama 2 hours ago||
I was building an OpenTelemetry observability platform in a single executable file (in Golang) and was using ClickHouse as the database, and replaced it with an embedded DuckDB, so now it's truly a single executable file platform.

https://github.com/adhamsalama/nabatshy

orthoxerox 19 hours ago||
DuckDB keeps getting better and better. I wonder when something like Apache Gluten will pick it up as a backend.
dzonga 19 hours ago||
well done to the duckDB team - one of the features I'm waiting for is real time materialized views.
markhalonen 22 hours ago||
Was hoping to see procedural functionality like PL/pgSQL... regardless, an astonishing project overall.
brunoborges 20 hours ago||
How does DuckDB compares with PostgreSQL / MariaDB ?
tuvix 20 hours ago||
DuckDB is an in-process (now I guess less so with Quack) OLAP database for analytical workloads. PostgreSQL or MariaDB are OLTP row-oriented databases that are great for application/transaction-focused workloads but are less great when you want to query across a giant amount of data.
tomjakubowski 19 hours ago||
DuckDB is much like SQLite, but built for OLAP workloads: it's in-process, with a single file format on a disk, and (unlike SQLite) the data is stored in columns for better OLAP performance.

Like SQLite, concurrency options are limited compared to client-server databases like Postgres or MariaDB. DuckDB 2.0 will be adding a client-server mode with the Quack protocol which can allow for greater concurrency.

But you can also use DuckDB as a multitool to connect to and query all kinds of other data sources from one connection. Being able to pull in data from Postgres, CSVs or parquets on a file system or S3, and JSON returned by a web API, and then query across all of it in one place, can be quite handy for ad-hoc data analysis and exploration.

formerly_proven 18 hours ago||
In terms of project trajectory this is also an interesting contrast. DuckDB is "SQLite, but for OLAP".

DuckDB 1.0 was in 2024. DuckDB 2.0 (new API, new storage format, new ...) is in 2026.

SQLite has been 3.x since 2004.

dartharva 19 hours ago||
Would be really cool if they were to add statistical functions too. I'd jump at the chance of getting to use this over pandas
biophysboy 16 hours ago||
You might know this already, but you can query pandas/polars/arrow tables directly w/ duckdb and use whatever stats packages you feel like alongside it in the same python script. I feel like they do a decent job sticking to the simpler statistical fans that make sense in sql.
dartharva 12 hours ago||
Sorry, I meant duckdb-cli, not duckdb in Python.
1egg0myegg0 11 hours ago||
Oh, then you might like these DuckDB community extensions that provide stats functions!

https://duckdb.org/community_extensions/extensions/stats_duc...

https://duckdb.org/community_extensions/extensions/stochasti...

dartharva 10 hours ago||
Will check them out, thanks!
swasheck 10 hours ago||
which statistical functions do you want? i’m curious because i love duckdb and use it for a variety of projects but always want to learn more about how to use tools better.
dartharva 9 hours ago||
Basic regression and interpolation for starters; perhaps some classification and outlier detection too. Disclaimer: I self-studied applied DuckDB for my job, I don't know if these already exist.
jeffbee 21 hours ago|
"We reimplemented ICU" U+1F631 FACE SCREAMING IN FEAR
amluto 21 hours ago|
I’m currently contemplating that MySQL apparently cannot do an INSTANT change of the collation of an unindexed column, even though, AFAICT, it has no effect whatsoever on the on-disk format or any data structure at all except for the metadata saying what the column type is.

I do not enjoy dealing with text encodings and collations in databases.

More comments...