Re: Planner create a slow plan without an available index

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Ben-Nes Yonatan <da(at)canaan(dot)co(dot)il>, pgsql-general(at)postgresql(dot)org
Subject: Re: Planner create a slow plan without an available index
Date: 2005-08-30 15:05:19
Message-ID: 21789.1125414319@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> rtree works on multidimesional (geometric) data. It can do range tests
> (is object A to the left of object B) but it's only applicable if your
> conditions can be interpreted that way.

> GiST is for creating custom index types, hardly likely to be useful
> in your case.

Actually either rtree or GIST should be able to do something useful with
this, since it's basically a 1-D overlap query. The main problem with
GIST is to find a suitable opclass, since there aren't any in the core
system. Possibly contrib/seg could be used.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Antimon 2005-08-30 15:05:54 Re: Php abstraction layers
Previous Message Vivek Khera 2005-08-30 14:59:01 Re: question