Type: | integer |
Défaut: | 10 |
Min: | 0 |
Max: | 262143 |
Contexte: | postmaster |
Redémarrer: | true |
Depuis: | 9.4 |
Indique le nombre maximum de slots de réplication (voir streaming-replication-slots) que le serveur peut accepter. La valeur par défaut est 10. Ce paramètre est seulement configurable au lancement du serveur. Descendre ce paramètre à une valeur inférieure au nombre de slots de réplication existants empêchera le serveur de démarrer. wal_level doit aussi être positionné à replica
ou au-delà pour permettre l'utilisation des slots de réplication.
Recommandations [EN]
Set to twice as many replicas as you ever expect to have.
Sur StackOverflow
- Multiple replication slot for debezium connector
- Postgres 10 Upgrade Stuck Queries
- Postgresql Replication slot error postgresql
- Getting Exception : "replication slot "XXX" is active for PID XXX`" on deploying service on kubernetes with RollingUpdate deployment strategy
- postgresql 9.4 streaming replication
Sur pgsql-hackers
- Re: Read access for pg_monitor to pg_replication_origin_status view
- Re: Resetting spilled txn statistics in pg_stat_replication
- Avoid unnecessary ReplicationSlotControl lwlock acquistion
- Re: Avoid unnecessary ReplicationSlotControl lwlock acquistion
- Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions