From: | Alan Hodgson <ahodgson(at)simkin(dot)ca> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: warm standby - apply wal archives |
Date: | 2011-09-05 20:00:45 |
Message-ID: | 201109051300.45228@hal.medialogik.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On September 5, 2011, MirrorX <mirrorx(at)gmail(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-09-05 20:14:00 | Re: alter column appears to work, but doesn't? |
Previous Message | Ron Peterson | 2011-09-05 20:00:15 | Re: alter column appears to work, but doesn't? |