X-Original-To: pgsql-hackers-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id F11339FB277 for ; Fri, 28 Jul 2006 18:44:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 91705-04 for ; Fri, 28 Jul 2006 18:44:15 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.Mi8.com (d01gw01.mi8.com [63.240.6.47]) by postgresql.org (Postfix) with ESMTP id 20CD39FB270 for ; Fri, 28 Jul 2006 18:43:42 -0300 (ADT) Received: from 172.16.1.112 by mail.Mi8.com with ESMTP (- Welcome to Mi8 Corporation www.Mi8.com (D1)); Fri, 28 Jul 2006 17:43:27 -0400 X-Server-Uuid: 241911D6-425B-44B9-A073-E3FE0F8FC774 Received: from MI8NYCMAIL06.Mi8.com ([172.16.1.160]) by D01SMTP02.Mi8.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 28 Jul 2006 17:43:26 -0400 Received: from 63.80.24.130 ([63.80.24.130]) by MI8NYCMAIL06.Mi8.com ( [172.16.1.219]) via Exchange Front-End Server mi8owa.mi8.com ( [172.16.1.108]) with Microsoft Exchange Server HTTP-DAV ; Fri, 28 Jul 2006 21:43:25 +0000 User-Agent: Microsoft-Entourage/11.2.5.060620 Date: Fri, 28 Jul 2006 14:43:23 -0700 Subject: Re: On-disk bitmap index patch From: "Luke Lonergan" To: "Bruce Momjian" , "Tom Lane" cc: "Dann Corbit" , "Jim C. Nasby" , "Jie Zhang" , "Mark Kirkwood" , "Josh Berkus" , "Gavin Sherry" , pgsql-hackers@postgresql.org Message-ID: Thread-Topic: [HACKERS] On-disk bitmap index patch Thread-Index: Acayjtl0GEa+7h6CEdu8sgAWy4o9DA== In-Reply-To: <200607282025.k6SKPNB08324@momjian.us> MIME-Version: 1.0 X-OriginalArrivalTime: 28 Jul 2006 21:43:26.0161 (UTC) FILETIME=[DB566410:01C6B28E] X-WSS-ID: 68D45B773NC220415-02-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.533 tagged_above=0 required=5 tests=AWL, RCVD_NUMERIC_HELO X-Spam-Level: * X-Archive-Number: 200607/1490 X-Sequence-Number: 87345 Bruce, On 7/28/06 1:25 PM, "Bruce Momjian" wrote: > What we don't want to happen is for us to release bitmapped indexes, and > find out later that btree is better in all cases. Then we have to tell > people not to use bitmapped indexes until we fix it in the next major > releasse. FYI, that is basically where we are right now with hash > indexes. On this thread people have presented results that show clear and irrefutable evidence that there are use cases where bitmap indexes outperform Btree for many datatypes on realistic problems, including the TPC-H benchmark. In many cases the bitmap indexes outperform BTREE by a factor of 50 and are a tiny fraction of the size and also take dramatically less time to build. Of the cases presented, we need to have someone specifically address them and point out why they aren't proof of bitmap index performance. So far this has not been done, rather there are some unsupported opinions about other cases that might be problematic. - Luke