Re: Replication and fsync - Mailing list pgsql-general

From Fujii Masao
Subject Re: Replication and fsync
Date
Msg-id CAHGQGwGn0AtyXgQLcrW6VVa1ftDyTqonKB1seg6xbAas1P2r0Q@mail.gmail.com
Whole thread Raw
In response to Replication and fsync  (maillists0@gmail.com)
Responses Re: Replication and fsync  (Alban Hertroys <haramrae@gmail.com>)
List pgsql-general
On Thu, Oct 24, 2013 at 10:39 AM,  <maillists0@gmail.com> wrote:
> Newb question.
>
> I'm running 9.1 with a slave using streaming replication. A coworker wants
> to turn off fsync on the master and insists that the slave will still be in
> a usable state if there is a failure on the master. We all know that turning
> off fsync is a bad idea, but I was under the impression that the fsync
> setting would be replicated to the slave, making it useless as a backup in
> this scenario.

No. The setting of fsync in the master is not replicated to the standby.

> Am I wrong? If I'm wrong, is there still danger to the slave
> in this kind of setup?

No, I think.

Regards,

--
Fujii Masao


pgsql-general by date:

Previous
From: Amit Langote
Date:
Subject: Re: GIN fast update technique and work_mem
Next
From: Alban Hertroys
Date:
Subject: Re: Replication and fsync