Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 62258B5D80A for ; Sat, 25 Jun 2011 04:03:34 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 32693-06 for ; Sat, 25 Jun 2011 07:03:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from shrek.krogh.cc (2605ds1-ynoe.0.fullrate.dk [90.184.12.24]) by mail.postgresql.org (Postfix) with ESMTP id 417B2B5D803 for ; Sat, 25 Jun 2011 04:03:26 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by shrek.krogh.cc (Postfix) with ESMTP id BFA9F1D4011; Sat, 25 Jun 2011 09:03:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at shrek.krogh.cc Received: from shrek.krogh.cc ([127.0.0.1]) by localhost (shrek.krogh.cc [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ODNr7oHZcuQG; Sat, 25 Jun 2011 09:03:14 +0200 (CEST) Received: from [90.184.13.151] (2605ds1-ynoe.2.fullrate.dk [90.184.13.151]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jesper@krogh.cc) by shrek.krogh.cc (Postfix) with ESMTPSA id 11E401D4002; Sat, 25 Jun 2011 09:03:14 +0200 (CEST) Message-ID: <4E058830.8070009@krogh.cc> Date: Sat, 25 Jun 2011 09:03:12 +0200 From: Jesper Krogh User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: Heikki Linnakangas CC: Alexander Korotkov , pgsql-hackers Subject: Re: WIP: Fast GiST index build References: <4DEC84D7.7040602@enterprisedb.com> In-Reply-To: <4DEC84D7.7040602@enterprisedb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201106/2040 X-Sequence-Number: 190753 On 2011-06-06 09:42, Heikki Linnakangas wrote: > took about 15 hours without the patch, and 2 hours with it. That's > quite dramatic. With the precense of robust consumer-class SSD-drives that can be found in sizes where they actually can fit "many" database usage scenarios. A PostgreSQL version is not likely to hit the streets before 50% of PostgreSQL users are sitting on "some kind" of flash based storage (for the part where the entire dataset doesn't fit in memory any more). Point is: * Wouldn't it be natural to measure the performance benefits of disc-bound tests in an SSD setup? ... my understanding of Fast gi(n|st) index build is that it is more or less a challenge to transform a lot of random IO workload to be more sequential and collapse multiple changes into fewer. In terms of random IO an SSD can easily be x100 better than rotating drives and it would be a shame to optimize "against" that world? -- Jesper