Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id D8D13632AC9 for ; Fri, 18 Jun 2010 14:53:39 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 49808-09 for ; Fri, 18 Jun 2010 17:53:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mail.postgresql.org (Postfix) with ESMTP id 82344632410 for ; Fri, 18 Jun 2010 14:53:28 -0300 (ADT) Received: from [192.168.0.105] (pool-96-244-14-10.bltmmd.fios.verizon.net [96.244.14.10]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MR97T-1OoBzt1kJb-00UA1S; Fri, 18 Jun 2010 19:53:27 +0200 Message-ID: <4C1BB294.8070806@2ndquadrant.com> Date: Fri, 18 Jun 2010 13:53:24 -0400 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Matthew Wakeling CC: Robert Haas , Eliot Gable , pgsql-performance@postgresql.org Subject: Re: B-Heaps References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1/cCd1jR5OHnbk95LYBsjlQeLvmKAcd4BpWx9q 5vVzLf9Hs8b5ytCiKJEv9h8qAptZHOS8E52ub2jEKPPTBeu/hF Ozd7RfgxWerBWHkAOxLsqmQltBbdqpa X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.001 tagged_above=-10 required=5 tests=BAYES_20=-0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201006/336 X-Sequence-Number: 39192 Matthew Wakeling wrote: > This sort of thing has been fairly well researched at an academic > level, but has not been implemented in that many real world > situations. I would encourage its use in Postgres. I guess, but don't forget that work on PostgreSQL is driven by what problems people are actually running into. There's a long list of performance improvements sitting in the TODO list waiting for people to find time to work on them, ones that we're quite certain are useful. That anyone is going to chase after any of these speculative ideas from academic research instead of one of those is unlikely. Your characterization of the potential speed up here is "Using a proper tree inside the index page would improve the CPU usage of the index lookups", which seems quite reasonable. Regardless, when I consider "is that something I have any reason to suspect is a bottleneck on common workloads?", I don't think of any, and return to working on one of things I already know is instead. -- Greg Smith 2ndQuadrant US Baltimore, MD PostgreSQL Training, Services and Support greg@2ndQuadrant.com www.2ndQuadrant.us