Skip site navigation (1) Skip section navigation (2)

sync vs. fsync question

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: sync vs. fsync question
Date: 2004-06-01 01:45:34
Message-ID: 40BBDFBE.7000103@familyhealth.com.au (view raw or flat)
Thread:
Lists: pgsql-hackers
Hi,

I had this question posed to me on IRC and I didn't know the answer.

If all that is needed to ensure integrity is that the WAL is fsynced, 
what is wrong with just going:

wal_sync_method = fsync
fsync = false

??

Chris


Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2004-06-01 01:48:59
Subject: Re: sync vs. fsync question
Previous:From: Tom LaneDate: 2004-06-01 01:35:38
Subject: Re: Can't detect time zone

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group