Re: pg_checksums?

Поиск
Список
Период
Сортировка
От Peter J. Holzer
Тема Re: pg_checksums?
Дата
Msg-id 20231029014310.7pbdfhincj2tds4l@hjp.at
обсуждение исходный текст
Ответ на Re: pg_checksums?  (Paul Förster <paul.foerster@gmail.com>)
Ответы Re: pg_checksums?
Список pgsql-general
On 2023-10-27 23:37:24 +0200, Paul Förster wrote:
> But unfortunately still, my questions c) and d) are unanswered. I'd
> especially be interested in an answer to c), i.e. is it *safe* to
> "pg_checksum -e" the replica instance in a patroni cluster, switch
> over, and then do the other one?

I don't think so. AFAIK Replication keeps the data files in sync on a
bit-for-bit level and turning on checksums changes the data layout.
Running a cluster where one node has checksums and the other doesn't
would result in a complete mess.

        hp

--
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Вложения

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

Предыдущее
От: Jim Mlodgenski
Дата:
Сообщение: Re: Disk wait problem... may not be hardware...
Следующее
От: Paul Förster
Дата:
Сообщение: Re: pg_checksums?