pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Pierre-Frédéric Caillaud <lists@boutiquenumerique.com>
Cc: pgsql-performance@postgresql.org, PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [PERFORM] Reiser4
Date: Fri, 13 Aug 2004 21:30:47 -0400 (EDT)
Message-ID: <200408140130.i7E1Ulf06800@candle.pha.pa.us> (raw)
In-Reply-To: <opscohy8dvcq72hf@musicbox>

Pierre-Frédéric Caillaud wrote:
> 	Is there also a possibility to tell Postgres : "I don't care if I lose 30  
> seconds of transactions on this table if the power goes out, I just want  
> to be sure it's still ACID et al. compliant but you can fsync less often  
> and thus be faster" (with a possibility of setting that on a per-table  
> basis) ?

I have been thinking about this.  Informix calls it buffered logging and
it would be a good feature.

Added to TODO:

* Allow buffered WAL writes and fsync

  Instead of guaranteeing recovery of all committed transactions, this
  would provide improved performance by delaying WAL writes and fsync
  so an abrupt operating system restart might lose a few seconds of
  committed transactions but still be consistent.  We could perhaps
  remove the 'fsync' parameter (which results in an an inconsistent
  database) in favor of this capability.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (5+ messages)  latest in thread

Message-ID: <200408140130.i7E1Ulf06800@candle.pha.pa.us>
Permalink:  ../200408140130.i7E1Ulf06800@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200408140130.i7E1Ulf06800@candle.pha.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-performance@postgresql.org
  Cc: pgman@candle.pha.pa.us, lists@boutiquenumerique.com, pgsql-hackers@postgresql.org
  Subject: Re: [PERFORM] Reiser4
  In-Reply-To: <200408140130.i7E1Ulf06800@candle.pha.pa.us>
  References: <opscohy8dvcq72hf@musicbox> <200408140130.i7E1Ulf06800@candle.pha.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