News for hackers. Stuff that matters.
Re:Why SQLite Is Taking over with Brian Holt and Marco Bambini by jitl on Wednesday June 12, 2024 @09:22AM (#40657859)
DuckDB can have massive performance advantage over SQLite for things like aggregates on wide tables or or filters on unindexed columns, with advantage growing with the size of the table. We tried a few head to heads between the two and while we ultimately went with SQLite, we may go back and double write everything to DuckDB to get better performance for those kinds of queries on the same data set.

Duckdb can also read / import SQLite natively so we could ingest lazily from sqlite disk -> duckdb.

Biggest issue with duckdb is some memory leaks and crashes for the nodejs driver. Seems not production ready.

Re:Why SQLite Is Taking over with Brian Holt and Marco Bambini by datadrivenangel on Wednesday June 12, 2024 @03:30PM (#40662007)
They did just release DuckDB version 1.0, so it should be getting much more reliable and stable.
Re:Why SQLite Is Taking over with Brian Holt and Marco Bambini by jitl on Thursday June 13, 2024 @07:09AM (#40668120)
They said 1.0 means “we aren’t going to break the disk format backwards compatibility anymore” other than that, it’s just a number and doesn’t have any power to make the software more reliable. It really depends on their priorities how much they’ll actually stabilize my use-case. I’ll probably check back in a year and see if things improved.