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

Same Job, Two Engines: InnoDB and Iceberg Internals

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

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.

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

    > 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...

  2. wood_spirit

    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.

More from this day

2026-10-14