X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 2D71A5299B for ; Sat, 20 Aug 2005 09:18:35 -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 77264-09 for ; Sat, 20 Aug 2005 12:18:30 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2871052936 for ; Sat, 20 Aug 2005 09:18:29 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 5244130B42; Sat, 20 Aug 2005 14:30:08 +0200 (MET DST) From: ohp@pyrenet.fr X-Newsgroups: pgsql.performance Subject: index as large as table Date: Sat, 20 Aug 2005 14:18:29 +0200 Organization: PYRENET Midi-pyrenees Provider Lines: 26 Message-ID: Reply-To: ohp@pyrenet.fr Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Complaints-To: abuse@pyrenet.fr X-X-Sender: ohp@sun.pyrenet To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.178 required=5 tests=[NO_REAL_NAME=0.178] X-Spam-Level: X-Archive-Number: 200508/291 X-Sequence-Number: 14038 Hi, While testing 8.1dev I came to this: CREATE TABLE t ( a int, b int PRIMARY KEY (a,b)); In that case, the index is as big as the table. My question is is it worthwhile to have such index peformance wise. I understand I'd loose uniqness buthas such an index any chance to be used against seq scan. Is there any chance we have a "btree table" in the future for that case? Regards, -- Olivier PRENANT Tel: +33-5-61-50-97-00 (Work) 15, Chemin des Monges +33-5-61-50-97-01 (Fax) 31190 AUTERIVE +33-6-07-63-80-64 (GSM) FRANCE Email: ohp@pyrenet.fr ------------------------------------------------------------------------------ Make your life a dream, make your dream a reality. (St Exupery)