Re: Cleanup of same archive used by multiple standbys

Поиск
Список
Период
Сортировка
От A J
Тема Re: Cleanup of same archive used by multiple standbys
Дата
Msg-id 1312995184.42492.YahooMailNeo@web120019.mail.ne1.yahoo.com
обсуждение исходный текст
Ответ на Cleanup of same archive used by multiple standbys  (A J <s5aly@yahoo.com>)
Ответы Re: Cleanup of same archive used by multiple standbys
Список pgsql-admin
Also couple of additional related question:
2. Am I correct in my assumption that if for some reason archive is not cleaned up and runs out of space, the WALs will accumulate in pg_xlog directory on the primary. If pg_xlog was to then run out of space, Primary server will stop accepting new writes and fail ?

3. If my standbys are in different datacenter, what is the suggested location of the archive directory ? Is it recommended to have it local in the data center of the primary server or somehow have it over in the remote data center.

Thanks for any pointers.


From: A J <s5aly@yahoo.com>
To: PG Admin <pgsql-admin@postgresql.org>
Sent: Wednesday, August 10, 2011 12:41 PM
Subject: Cleanup of same archive used by multiple standbys

What is the suggested technique for cleaning up an archive location shared by multiple standbys. Looks like pg_archivecleanup cannot be used as %r refers to last restartpoint of only a single standby server.
Do I need to create a custom script that somehow determines the latest common restartpoint of ALL the standbys and then manually run pg_archivecleanup with that value ?

Thanks.


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

Предыдущее
От: A J
Дата:
Сообщение: Cleanup of same archive used by multiple standbys
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Cleanup of same archive used by multiple standbys