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

Re: GiST indexing tuples

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matthew <matthew(at)flymine(dot)org>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: GiST indexing tuples
Date: 2007-11-28 15:34:52
Message-ID: 245.1196264092@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-performance
Matthew <matthew(at)flymine(dot)org> writes:
>> This sounds like something an R-tree can do.

> I *know* that. However, Postgres (as far as I can see) doesn't provide a
> simple R-tree index that will index two integers. This means I have to
> write one myself. I'm asking whether it is possible to get two values into
> a GiST index, which would allow me to implement this.

Have you looked at contrib/seg/ ?

			regards, tom lane

In response to

Responses

pgsql-performance by date

Next:From: Dave DutcherDate: 2007-11-28 16:00:05
Subject: Re: Query only slow on first run
Previous:From: Brendan McMahonDate: 2007-11-28 15:30:22
Subject: Optimizer regression 8.2.1 -> 8.2.3 on TSEARCH2 queries with ORDER BY and LIMIT

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