Checking for replication slots - PostgreSQL Replication
Checking for replication slots - PostgreSQL Replication
By themselves, replication slots occupy very little disk space They just store tiny bit of metadata, including a pointer to a position in WAL
A replication slot is a PostgreSQL feature which ensures that a stream of changes stored in a WAL log file is replicated to the destination in the correct order Currently postgres doesn't allow dropping a replication slot that's active This can make certain operations more time-consuming or stuck in production
slot demo pgsoft The replication slot basically tells Postgres not to recycle or remove any WAL files that could ultimately prevent it from catching up with Now a common cause for this kind of issue are replication slots which are not advanced: in that case, Postgres will hold on to all WAL segments