pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: GiST indexing tuples
Date: Thu, 29 Nov 2007 21:30:24 +0100
Message-ID: <20071129203024.GB5705@uio.no> (raw)
In-Reply-To: <474F1FAE.3050700@zeut.net>
References: <Pine.LNX.4.58.0711271811460.3731@aragorn.flymine.org>
	<20071127183855.GA22330@uio.no>
	<Pine.LNX.4.58.0711281305110.3731@aragorn.flymine.org>
	<245.1196264092@sss.pgh.pa.us>
	<Pine.LNX.4.58.0711281607510.3731@aragorn.flymine.org>
	<474F1FAE.3050700@zeut.net>

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/



view thread (9+ messages)  latest in thread

Message-ID: <20071129203024.GB5705@uio.no>
Permalink:  ../20071129203024.GB5705@uio.no/
Also on:    postgresql.org/message-id/20071129203024.GB5705@uio.no

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: sgunderson@bigfoot.com
  Subject: Re: GiST indexing tuples
  In-Reply-To: <20071129203024.GB5705@uio.no>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox