Re: How to speed WAL apply in destination - Mailing list pgsql-admin

From Bryon Roché
Subject Re: How to speed WAL apply in destination
Date
Msg-id FDCF3710-A2AA-4D39-ACEE-27B979A51878@kain.org
Whole thread Raw
In response to Re: How to speed WAL apply in destination  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: How to speed WAL apply in destination  (Raghvendra Choudhary <raghvendra.choudhary@digivalet.com>)
Re: How to speed WAL apply in destination  (SASIKUMAR Devaraj <sashikumard@yahoo.com>)
List pgsql-admin

On December 9, 2022 10:50:07 AM UTC, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
>On Fri, 2022-12-09 at 08:47 +0000, Bryon Roché wrote:
>>
>> There are fsync parameters which can be set to off that may provide a modest speed increase, at the cost of removing
crashsafety. 
>
>That is spectacularly bad advice.

It is situational advice, and depending on your application, not bad advice at all. It is certainly not something you
wantoff by default, or even regularly. 

In fact, the PostgreSQL 15 (and earlier) versions cover this in the documentation for the fsync and synchronous_commit
parametersin section 20.5, including considerations involved in deciding when to use those arameters, along with
furtherreferences in the documentation to cover more of the performance, synchronicity, and durability parameters, in
detail.



pgsql-admin by date:

Previous
From: Mladen Gogala
Date:
Subject: Re: How to speed WAL apply in destination
Next
From: srinivas oguri
Date:
Subject: Re: How to speed WAL apply in destination