Re: pg_checksums? - Mailing list pgsql-general

From b55white
Subject Re: pg_checksums?
Date
Msg-id fcb350eb-c8b1-4f40-a3ff-0fbfa5b26a5f@edison
Whole thread Raw
In response to Re: pg_checksums?  (Michael Paquier <michael@paquier.xyz>)
List pgsql-general
On Oct 30, 2023 at 7:00 PM, Paul Förster <paul.foerster@gmail.com> wrote:

Hi Michael,

> On Oct 30, 2023, at 01:56, Michael Paquier <michael@paquier.xyz> wrote:
>
> > - Enable checksums on the previous primary.
> - Start the previous primary to be a standby of the node you failed
> over to.

That's exactly the reasoning behind my initial idea and question. Patroni does the switchover job for me including catching up on the latest changes, etc.

Seems that opinions vary. Are there any hard facts?

The best hard facts are those generated in your environment. 

It turns out that enabling checksums can take quite some time to complete, i.e. downtime for the application which is hard to do in a 24x7 environment.

Yes. Try it first with a smaller sample.

Cheers
Paul


pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Help with a good mental model for estimating PostgreSQL throughput
Next
From: Luca Ferrari
Date:
Subject: Re: xmax not zero?