Re: Help optimizing a slow index scan - Mailing list pgsql-performance

From Dan Harris
Subject Re: Help optimizing a slow index scan
Date
Msg-id 441AD702.9020508@drivefaster.net
Whole thread Raw
In response to Help optimizing a slow index scan  (Dan Harris <fbsd@drivefaster.net>)
Responses Re: Help optimizing a slow index scan
Re: Help optimizing a slow index scan
List pgsql-performance
Markus Bertheau wrote:
> Have you tried using a GIST index on lat & long? These things are
> meant for two-dimensional data, whereas btree doesn't handle
> two-dimensional data that well. How many rows satisfy either of the
> long / lat condition?
>
>
>>
According to the analyze, less than 500 rows matched.  I'll look into
GIST indexes, thanks for the feedback.

-Dan

pgsql-performance by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Background writer configuration
Next
From: Dan Harris
Date:
Subject: Re: Help optimizing a slow index scan