X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id CC6CFD1C4E6 for ; Mon, 11 Aug 2003 22:17:01 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 52251-02 for ; Mon, 11 Aug 2003 19:15:33 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 34C5BD1C4DF for ; Mon, 11 Aug 2003 19:16:50 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h7BMGiF06162; Mon, 11 Aug 2003 18:16:44 -0400 (EDT) From: Bruce Momjian Message-Id: <200308112216.h7BMGiF06162@candle.pha.pa.us> Subject: Re: Perfomance Tuning In-Reply-To: To: "scott.marlowe" Date: Mon, 11 Aug 2003 18:16:44 -0400 (EDT) Cc: Andrew Sullivan , pgsql-performance@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/176 X-Sequence-Number: 2993 scott.marlowe wrote: > On Fri, 8 Aug 2003, Andrew Sullivan wrote: > > > On Fri, Aug 08, 2003 at 09:40:20AM -0700, Jonathan Gardner wrote: > > > > > > Redhat puts ext3 on by default. Consider switching to a non-journaling FS > > > (ext2?) with the partition that holds your data and WAL. > > > > I would give you exactly the opposite advice: _never_ use a > > non-journalling fs for your data and WAL. I suppose if you can > > afford to lose some transactions, you can do without journalling. > > Otherwise, you're just borrowing trouble, near as I can tell. > > I'd argue that a reliable filesystem (ext2) is still better than a > questionable journaling filesystem (ext3 on kernels <2.4.20). > > This isn't saying to not use jounraling, but I would definitely test it > under load first to make sure it's not gonna lose data or get corrupted. That _would_ work if ext2 was a reliable file system --- it is not. This is the problem of Linux file systems --- they have unreliable, and journalled, with nothing in between, except using a journalling file system and having it only journal metadata. -- 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