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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [COMMITTERS] pgsql: Update docs to say you need fsync to make sync rep work fast.
Date: 2011-04-30 16:30:51
Message-ID: 201104301630.p3UGUp905642@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-04-30 17:39:37 Re: Re: [COMMITTERS] pgsql: Update docs to say you need fsync to make sync rep work fast.
Previous Message Bruce Momjian 2011-04-30 02:28:58 pgsql: Lowercase status labels in pg_stat_replication view.

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-04-30 17:33:27 Re: Changing the continuation-line prompt in psql?
Previous Message Bruce Momjian 2011-04-30 16:25:56 Re: Feature proposal: distinguish each PostgreSQL instance in the event log