X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 054CD5E4713 for ; Tue, 31 Aug 2004 18:50:20 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82377-06 for ; Tue, 31 Aug 2004 21:50:14 +0000 (GMT) Received: from flake.decibel.org (flake.decibel.org [66.143.173.58]) by svr1.postgresql.org (Postfix) with ESMTP id 5D67A5E46F3 for ; Tue, 31 Aug 2004 18:50:13 -0300 (ADT) Received: by flake.decibel.org (Postfix, from userid 1001) id 4EA5A1C8A6; Tue, 31 Aug 2004 16:50:13 -0500 (CDT) Date: Tue, 31 Aug 2004 16:50:13 -0500 From: "Jim C. Nasby" To: "J. Andrew Rogers" Cc: Bruce Momjian , pgsql-performance@postgresql.org, mischa.sandberg@telus.net Subject: Re: Equivalent praxis to CLUSTERED INDEX? Message-ID: <20040831215013.GJ78395@decibel.org> References: <200408261818.i7QIIrr09640@candle.pha.pa.us> <1093547088.349.134.camel@vulture.corp.neopolitan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1093547088.349.134.camel@vulture.corp.neopolitan.com> X-Operating-System: FreeBSD 4.10-RELEASE-p2 i386 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/489 X-Sequence-Number: 8125 On Thu, Aug 26, 2004 at 12:04:48PM -0700, J. Andrew Rogers wrote: > The major caveat to having tables of this type is that you can only have > a primary key index. No other indexes are possible because the "heap" > constantly undergoes local reorganizations if you have a lot of write > traffic, the same kind of reorganization you would normally expect in a > BTree index. This isn't true, at least in 9i. You can create whatever indexes you want on an index-organized table. I believe that the index stores the PK value instead of the ROWID. -- Jim C. Nasby, Database Consultant decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"