pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter T. Brown <peter@memeticsystems.com>
Cc: 'Radu-Adrian Popescu' <radu.popescu@aldratech.com>
Cc: 'Postgres Admin List' <pgsql-admin@postgresql.org>
Subject: Re: Maximum Performance Follow-up Question
Date: Fri, 25 Jan 2002 14:50:24 -0500
Message-ID: <1051.1011988224@sss.pgh.pa.us> (raw)
In-Reply-To: <002101c1a5d8$c09b5990$7d00000a@PETER>
References: <002101c1a5d8$c09b5990$7d00000a@PETER>

"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



view thread (11+ messages)

Message-ID: <1051.1011988224@sss.pgh.pa.us>
Permalink:  ../1051.1011988224@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1051.1011988224@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter@memeticsystems.com, radu.popescu@aldratech.com
  Subject: Re: Maximum Performance Follow-up Question
  In-Reply-To: <1051.1011988224@sss.pgh.pa.us>
  References: <002101c1a5d8$c09b5990$7d00000a@PETER> <1051.1011988224@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox