Re: WAL archive on slave

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: WAL archive on slave
Дата
Msg-id CAB7nPqTzZMQExs2QcooR7_FYF0grJT8eYvh5hn+D09JM9Jo-dg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: WAL archive on slave  (James Sewell <james.sewell@lisasoft.com>)
Список pgsql-general



On Mon, Feb 10, 2014 at 9:43 AM, James Sewell <james.sewell@lisasoft.com> wrote:
Hi again,

I just realised I asked this question around a year ago (for a different reason actually) and you answered me then! Amazing!

Your answer then was:

It works fine, only the server will not generate WAL while 
it is in recovery.  As soon as you promote the standby, 
it will archive ist WALs. 

Is this still correct?
Yes, it is. A slave will begin to archive WALs after getting promoted and dumping to a new timeline.
 
I'm still not sure why they wouldn't be archived on the slave, seen as they show up in the directory?
WAL files are only replayed on a slave, not archived.
Regards
--
Michael

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

Предыдущее
От: James Sewell
Дата:
Сообщение: Re: WAL archive on slave
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Better Connection Statistics