How many max_replication_slots?

Поиск
Список
Период
Сортировка
От andrew cooke
Тема How many max_replication_slots?
Дата
Msg-id 20220426182615.lhwhuwwciqbqiq2v@acooke.org
обсуждение исходный текст
Список pgsql-general
Hi,

How can I estimate the correct value for max_replication_slots
(logical replication, pg 14)?

As far as I understand, they're needed to keep WAL files on the
publisher when something goes wrong.  But we seem to need way, way
more slots than publishers.  Is it one slot per publisher per table?

We have 14 publishers and seem to need more than 100 slots.  Is this
reasonable, or does it indicate some underlying error?  They all share
the same schema with ~60 tables and the logical replication should
generate the union of the publishers on the subscriber.

Thanks,
Andrew



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Backing up a DB excluding certain tables
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Backing up a DB excluding certain tables