Re: archive_command and streaming replication

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: archive_command and streaming replication
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C207E6A71A@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: archive_command and streaming replication  (Scott Briggs <scott.br@gmail.com>)
Список pgsql-general
Scott Briggs wrote:
> So if you do need to use wal files to catch up a slave, what would
> that process be?  If you caught up with wal files, how would streaming
> replication know what positon to start at? And how would you tell
> streaming replication the new position after catching up with wal
> files?

See
http://www.postgresql.org/docs/9.1/static/warm-standby.html#STANDBY-SERV
ER-OPERATION,
particularly the second paragraph.

WAL records are ordered, so the standby can request the correct
WAL record when it connects to the primary.

Yours,
Laurenz Albe

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

Предыдущее
От: Sergey Konoplev
Дата:
Сообщение: Re: Replication recovery?
Следующее
От: Igor
Дата:
Сообщение: One schema per different databases