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

Re: Speed Question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Manfred Koizar <mkoi-pg(at)aon(dot)at>
Cc: Noah Silverman <noah(at)allresearch(dot)com>,pgsql-performance(at)postgresql(dot)org
Subject: Re: Speed Question
Date: 2002-12-21 20:28:22
Message-ID: 1960.1040502502@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-performance
Manfred Koizar <mkoi-pg(at)aon(dot)at> writes:
> ... where "similar" means that the value of each attribute lies within
> a small range around the value of the corresponding attribute of the
> reference object?

> I don't know, whether GiST or R-Tree could help.

If the problem is multidimensional range search then GIST might be just
the ticket.  I am not sure if you'd need to do any coding though.  It
looks like contrib/btree_gist provides the necessary operator class, but
only for int4 and timestamp datatypes.

I think that our r-tree code is restricted to two-dimensional indexing,
so it wouldn't help.

			regards, tom lane

In response to

Responses

pgsql-performance by date

Next:From: Gerhard HaeringDate: 2002-12-23 01:18:46
Subject: Re: PerformPortalClose warning in 7.3
Previous:From: Noah SilvermanDate: 2002-12-21 20:17:53
Subject: Re: Speed Question

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