Switchover : WAL archiving and shutdown...

Поиск
Список
Период
Сортировка
От Philippe Ferreira
Тема Switchover : WAL archiving and shutdown...
Дата
Msg-id 438E221B.30106@worldonline.fr
обсуждение исходный текст
Список pgsql-general
Hi,

I'm setting up switchover (to another server) with WAL/PITR.

But I'm wondering what is the behaviour of postgresql when you shut it down,
while a new WAL archive is just ready to be copied, or if the transfer
is in progress ?
Is it kept on hold, until the next start, or is it copied before leaving ?

In other words, when I want to switchover, is it sufficient to stop
postgresql,
and rsync the last partial WAL (the last modified one), or do I have to
check if
every WAL file is in sync before starting the other server ??


Thank you in advance,
Philippe Ferreira

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: fatal error in pg.log
Следующее
От: Tim Bunce
Дата:
Сообщение: Re: undefined behaviour for sub-transactions?