Re: Maximum Performance Follow-up Question - Mailing list pgsql-admin

From Tom Lane
Subject Re: Maximum Performance Follow-up Question
Date
Msg-id 1051.1011988224@sss.pgh.pa.us
Whole thread Raw
List pgsql-admin
"Peter T. Brown" <peter@memeticsystems.com> writes:
> Is there any BIG risk in turning fsync off?

No, I wouldn't say so if you consider your data noncritical.  fsync is
for stuff like orders and bank accounts, where losing even one
committed transaction is not acceptable.

> And isn't there some way to use fsync but just use it less frequently,

That's pretty much what you get with fsync off: the Unix system will
still flush data to disk every 30 sec or so (see syncer daemon's man
page).

            regards, tom lane

pgsql-admin by date:

Previous
From: "Zhang, Anna"
Date:
Subject: Re: Increasing Shared Memory - on MacOS X
Next
From: "Peter T. Brown"
Date:
Subject: Re: Maximum Performance Follow-up Question