pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew T. O'Connor <matthew@zeut.net>
To: Matthew <matthew@flymine.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: GiST indexing tuples
Date: Thu, 29 Nov 2007 15:23:10 -0500
Message-ID: <474F1FAE.3050700@zeut.net> (raw)
In-Reply-To: <Pine.LNX.4.58.0711281607510.3731@aragorn.flymine.org>
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>

Matthew wrote:
> For instance, the normal B-tree index on (a, b) is able to answer queries
> like "a = 5 AND b > 1" or "a > 5". An R-tree would be able to index these,
> plus queries like "a > 5 AND b < 1".

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?




view thread (9+ messages)  latest in thread

Message-ID: <474F1FAE.3050700@zeut.net>
Permalink:  ../474F1FAE.3050700@zeut.net/
Also on:    postgresql.org/message-id/474F1FAE.3050700@zeut.net

 · 

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: matthew@zeut.net, matthew@flymine.org
  Subject: Re: GiST indexing tuples
  In-Reply-To: <474F1FAE.3050700@zeut.net>

* 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