setting for keep_wal_segments with replication slots, postgresql 9.4

Поиск
Список
Период
Сортировка
От John Scalia
Тема setting for keep_wal_segments with replication slots, postgresql 9.4
Дата
Msg-id CABzCKRA9tsNRz2bXmMNFfgeKMKct0mn2xJpFnvPgM22CV407xw@mail.gmail.com
обсуждение исходный текст
Ответы Re: setting for keep_wal_segments with replication slots, postgresql 9.4
Список pgsql-admin
Hi all,

I've been reading section 25.2.6 Replication Slots in the docs, and I'm just a little confused. This section clearly states that replication slots automates the management of WAL slots so the master will not remove them prior to receipt by all standbys. Then, the second paragraph begins "In lieu of using replication slots... use keep_wal_segments". So, if I have a primary-standby cluster using a replication slot, then what, if anything, should keep_wal_segments be set to? Should I just comment it out?

Also, if the slot is managing the storage of WAL segments, then isn't there a possibility of filling up a disk in the event of an outage? And would keep_wal_segments prevent that? This whole section just seems to be a little vague to me and like it wasn't updated cleanly since slots were envisioned.

Maybe it's just too early in the morning for me :-)
Jay

В списке pgsql-admin по дате отправления:

Предыдущее
От: Jorge Torralba
Дата:
Сообщение: What am I missing? Explain row estimate wrong
Следующее
От: Payal Singh
Дата:
Сообщение: Re: setting for keep_wal_segments with replication slots, postgresql 9.4