Skip site navigation (1) Skip section navigation (2)

Re: GiST indexing tuples

From: "Steinar H(dot) Gunderson" <sgunderson(at)bigfoot(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: GiST indexing tuples
Date: 2007-11-29 20:30:24
Message-ID: 20071129203024.GB5705@uio.no (view raw or flat)
Thread:
Lists: pgsql-performance
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/

In response to

pgsql-performance by date

Next:From: Campbell, LanceDate: 2007-11-29 21:46:42
Subject: clear pg_stats
Previous:From: Matthew T. O'ConnorDate: 2007-11-29 20:23:10
Subject: Re: GiST indexing tuples

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group