Re: Two fsync related performance issues? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Two fsync related performance issues?
Date
Msg-id X8dFMhh+McXiAwYA@paquier.xyz
Whole thread Raw
In response to Re: Two fsync related performance issues?  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: Two fsync related performance issues?
List pgsql-hackers
On Tue, Dec 01, 2020 at 07:39:30PM +0800, Craig Ringer wrote:
> On Wed, 14 Oct 2020, 13:06 Michael Paquier, <michael@paquier.xyz> wrote:
>> Yeah, it is safer to assume that it is the responsability of the
>> backup tool to ensure that because it could be possible that a host is
>> unplugged just after taking a backup, and having Postgres do this work
>> at the beginning of archive recovery would not help in most cases.
>
> Let's document that assumption in the docs for pg_basebackup and the file
> system copy based replica creation docs. With a reference to initdb's
> datadir sync option.

Do you have any suggestion about that, in the shape of a patch perhaps?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Sergei Kornilov
Date:
Subject: Re: Allow some recovery parameters to be changed with reload
Next
From: Michael Paquier
Date:
Subject: Re: Commitfest 2020-11 is closed