X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 08EFF5E46CE for ; Fri, 13 Aug 2004 22:31:44 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 45918-07 for ; Sat, 14 Aug 2004 01:31:44 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id D61D45E46BF for ; Fri, 13 Aug 2004 22:31:41 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i7E1VgO06945; Fri, 13 Aug 2004 21:31:42 -0400 (EDT) From: Bruce Momjian Message-Id: <200408140131.i7E1VgO06945@candle.pha.pa.us> Subject: Re: Reiser4 In-Reply-To: <200408131101.52788.josh@agliodbs.com> To: josh@agliodbs.com Date: Fri, 13 Aug 2004 21:31:42 -0400 (EDT) Cc: =?ISO-8859-15?Q?Pierre-Fr=E9d=E9ric_Caillaud?= , pgsql-performance@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/225 X-Sequence-Number: 7861 Josh Berkus wrote: > Pierre, > > > Are there any plans in a future Postgresql version to support a special > > fsync method for Reiser4 which will use the filesystem's transaction > > engine, instead of an old kludge like fsync(), with a possibility of > > vastly enhanced performance ? > > I don't know of any such in progress right now. Why don't you start it? It > would have to be an add-in since we support 28 operating systems and Reiser > is AFAIK Linux-only, but it sounds like an interesting experiment. > > > 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) ? > > Not per-table, no, but otherwise take a look at the Background Writer feature > of 8.0. Actually the fsync of WAL is the big performance issue here. I added a TODO item about it. -- 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