X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 176BD9FB235 for ; Tue, 15 Aug 2006 17:29:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 20658-05 for ; Tue, 15 Aug 2006 17:29:50 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.envysolutions.com (mark.mielke.cc [206.248.142.186]) by postgresql.org (Postfix) with ESMTP id 6CFAA9FB1E9 for ; Tue, 15 Aug 2006 17:29:51 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.envysolutions.com (Postfix) with ESMTP id 37ECE7F0EF; Tue, 15 Aug 2006 16:29:49 -0400 (EDT) X-Virus-Scanned: amavisd-new at mail.envysolutions.com Received: from mail.envysolutions.com ([127.0.0.1]) by localhost (mark.mielke.cc [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mRk2WENj51Qr; Tue, 15 Aug 2006 16:29:49 -0400 (EDT) Received: by mail.envysolutions.com (Postfix, from userid 500) id 13E587F0F0; Tue, 15 Aug 2006 16:29:48 -0400 (EDT) Date: Tue, 15 Aug 2006 16:29:48 -0400 From: mark@mark.mielke.cc To: Tom Lane Cc: "Jim C. Nasby" , Steve Poe , pgsql-performance@postgresql.org Subject: Re: Postgresql Performance on an HP DL385 and Message-ID: <20060815202948.GC13695@mark.mielke.cc> References: <20060809210539.GR40481@pervasive.com> <1155180553.13315.0.camel@amd64-gentoo-laptop> <20060810110935.GF2900@mathom.us> <20060814153841.GF27928@pervasive.com> <721b21dc0608140851v2332cdf9g59808004c983540f@mail.gmail.com> <20060814170545.GG27928@pervasive.com> <20060814170902.GN2900@mathom.us> <20060815162926.GS27928@pervasive.com> <20060815183147.GB12834@mark.mielke.cc> <19783.1155672317@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <19783.1155672317@sss.pgh.pa.us> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.194 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, NO_REAL_NAME, SPF_HELO_PASS, SPF_PASS X-Spam-Level: * X-Archive-Number: 200608/247 X-Sequence-Number: 20432 On Tue, Aug 15, 2006 at 04:05:17PM -0400, Tom Lane wrote: > mark@mark.mielke.cc writes: > > I've been worrying about this myself, and my current conclusion is that > > ext2 is bad because: a) fsck, and b) data can be lost or corrupted, which > > could lead to the need to trash the xlog. > > Even ext3 in writeback mode allows for the indirect blocks to be updated > > without the data underneath, allowing for blocks to point to random data, > > or worse, previous apparently sane data (especially if the data is from > > a drive only used for xlog - the chance is high that a block might look > > partially valid?). > At least for xlog, this worrying is misguided, because we zero and fsync > a WAL file before we ever put any valuable data into it. Unless the > filesystem is lying through its teeth about having done an fsync, there > should be no metadata changes happening for an active WAL file (other > than mtime of course). Hmmm... I may have missed a post about this in the archive. WAL file is never appended - only re-written? If so, then I'm wrong, and ext2 is fine. The requirement is that no file system structures change as a result of any writes that PostgreSQL does. If no file system structures change, then I take everything back as uninformed. Please confirm whichever. :-) Cheers, mark -- mark@mielke.cc / markm@ncf.ca / markm@nortel.com __________________________ . . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder |\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ | | | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada One ring to rule them all, one ring to find them, one ring to bring them all and in the darkness bind them... http://mark.mielke.cc/