# How One Iceberg Optimization Forced Me to Rebuild My Stock Analysis Database

Original title: Same Job, Two Engines: InnoDB and Iceberg Internals

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

▲ 62 · by [marcbpaul](<https://news.ycombinator.com/user?id=marcbpaul>) · 💬 9
[original](<https://marcpaul.io/logs/same-job-two-engines-innodb-and-iceberg-internals/>) · [HN discussion](<https://news.ycombinator.com/item?id=50071466>)

## Summary

After five years running analytics on InnoDB, the author switched to an Iceberg-on-MinIO lakehouse for one key optimization: columnar reads. The post explains InnoDB's three guarantees and why they hurt write-heavy ingestion, then details Iceberg's three-layer query planning—data files, manifests, and manifest lists—and how Polaris and MinIO fit in. A practical deep dive into OLTP vs. OLAP internals.

## Key quote

> After all the technical jargon, the English translation is the MVCC allows inserts and updates to happen without blocking reads.

## HN discussion (9 comments)

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

> \> InnoDB’s Three Guarantees
>
> Rows store all columns together
>
> Not guaranteed. The DYNAMIC (default) and COMPRESSED row formats [0] can shift larger values of variable-length columns in off-page records. In the example given, this wouldn’t occur, but it isn’t a guarantee per se. This is roughly equivalent to Postgres’ TOAST, though Postgres’ default threshold for TOAST is 1/4 of a page (2 KiB with its default 8 KiB page size), whereas InnoDB is 1/2 of a page (8 KiB with its default 16 KiB page size).
>
> 0: https://dev.mysql.com/doc/refman/9.7/en/innodb-row-format.ht...

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

> I like the view into the personal journey learning new things and sharing it.
>
> Suggested next steps would be trying out DuckDB instead.  My guess is it would smoke spark etc at this scale.  Always good to learn different corners of the data landscape.

---

## Cite

- Page: https://zeli.app/story/50071466
- Date: 2026-10-13
- Source: marcpaul.io (https://marcpaul.io/logs/same-job-two-engines-innodb-and-iceberg-internals/)
- Hacker News: https://news.ycombinator.com/item?id=50071466

## Other languages

- zh: https://zeli.app/zh/story/50071466 · markdown: https://zeli.app/zh/story/50071466.md
- ja: https://zeli.app/ja/story/50071466 · markdown: https://zeli.app/ja/story/50071466.md
- ko: https://zeli.app/ko/story/50071466 · markdown: https://zeli.app/ko/story/50071466.md
- de: https://zeli.app/de/story/50071466 · markdown: https://zeli.app/de/story/50071466.md
- es: https://zeli.app/es/story/50071466 · markdown: https://zeli.app/es/story/50071466.md
- ru: https://zeli.app/ru/story/50071466 · markdown: https://zeli.app/ru/story/50071466.md
