Re: WAL and O_DIRECT - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: WAL and O_DIRECT
Date
Msg-id 20150514155338.GA23739@momjian.us
Whole thread Raw
In response to Re: WAL and O_DIRECT  (Ravi Krishna <s.ravikrishna@aim.com>)
List pgsql-admin
On Thu, May 14, 2015 at 11:32:12AM -0400, Ravi Krishna wrote:
> Aha that pretty much explains it. Yes we are using streaming replication.
>
> However our DB2 folks are raising a concern that PG WAL writes may not be crash
> safe, unless we are using write back technology in SAN or SSD , which we are
> using.

We write WAL to the kernel, then issue fsync.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


pgsql-admin by date:

Previous
From: Ravi Krishna
Date:
Subject: Re: WAL and O_DIRECT
Next
From: Tom Lane
Date:
Subject: Re: WAL and O_DIRECT