Member-only story
Moving to Postgres was a Mistake
Three painful problems that will wreck your app
Developers love Postgres because the top half feels elegant.
The types are nice, the planner is smart, and the ergonomics are great.
But that doesn’t matter when the bottom half — the storage engine — starts dropping in performance. If your workload churns rows, Postgres quietly taxes you until your disks bloat.
This article will therefore outline and evaluate three fundamental problems with Postgres, which become obvious later on in development.
So without further ado, let’s dive right in!
Problem 1, Index Bloat
Every time you change data, you also change indexes.
In Postgres, those index entries are versioned right along with the rows, so dead tuples pile up inside the tree.
Over time, your index becomes loose. The result is high CPU and rising latency, even when the logical row count barely changes.
Bloat is when the physical size grows larger than the live data requires, because dead tuples and empty gaps persist.
Indexes suffer the most, since point lookups still traverse pages that no longer…









