Re: pg_checksums?

Поиск
Список
Период
Сортировка
От Peter J. Holzer
Тема Re: pg_checksums?
Дата
Msg-id 20231030100113.l2fzg7x3ukvce2l7@hjp.at
обсуждение исходный текст
Ответ на Re: pg_checksums?  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-general
On 2023-10-30 09:56:31 +0900, Michael Paquier wrote:
> Hm?  Page checksums are written when a page is flushed to disk, we
> don't set them for dirty buffers or full-page writes included in WAL,
> so it should be OK to do something like the following:
> - Stop cleanly a standby.
> - Run pg_checksums on the standby to enable them.
> - Restart the standby.
> - Catchup with the latest changes
> - Stop cleanly the primary, letting the shutdown checkpoint be
> replicated to the standby.
> - Promote the standby.
> - Enable checksums on the previous primary.
> - Start the previous primary to be a standby of the node you failed
> over to.

I stand corrected.

        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 по дате отправления:

Предыдущее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: [SOLVED?] Re: Disk wait problem... not hardware...
Следующее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: pg_checksums?