Re: win32 performance - fsync question

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: "E(dot)Rodichev" <er(at)sai(dot)msu(dot)su>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: win32 performance - fsync question
Date: 2005-02-17 14:32:40
Message-ID: 4214AB08.2020108@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> The general question is - does PostgreSQL really need fsync? I suppose it
> is a question for design, not platform-specific one. It sounds like only
> one scenario, when fsync is useful, is to interprocess communication via
> open file. But PostgreSQL utilize IPC for this, so does fsync is really
> required?

NO!

Fsync is so that when your computer loses power without warning, you
will have no data loss.

If you turn it off, you run the risk of losing data if you lose power.

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message E.Rodichev 2005-02-17 14:54:38 Re: win32 performance - fsync question
Previous Message E.Rodichev 2005-02-17 14:29:36 Re: win32 performance - fsync question