Re: GiST indexing problems...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: GiST indexing problems...
Дата
Msg-id 5487.989074343@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: GiST indexing problems...  (David McWherter <udmcwher@mcs.drexel.edu>)
Ответы Re: GiST indexing problems...  (David McWherter <udmcwher@mcs.drexel.edu>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: elog(LOG), elog(DEBUG)
Следующее
От: David McWherter
Дата:
Сообщение: Re: GiST indexing problems...