Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id DF09C6332C0; Tue, 29 Dec 2009 06:48:42 -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 19066-03; Tue, 29 Dec 2009 10:48:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-px0-f200.google.com (mail-px0-f200.google.com [209.85.216.200]) by mail.postgresql.org (Postfix) with ESMTP id CE965632C8F; Tue, 29 Dec 2009 06:48:31 -0400 (AST) Received: by pxi38 with SMTP id 38so1546151pxi.28 for ; Tue, 29 Dec 2009 02:48:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=Y72uhCIzXv0tBD2iO6iDgKMpT0oHePuIFeMMEt0bmnM=; b=WIs8AxnIvI7w7Eq/yn/q3flWd07hovjewU2cq5FPB1UDzTZMnwfGVjHsgjFozsT9M9 Tc2a5PR18FEpbciiBUIxMIItyAybHvYwIlVMsSX6zfa09mR3c/GMU+qLrnTUUH62PPqo es8a4xdkGkBW/ZW/jCx8anYxQ598fKpshkTvE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=OU37wj5eX9Xc5hshjkXrrbGAU7yYGEsiT7OVI0BIgZ+LnmarKf1ebd2Cnw3U2UG/Um Mol6NLTciwumuY2+pmn0AXwN593Ex/jkjR9jfYAiLz3pZIcnnDQhoSzTWlhx4wJ9e2ss N6Y3oLh834ll1Vhn8HmYHhY1u9GwuXiU26AtE= MIME-Version: 1.0 Received: by 10.141.90.9 with SMTP id s9mr6990222rvl.126.1262083710068; Tue, 29 Dec 2009 02:48:30 -0800 (PST) In-Reply-To: <200912290305.39932.andres@anarazel.de> References: <4427a97a0912101235x3ade510blcc00d5ce9883c6b6@mail.gmail.com> <200912290020.35843.andres@anarazel.de> <4B39515D.6050309@2ndquadrant.com> <200912290305.39932.andres@anarazel.de> From: Greg Stark Date: Tue, 29 Dec 2009 10:48:10 +0000 X-Google-Sender-Auth: e1845c6304680238 Message-ID: <407d949e0912290248y24acd059q1f31d6f0d057bbe6@mail.gmail.com> Subject: Re: [HACKERS] Faster CREATE DATABASE by delaying fsync (was 8.4.1 ubuntu karmic slow createdb) To: Andres Freund Cc: pgsql-hackers@postgresql.org, Greg Smith , Tom Lane , pgsql-performance@postgresql.org, Michael Clemmons , Hannu Krosing , Scott Marlowe Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 200912/262 X-Sequence-Number: 36876 On Tue, Dec 29, 2009 at 2:05 AM, Andres Freund wrote: > =A0Reads Completed: =A0 =A0 =A0 =A02, =A0 =A0 =A0 =A08KiB =A0Writes Compl= eted: =A0 =A0 2362, =A0 =A029672KiB > New: > =A0Reads Completed: =A0 =A0 =A0 =A00, =A0 =A0 =A0 =A00KiB =A0Writes Compl= eted: =A0 =A0 =A0550, =A0 =A0 5960KiB It looks like the new method is only doing 1/6th as much i/o. Do you know what's going on there? --=20 greg