Re: GiST indexing problems... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: GiST indexing problems...
Date
Msg-id 5487.989074343@sss.pgh.pa.us
Whole thread Raw
In response to Re: GiST indexing problems...  (David McWherter <udmcwher@mcs.drexel.edu>)
Responses Re: GiST indexing problems...  (David McWherter <udmcwher@mcs.drexel.edu>)
List pgsql-hackers
David McWherter <udmcwher@mcs.drexel.edu> writes:
> I've tried adding the parameters 'restrict = eqsel' and 'join = eqjoinsel'
> to the datatype operators, but that doesn't seem to change anything.

You might have better luck if you use area-related selectivity
estimators.  Your problem seems to be that the optimizer doesn't
think the index is worth using, and the cause almost certainly is
overly pessimistic selectivity estimates for the indexable operators.
areasel and friends are completely bogus, but at least they deliver
small enough numbers to encourage use of the index ;-)

As Oleg says, the GiST support in 7.0.* is in pretty poor shape
(it had been suffering from neglect for a long time).  Try 7.1.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: elog(LOG), elog(DEBUG)
Next
From: David McWherter
Date:
Subject: Re: GiST indexing problems...