Re: warm standby - apply wal archives

Поиск
Список
Период
Сортировка
От Alan Hodgson
Тема Re: warm standby - apply wal archives
Дата
Msg-id 201109051300.45228@hal.medialogik.com
обсуждение исходный текст
Ответ на Re: warm standby - apply wal archives  (MirrorX <mirrorx@gmail.com>)
Ответы Re: warm standby - apply wal archives
Список pgsql-general

On September 5, 2011, MirrorX <mirrorx@gmail.com> wrote:

> thx a lot for your answer.

>

> actually DRBD is the solution i am trying to avoid, since i think the

> performance is degrading a lot (i ve used it in the past). and also i

> have serious doubts if the data is corrupted in case of the master's

> failure, if not all blocks have been replicated to they secondary. has

> anyone faced this situation? any comments on that? thx in advance

>


DRBD mode C is very good. If you're running mode C, when PostgreSQL issues an fsync, that doesn't return until the secondary node has the data on disk. It's as safe as you're going to get.


The performance limit for DRBD is the write speed of a single network interface. If you're exceeding that, though, you also aren't going to be shipping out WAL segments in real time. I guess also if your nodes aren't close by, the latency could be a speed killer, but that's not really the normal use case.

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

Предыдущее
От: Ron Peterson
Дата:
Сообщение: Re: alter column appears to work, but doesn't?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: alter column appears to work, but doesn't?