Re: WAL archive on slave

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: WAL archive on slave
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B17CA45E1@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: WAL archive on slave  (James Sewell <james.sewell@lisasoft.com>)
Ответы Re: WAL archive on slave
Список pgsql-general
James Sewell wrote:
> If it is the the only way that I could achieve what I wanted would be to set
> wal_keep_segments high enough then they will all be archived on promotion?

Even if you set wal_keep_segments high I don't think that the replayed
WAL will be archived.

> I'm still not sure why they wouldn't be archived on the slave, seen as they show up in the directory?
> Is there a limitation I'm not thinking about here?

I guess that the idea is that a cluster will only archive the WAL it
generates.  Typically, the primary would archive these (if you don't archive
WAL on the primary, you're probably doing something wrong).
So this would only lead to duplicates.

Yours,
Laurenz Albe

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Xlogdump compiling error : undefined reference to `ber_sockbuf_io_udp'
Следующее
От: Glyn Astill
Дата:
Сообщение: Re: Better Connection Statistics