Re: No such file or directory in pg_replslot

Поиск
Список
Период
Сортировка
От Adrien NAYRAT
Тема Re: No such file or directory in pg_replslot
Дата
Msg-id a2578862-481a-0906-7af5-b6cbee7823f3@anayrat.info
обсуждение исходный текст
Ответ на Re: No such file or directory in pg_replslot  (Jeremy Finzel <finzelj@gmail.com>)
Список pgsql-hackers
On 12/8/18 8:21 PM, Jeremy Finzel wrote:
> There are 2.1 million files in pg_replslot which I don't think is 
> normal?  Any ideas as to where I should be looking or what could cause this?

Postgres spills changes on disk when you have a big transaction: 
https://blog.anayrat.info/en/2018/03/10/logical-replication-internals/

You can monitor it with check_pgactivity's replication_slots service:
https://github.com/OPMDG/check_pgactivity/blob/master/check_pgactivity#L5664

(You have to use master version, this feature has not been released yet)


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

Предыдущее
От: Michael Banck
Дата:
Сообщение: Re: Record last password change
Следующее
От: maxzor
Дата:
Сообщение: Patch for "CREATE TABLE ... (LIKE ... INCLUDING COMMENTS)"