Re: [COMMITTERS] pgsql: Update docs to say you need fsync to make sync rep work fast. - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [COMMITTERS] pgsql: Update docs to say you need fsync to make sync rep work fast.
Date
Msg-id 201104301630.p3UGUp905642@momjian.us
Whole thread Raw
Responses Re: Re: [COMMITTERS] pgsql: Update docs to say you need fsync to make sync rep work fast.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Simon Riggs wrote:
> Update docs to say you need fsync to make sync rep work fast.
> 
> Branch
> ------
> master
> 
> Details
> -------
> http://git.postgresql.org/pg/commitdiff/6e8e7cc580665ddd43c8ca2acc6d60f345570a57

This patch added this documentation text:

+    Replies are only sent when WAL is written to disk, so setting
+    <varname>fsync</> to <literal>off</> on the standby will significantly
+    reduce performance of synchronous replication and should be avoided.

Should we also issue a warning message in the server logs for the use of
fsync=off on the standby?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Feature proposal: distinguish each PostgreSQL instance in the event log
Next
From: Tom Lane
Date:
Subject: Re: Changing the continuation-line prompt in psql?