HI version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
92% Positive
Analyzed from 1021 words in the discussion.
Trending Topics
#duckdb#sqlite#read#more#still#oltp#olap#write#yes#single

Discussion (42 Comments)Read Original on HackerNews
So yes, all these benchmarks are great, but it wasn't so fun working with DuckDB when I had to close duckdb cli, just so a query in another script could run.
[1]: https://duckdb.org/docs/current/connect/concurrency
Now it's debt. Oops.
[1]: https://duckdb.org/2026/05/12/quack-remote-protocol
That is workload specific. Title should be "Choose DuckDB rather than SQLite for Analytics" IMHO
Can you explain this more, especially why SQLite is best at OLTP and what happens at scale?
It has some characteristics typical of OLTP engines. But they are targeted and limited to areas DuckDB feels are important.
I ran into this myself; I tried using SQLite to store the results of whole-internet rDNS scan and a count() over the entire DB could take 8 minutes. I used the wrong DB for the job and the narrative around SQLite/duckdb is around reckoning with perfectly reasonable limitations and tradeoffs that SQLite made.
And DuckDB is reasonably fast for even single record writes. ~1000x slower than SQLite, but that's still pretty fast if you're only doing a few hundred writes per second or batching.
And I am fatigued by the AI style in all code comments, reviews, PRs etc :(
DuckDB can't be. PR was sent a year ago. Blocked on the same concurrency model issue in the other sub thread.
Specifically on windows, the database can't read its own WAL file from a different thread in the same process.
Love DuckDB for being permissively open source, great tech and performance!
That said, I do think duckdb has a wider range of use cases than people here might think. It can whip through fairly large datasets (I use it for ~1B row tables all the time)
TLDRTL;DR: If everything you do is column-store territory, use a column-store.
That server is now $51.09 for those wondering See https://news.ycombinator.com/item?id=48540844
Please, folks, write with your own voice -- especially if it's for your business blog. It's good for you as an author (practice makes perfect) and it's good for your readers (whom you want to influence).