Postgres DELETE Can Actualy Scale
Case study 7 min +70 XP
Postgres DELETE can scale for data retention if you design around MVCC churn, cache locality and dead tuples.
Postgres DELETE can scale for data retention if you design around MVCC churn, cache locality and dead tuples.
Postgres NOTIFY takes a global exclusive lock from commit start through fsync so notifications enqueue in commit order, which serializes every notifying transaction and blocks group commit.