Re: Planner create a slow plan without an available index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Planner create a slow plan without an available index
Дата
Msg-id 21789.1125414319@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Planner create a slow plan without an available index  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Planner create a slow plan without an available index  (Ben-Nes Yonatan <da@canaan.co.il>)
Список pgsql-general
Martijn van Oosterhout <kleptog@svana.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: update functions locking tables
Следующее
От: Oliver Elphick
Дата:
Сообщение: Re: 8.1beta1 RPMs