Re: warm-standby errors

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: warm-standby errors
Дата
Msg-id 1242071913.3843.171.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на warm-standby errors  (sramirez <sramirez@vonage.com>)
Ответы Re: warm-standby errors  (sramirez <sramirez@vonage.com>)
Список pgsql-general
On Mon, 2009-05-11 at 13:50 -0400, sramirez wrote:

> Short of copying the data files elsewhere and doing a row-level
> comparison of the data, is there any way I can check to see if there is
> actual corruption in the warm standby server?

Right now, Warm Standby has same functionality as equivalent Oracle
feature - i.e. no way to confirm absence of corruption. However, WAL
records contain CRC checks that ensure the transferred data is correct,
which is more than most other replication techniques posess. Hot Standby
will allow access to data blocks to allow them to be read and checked,
though that is also possible with an external utility to some extent.

It probably isn't practical with any replication system to confirm the
exact contents of both nodes while replication is running at reasonable
speed. Some heuristics may be possible.

Do you have anything in mind, other than "detect corruption"?

> How can I prevent this
> error from occurring ?

You haven't shown us the error, just what happens afterwards.

--
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support


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

Предыдущее
От: "BRUSSER Michael"
Дата:
Сообщение: Build and install - how to avoid dependency on specific library version
Следующее
От: sramirez
Дата:
Сообщение: Re: warm-standby errors