HNHacker News
TopNewBestAskShowJobs

1egg0myegg0

170 karma · joined October 15, 2021

submissionscomments
1egg0myegg0··on AWS Acquires DuckLabs
This fall, DuckDB will support larger than memory indexes! I'm really excited about it. https://duckdb.org/2026/08/17/duckdb-20-highlights#7-storage...
1egg0myegg0··on A Preview of DuckDB v2.0
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...

1egg0myegg0··on The best worst hack that saved our bacon
Whoever gets that magical -2,147,483,648 is going to be really surprised that things keep working
1egg0myegg0··on Instant SQL for results as you type in DuckDB UI
We support spatial calculations in the UI, but not spatial visualizations just yet. Thanks for the feedback!
1egg0myegg0··on Instant SQL for results as you type in DuckDB UI
Sorry you hit that! This is actually already working on version 1.2.2. Could you install that version? That should get you going for the moment! We will dig into what you ran into.
1egg0myegg0··on Instant SQL for results as you type in DuckDB UI
It is already available in the local DuckDB UI! Let us know what you think!

-Customer software engineer at MotherDuck

1egg0myegg0··on Adding concurrent read/write to DuckDB with Arrow Flight
IN list filter predicate pushdown is much improved in DuckDB 1.2, coming in about a week! I am not sure if it applies to Arrow yet or not. Disclaimer: I work at MotherDuck and DuckDB Labs
1egg0myegg0··on Databases in 2024: A Year in Review
That is very surprising to hear! If you can reproduce it, could you please file a bug report on GitHub? That would be a huge help!!
1egg0myegg0··on Tubeworms live around deep-sea vents
Are we in the Dune timeline?
1egg0myegg0··on DuckDB Community Extensions
Hello! I would recommend trying out DuckDB's SQLite attach feature! You can read or write data, and even make schema changes, all with DuckDB's engine and syntax. The storage then uses SQLite, which is row oriented!

https://duckdb.org/docs/extensions/sqlite

(I work at MotherDuck and DuckDB Labs)

1egg0myegg0··on DuckDB Community Extensions
Extension downloads are validated using a signature check to prevent tampering!

(I work for DuckDB Labs and MotherDuck)

1egg0myegg0··on What Happens When You Put a Database in the Browser?
Howdy! I work at MotherDuck and DuckDB Labs (part time as a blogger). At MotherDuck, we have both client side and server side compute! So the initial reduction from PB/TB to GB/MB can happen server side, and the results can be sliced and diced at top speed in your browser!
1egg0myegg0··on DuckDB 1.0.0
Howdy! Thanks for your benchmarking!

Your blog does a great job contrasting the two use cases. I don't think too much has changed on your main use case, however here are a few ideas to test out!

DuckDB can read SQLite files now! So if you like DuckDB syntax or query optimization, but want to use the SQLite format / indexes, that may work well.

Since DuckDB is columnar (and compressed), it frequently needs to read a big chunk of rows (~100K) just to get 1 row out and decompressed. Mind trying to store your data uncompressed? Might help in your case! (PRAGMA force_compression='uncompressed')

Links: https://duckdb.org/docs/extensions/sqlite

1egg0myegg0··on Perf Is Not Enough
We heard your feedback! Backward compatibility was just implemented! Version 0.9 is actually fully readable by 0.10. With version 1.0 coming in a few months, this will be readable for several years' worth of version updates.
1egg0myegg0··on DuckDB 0.9
There are many! https://www.thespruce.com/duck-species-list-385436
1egg0myegg0··on DuckDB 0.8
No worries! Thanks for reading the docs!
1egg0myegg0··on DuckDB 0.8
Howdy! The docs reflect the latest dev branch. For a specific release, you can pick it from the version dropdown in the top right!
1egg0myegg0··on DuckDB 0.8
You could definitely run a pivot with the SQLite attach! All of the DuckDB syntax works!
1egg0myegg0··on DuckDB 0.8
Great question! For analytical queries, DuckDB is ~100x faster than SQLite. It also has great connectivity with Parquet, Pandas, Arrow, Postgres, and more! Plus, the syntax follows Postgres closely, so you have strong data typing and true timestamps, etc.

All that said - SQLite is still faster for transactions. Now DuckDB can actually read and write from/to SQLite, so you can use SQLite for OLTP and DuckDB for OLAP.

https://duckdb.org/docs/sql/statements/attach

1egg0myegg0··on DuckDB 0.8
Sorry to hear that!

(I work on docs for the DuckDB Foundation)

Starting in this release, the DuckDB team invested significantly in adding memory safety throughout catalog operations. There is more on the roadmap, but I would expect this release and all following to have improved stability!

That said, at my primary company, we have used it in production for years now with great success!

1egg0myegg0··on DuckDB 0.7.0
DuckDB uses all of your cores! It just uses threads, not processes!
1egg0myegg0··on Modern Data Stack in a Box with DuckDB
Let us know how you would improve our Modern Data Stack in a box!
1egg0myegg0··on Querying Postgres Tables Directly from DuckDB
Thank you for filing a bug, we will have a look at that I'm sure!
1egg0myegg0··on Querying Postgres Tables Directly from DuckDB
You can think of the attach operation as creating views in DuckDB with Postgres tables underneath! DuckDB will then query those Postgres rows (using the typical Postgres wire protocol, except in binary mode).

No data is persisted in DuckDB unless you do an insert statement with the result of the Postgres scan. DuckDB does process that data in a columnar fashion once it has been pulled into DuckDB memory though!

Does that help?

1egg0myegg0··on Querying Postgres Tables Directly from DuckDB
Yes, DuckDB supports writing lists and structs to Parquet! https://github.com/duckdb/duckdb/pull/2832

Does that help or do you have any other questions?

1egg0myegg0··on Querying Postgres Tables Directly from DuckDB
You can use the DuckDB FDW (linked in the blog post) for this! https://github.com/alitrack/duckdb_fdw
1egg0myegg0··on SQLite: Past, Present, and Future
We have one of those! :-)

And yes it is fast!

https://github.com/duckdblabs/sqlite_scanner

1egg0myegg0··on TinyBase v2.0: reactive data store for local-first apps
Howdy! What are the rough edges when persisting to a server? What are the gaps relative to something like PouchDB?
1egg0myegg0··on DuckDB 0.5.0: Larger than RAM Joins, Persistent Indexes, More Speed
DuckDB 0.5.0 "Pulchellus" released with persistent indexes, out-of-core hash join, new join order optimizer, and many other improvements!
1egg0myegg0··on Notes on the SQLite DuckDB Paper
DuckDB can actually read SQLite or Postgres directly! In the SQLite case, something like Litestream plus DuckDB could work really well!

Also, with Pyarrow's help, DuckDB can already do this with Delta tables!

https://github.com/duckdblabs/sqlite_scanner

https://github.com/duckdblabs/postgresscanner

Page 1 of 3Next →