Re: pgsql: Document that non-data journaling is a recommended mount option. - Mailing list pgsql-committers

From Bruce Momjian
Subject Re: pgsql: Document that non-data journaling is a recommended mount option.
Date
Msg-id 200812141418.mBEEINh29704@momjian.us
Whole thread Raw
In response to Re: pgsql: Document that non-data journaling is a recommended mount option.  ("Jaime Casanova" <jcasanov@systemguards.com.ec>)
List pgsql-committers
Jaime Casanova wrote:
> On Sat, Dec 6, 2008 at 4:34 PM, Bruce Momjian <momjian@postgresql.org> wrote:
> > Log Message:
> > -----------
> > Document that non-data journaling is a recommended mount option.
> >
>
> i'm always confused about this... you mean turn off data journaling in
> the disks that stores the datafiles, right? not in the disks where the
> WAL in...
>
> can be more explicit about one or the other?

You can turn off data journally for WAL and non-WAL disks because we
call fsync() when we need data flushed to disk.  The problem is that by
default ext3 flushes data to disk for table files during journaling
operation.

What additional text needs to be added?

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

  + If your life is a hard drive, Christ can be your backup. +

pgsql-committers by date:

Previous
From: "Jaime Casanova"
Date:
Subject: Re: pgsql: Document that non-data journaling is a recommended mount option.
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Replace both send and receive BIO routines in the SSL code with