Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id C69922E353E for ; Thu, 29 Nov 2007 16:30:37 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 81215-01 for ; Thu, 29 Nov 2007 16:30:31 -0400 (AST) Received: from cassarossa.samfundet.no (cassarossa.samfundet.no [129.241.93.19]) by postgresql.org (Postfix) with ESMTP id C49842E33AD for ; Thu, 29 Nov 2007 16:30:31 -0400 (AST) Received: from trofast.ipv6.sesse.net ([2001:700:300:1803:20e:cff:fe36:a766] helo=trofast.sesse.net) by cassarossa.samfundet.no with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Ixq1l-0001dQ-AP for pgsql-performance@postgresql.org; Thu, 29 Nov 2007 21:30:29 +0100 Received: from root by trofast.sesse.net with local (Exim 4.68) (envelope-from ) id 1Ixq1g-0001Uv-AP for pgsql-performance@postgresql.org; Thu, 29 Nov 2007 21:30:24 +0100 Date: Thu, 29 Nov 2007 21:30:24 +0100 From: "Steinar H. Gunderson" To: pgsql-performance@postgresql.org Subject: Re: GiST indexing tuples Message-ID: <20071129203024.GB5705@uio.no> Mail-Followup-To: pgsql-performance@postgresql.org References: <20071127183855.GA22330@uio.no> <245.1196264092@sss.pgh.pa.us> <474F1FAE.3050700@zeut.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <474F1FAE.3050700@zeut.net> X-Operating-System: Linux 2.6.20.4 on a x86_64 X-Message-Flag: Outlook? --> http://www.mozilla.org/products/thunderbird/ User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/385 X-Sequence-Number: 27800 On Thu, Nov 29, 2007 at 03:23:10PM -0500, Matthew T. O'Connor wrote: > Sorry in advance if this is a stupid question, but how is this better than > two index, one on "a" and one on "b"? I supposed there could be a space > savings but beyond that? You could index on both columns simultaneously without a bitmap index scan. /* Steinar */ -- Homepage: http://www.sesse.net/