Re: Help w/speeding up range queries? - Mailing list pgsql-performance

From Tom Lane
Subject Re: Help w/speeding up range queries?
Date
Msg-id 13715.1162360704@sss.pgh.pa.us
Whole thread Raw
In response to Re: Help w/speeding up range queries?  ("Luke Lonergan" <llonergan@greenplum.com>)
List pgsql-performance
"Luke Lonergan" <llonergan@greenplum.com> writes:
> 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?

Yeah, but I think that's a second-order problem compared to having an
index that's reasonably well matched to the query ...

            regards, tom lane

pgsql-performance by date:

Previous
From: Ben
Date:
Subject: Re: pg_trgm indexes giving bad estimations?
Next
From: Tom Lane
Date:
Subject: Re: pg_trgm indexes giving bad estimations?