recall

← recall

replication slot term

Postgres bookkeeping ensuring WAL is kept until consumer reads it

Without a slot, Postgres recycles WAL once it's safe. With a slot, WAL is retained until the slot's consumer advances. Forgotten slots fill up disk — common operational gotcha.

topics: databases, postgres, internals

references: