OLAP migration complexity is the cost of fast reads
fiveonefour.com·20h·
Discuss: Hacker News
Flag this post

Migrations feel straightforward in transactional systems: you add a column, tweak an index, maybe rebuild a B-tree, and you’re done. DDL is easy to reason about; most changes are metadata updates or narrowly scoped rewrites. Views and joins are evaluated on read, so upstream edits rarely trigger expensive cascades: the database handles that work at query time.

The analytical world is different. The same kind of change that would be mere “decoration” in OLTP becomes a physical rewrite in OLAP:

  • Changing ORDER BY means physically rewriting every column. In OLTP this isn’t even part of table design (the closest transactional analogue, an index rebuild, is minor by comparison).
  • Changing an upstream table forces downstream materialized views to recompute, and requires awa…

Similar Posts

Loading similar posts...