Re: pg_archivecleanup with multiple slaves

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: pg_archivecleanup with multiple slaves
Дата
Msg-id 4DD62322020000250003D9C3@gw.wicourts.gov
обсуждение исходный текст
Ответ на pg_archivecleanup with multiple slaves  (Ben Lancaster <benlancaster@holler.co.uk>)
Список pgsql-admin
Tim  wrote:

> I would just make 2 copies of the WAL file one for each slave in
> different folders.
> That way if one slave is offline for a period of time it can
> catch up when it comes back online.

If you used hard links, that wouldn't even take any extra disk
space (beyond the directory space).  I would copy to a staging
directory, hard link (cp -l) to each of the target directories,
and then delete from the staging area.

-Kevin



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

Предыдущее
От: Raghavendra
Дата:
Сообщение: Re: LDAP Authentication
Следующее
От: "Mark Johnson"
Дата:
Сообщение: Re: LDAP Authentication