Re: logical replication snapshots

Поиск
Список
Период
Сортировка
От Dimitri Maziuk
Тема Re: logical replication snapshots
Дата
Msg-id 67f03730-ead4-26a9-185c-9e7f06cdc90a@bmrb.wisc.edu
обсуждение исходный текст
Ответ на Re: logical replication snapshots  (Andres Freund <andres@anarazel.de>)
Ответы Re: logical replication snapshots
Список pgsql-general
On 7/23/2018 6:51 PM, Andres Freund wrote:

> What precedes that "loop"?

systemctl start postgresql-10

> Could you describe what exactly you did into that situation?

Created a database, few publications, as per TFM, and a few 
subscriptions on another host. Went on vacation for 3 weeks. The problem 
host is centos 7.current w/ postgres rpms from PGDG repo. Postgres is on 
port 5434 because there is a stock one on 5432.

> ls probably works in general, it's just the sorting that makes it
> hang. Should work with -f or such.

I don't think this means what you think this means.

There are *13 million* files in 
/var/lib/pgsql/10/data/pg_logical/snapshots and postgres hangs forever 
on start with
FATAL:  the database system is starting up
FATAL:  the database system is starting up
FATAL:  the database system is starting up
...
I think the two are related. ICBW and all that. What do I do no not get 
it into that state again?

Thx


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

Предыдущее
От: Simon Brent
Дата:
Сообщение: Order of execution for permissive RLS policies
Следующее
От: Ron
Дата:
Сообщение: Speccing a remote backup server