Re: Help w/speeding up range queries?

Поиск
Список
Период
Сортировка
Искать
От
Luke Lonergan
Тема
Re: Help w/speeding up range queries?
Дата
Msg-id
C16D6FEC.5991%llonergan@greenplum.com
Ответ на
Список
Дерево обсуждения
Help w/speeding up range queries? John Major <major@cbio.mskcc.org>
Re: Help w/speeding up range queries? "Simon Riggs" <simon@2ndquadrant.com>
Re: Help w/speeding up range queries? Tom Lane <tgl@sss.pgh.pa.us>
Re: Help w/speeding up range queries? Jim Nasby <jim@nasby.net>
Re: Help w/speeding up range queries? "Luke Lonergan" <llonergan@greenplum.com>
Re: Help w/speeding up range queries? Tom Lane <tgl@sss.pgh.pa.us>
Re: Help w/speeding up range queries? Weslee Bilodeau <weslee.bilodeau@hypermediasystems.com>
Re: Help w/speeding up range queries? "Luke Lonergan" <llonergan@greenplum.com>
Re: Help w/speeding up range queries? "Luke Lonergan" <llonergan@greenplum.com>
John,

On 10/31/06 8:29 PM, "Tom Lane"  wrote:

>> 'chrX' and StartPosition > 1000500 and EndPosition < 2000000;
> 
> Also, there's the PostGIS stuff, though it might be overkill for what
> you want.

Oops - I missed the point earlier.  Start and End are separate attributes so
this is like an unbounded window in a Start,End space.  PostGis provides
quadtree indexing would provide a terse TID list but you still have the
problem of how to ensure that the heap tuples being scanned are efficiently
retrieved, which would only happen if they are grouped similarly to the
retrieval pattern, right?

- Luke


В списке pgsql-performance по дате отправления
От: Tom Lane
Дата:
От: Ben
Дата:
FAQ