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

Поиск
Список
Период
Сортировка
Искать

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

От:
Bruce Momjian <bruce@momjian.us>
Дата:
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
+    fsync</> to 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          http://momjian.us EnterpriseDB                             http://enterprisedb.com
 + It's impossible for everything to be true. +

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

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Bruce Momjian  writes:
> Simon Riggs wrote:
>> Update docs to say you need fsync to make sync rep work fast.

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

That patch was entirely wrong and has been reverted.
		regards, tom lane

FAQ