Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 31E1A633574 for ; Sun, 14 Feb 2010 13:37:29 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 00499-03 for ; Sun, 14 Feb 2010 17:37:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 9D3C1633439 for ; Sun, 14 Feb 2010 13:37:18 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o1EHbFIM022650; Sun, 14 Feb 2010 12:37:15 -0500 (EST) To: Andres Freund cc: Greg Stark , Robert Haas , pgsql-hackers@postgresql.org Subject: Re: Re: Faster CREATE DATABASE by delaying fsync (was 8.4.1 ubuntu karmic slow createdb) In-reply-to: <201002141827.04993.andres@anarazel.de> References: <4427a97a0912101235x3ade510blcc00d5ce9883c6b6@mail.gmail.com> <407d949e1002140731j85a4f97nc053ec1b0f3cc458@mail.gmail.com> <22295.1266167499@sss.pgh.pa.us> <201002141827.04993.andres@anarazel.de> Comments: In-reply-to Andres Freund message dated "Sun, 14 Feb 2010 18:27:00 +0100" Date: Sun, 14 Feb 2010 12:37:15 -0500 Message-ID: <22649.1266169035@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201002/1148 X-Sequence-Number: 157491 Andres Freund writes: > On Sunday 14 February 2010 18:11:39 Tom Lane wrote: >> It seems to me that we're talking about a huge hit in both code >> complexity and performance to deal with a problem that doesn't actually >> occur in the field; and which furthermore is trivially solved on any >> modern filesystem by choosing the right filesystem options. Why don't >> we just document those options, instead? > Which options would that be? I am not aware that there any for any of the > recent linux filesystems. Shouldn't journaling of metadata be sufficient? regards, tom lane