# Why DuckDB Outperforms SQLite by 100x on the Same $16 Server

Original title: Choose DuckDB rather than SQLite

> Hacker News story 49097730 · language: en · submitted 2026-07-29
> Web version: https://zeli.app/story/49097730
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 86 · by [rubenvanwyk](<https://news.ycombinator.com/user?id=rubenvanwyk>) · 💬 55
[original](<https://tracewayapp.com/blog/sqlite-vs-duckdb>) · [HN discussion](<https://news.ycombinator.com/item?id=49097730>)

## Summary

I benchmarked DuckDB against SQLite on a single $16 Hetzner server running Traceway. The results show DuckDB writes logs fifteen times faster and handles one hundred times more data rows before performance cliffs hit. This columnar engine allows self-hosting a full OpenTelemetry stack at massive scale without needing complex client-server databases.

## Key quote

> Each signal's read cliff sits exactly 100x further out on DuckDB than on SQLite, at equal or better latency, on identical hardware.

## HN discussion (55 comments)

### [otterley](<https://news.ycombinator.com/item?id=49098128>)

> AI slop. The content might be valuable but the framing makes it too painful to read.
>
> 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).

### [datadrivenangel](<https://news.ycombinator.com/item?id=49098405>)

> This is AI slop, but I really want to know more about their write patterns and how they were doing batches.

### [brightball](<https://news.ycombinator.com/item?id=49097996>)

> \> DuckDB's columnar engine
>
> That is workload specific. Title should be "Choose DuckDB rather than SQLite for Analytics" IMHO

### [shubhamjain](<https://news.ycombinator.com/item?id=49098174>)

> Despite its obvious advantages, the biggest drawback of DuckDB is its concurrency model [1]. If a process opens a database in read-write mode, it acquires an exclusive lock on the file. This prevents even simple read operations from other processes as long as the writer remains open. Maybe there's a simple workaround I haven't come across, but I found it to be quite a productivity killer.
>
> 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

### [ethin](<https://news.ycombinator.com/item?id=49098158>)

> How are these two DB engines even comparable other than at the edges? They handle two completely separate workload types: one is more a general-purpose DB engine and the other is specifically for columnar datasets, analytics and the like -- of course a hand-tuned DB engine is going to destroy SQLite on any reasonable benchmark: SQLite wouldn't be optimized for that hand-tuned use-case whereas something like DuckDB is.

---

## Cite

- Page: https://zeli.app/story/49097730
- Date: 2026-07-29
- Source: tracewayapp.com (https://tracewayapp.com/blog/sqlite-vs-duckdb)
- Hacker News: https://news.ycombinator.com/item?id=49097730

## Other languages

- zh: https://zeli.app/zh/story/49097730 · markdown: https://zeli.app/zh/story/49097730.md
