Re: Document how to turn off disk write cache on popular operating - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Document how to turn off disk write cache on popular operating
Date
Msg-id 200712111318.lBBDIgg06843@momjian.us
Whole thread Raw
Responses Re: Document how to turn off disk write cache on popular operating  (Magnus Hagander <magnus@hagander.net>)
tuplesort.c  (Manolo _ <mac_man2005@hotmail.it>)
List pgsql-hackers
Magnus Hagander wrote:
> On Mon, Dec 10, 2007 at 02:05:05PM +0000, Bruce Momjian wrote:
> > Log Message:
> > -----------
> > Document how to turn off disk write cache on popular operating systems.
> > 
> > Modified Files:
> > --------------
> >     pgsql/doc/src/sgml:
> >         wal.sgml (r1.46 -> r1.47)
> >         (http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/wal.sgml?r1=1.46&r2=1.47)
> 
> Should this mention that you don't need to turn it off at the disk level if
> you use fsync_writethrough? 

Uh, I remember we looked at this checkbox before but I don't remember
the details, and I can't find a comment about it.  Was the issue that
writethrough always forces through the disk cache?  Is that the default
on Win32?  Did we comment this somewhere?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://postgres.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: WORM and Read Only Tables (v0.1)
Next
From: Alvaro Herrera
Date:
Subject: Re: [BUGS] BUG #3799: csvlog skips some logs