V
V
Vladimir2019-08-12 20:46:13
PostgreSQL
Vladimir, 2019-08-12 20:46:13

How to remove replication slot when replicating via repmgr?

when cloning a replica via

repmgr -h repmgr-1 -U repmgr -d repmgr -f /etc/repmgr/11/repmgr.conf standby clone

a replication slot is created.
but when the node is removed from the cluster, the replication slot remains in place. like (not hands) slot? I can't find it in the documentation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Mezhuev, 2019-08-13
@idskill

Deleting a replication slot: Viewing existing slots: And as for repmgr, they directly say to watch it yourself:

While replication slots can be useful for streaming replication, it's recommended to monitor for inactive slots as these will cause WAL files to build up indefinitely, possibly leading to server failure.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question