X-Original-To: pgsql-hackers-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 7718E9FA6B5 for ; Wed, 2 Aug 2006 15:38:25 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 06924-05 for ; Wed, 2 Aug 2006 18:38:13 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id E52099FA6B0 for ; Wed, 2 Aug 2006 15:38:12 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id A062530AF3; Wed, 2 Aug 2006 20:38:10 +0200 (MET DST) From: Ron Mayer X-Newsgroups: pgsql.hackers Subject: Re: On-disk bitmap index patch Date: Wed, 02 Aug 2006 11:38:09 -0700 Organization: Hub.Org Networking Services Lines: 25 Message-ID: <44D0F111.60100@cheapcomplexdevices.com> References: <809.1154117933@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org To: Tom Lane User-Agent: Thunderbird 1.5.0.4 (X11/20060713) In-Reply-To: <809.1154117933@sss.pgh.pa.us> X-Enigmail-Version: 0.94.0.0 To: pgsql-hackers@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.816 tagged_above=0 required=5 tests=SPF_HELO_SOFTFAIL, SPF_SOFTFAIL X-Spam-Level: *** X-Archive-Number: 200608/85 X-Sequence-Number: 87578 Tom Lane wrote: > Both of these pages say up front that they are considering read-only > data. Can I assume read-mostly partitions could use the read-I/O efficient indexes on update-intensive partitions of the same table could use b-tree indexes? All of my larger (90GB+) tables can have partitions that are either almost read-only (spatial data updated one state/country at a time, about quarterly) or are totally read-only (previous months and years historical data). > So one of the questions that has to be answered (and the > submitters have been entirely mum about) is exactly how bad is the > update performance? If it's really awful that's going to constrain > the use cases quite a lot, whereas merely "a bit slower than btree" > wouldn't be such a problem. Once we have easy-to-use partitioning, would it be the case that many larger tables will have near-read-only partitions that could use I/O friendlier indexes (GIN? Hash? Bitmap?)? Any examples of a large data set that can't be partitioned into hot areas and read-mostly areas?