X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 932649FB285 for ; Thu, 3 Aug 2006 06:41:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 27436-04 for ; Thu, 3 Aug 2006 09:40:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by postgresql.org (Postfix) with ESMTP id 3FF9E9FB282 for ; Thu, 3 Aug 2006 06:40:48 -0300 (ADT) Received: from osgiliath.mathom.us ([72.66.113.236]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J3F003Q31IPP961@vms048.mailsrvcs.net> for pgsql-performance@postgresql.org; Thu, 03 Aug 2006 04:40:02 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by osgiliath.mathom.us (Postfix) with ESMTP id E3B736FA67 for ; Thu, 03 Aug 2006 05:39:59 -0400 (EDT) Received: from osgiliath.mathom.us ([127.0.0.1]) by localhost (osgiliath.home.mathom.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xwJKyXsw0aOJ for ; Thu, 03 Aug 2006 05:39:58 -0400 (EDT) Received: by osgiliath.mathom.us (Postfix, from userid 1000) id 91CEA6FAAA; Thu, 03 Aug 2006 05:39:56 -0400 (EDT) Date: Thu, 03 Aug 2006 05:39:56 -0400 From: Michael Stone Subject: Re: XFS filessystem for Datawarehousing In-reply-to: To: pgsql-performance@postgresql.org Mail-followup-to: pgsql-performance@postgresql.org Message-id: <20060803093953.GP2900@mathom.us> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-disposition: inline X-Virus-Scanned: Debian amavisd-new at mathom.us X-Pgp-Fingerprint: 53 FF 38 00 E7 DD 0A 9C 84 52 84 C5 EE DF 7C 88 References: User-Agent: Mutt/1.5.12-2006-07-14 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.816 tagged_above=0 required=5 tests=SPF_HELO_SOFTFAIL, SPF_SOFTFAIL X-Spam-Level: *** X-Archive-Number: 200608/40 X-Sequence-Number: 20225 On Thu, Aug 03, 2006 at 01:10:39AM -0600, Koth, Christian (DWBI) wrote: >For what reason are you planning to use a journaling FS? I think using WAL, fsyncing every transaction and using a journaling FS is tautologous. And if you have problems using EXT2 you can just add the journal later without loosing data. >My tests using EXT2 showed a performance boost up to 50% on INSERTs. The requirements for the WAL filesystem and for the data filesystem are different. Having the WAL on a small ext2 filesystem makes sense and is good for performance. Having the data on a huge ext2 filesystem is a horrible idea, because you'll fsck forever if there's a crash, and because ext2 isn't a great performer for large filesystems. I typically have a couple-gig ext2 WAL paired with a couple of couple-hundred-gig xfs data & index partitions. Note that the guarantees of a journaling fs like xfs have nothing to do with the kind of journaling done by the WAL, and each has its place on a postgres system. Mike Stone