Re: Postgres ignoring RTree for geometric operators

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgres ignoring RTree for geometric operators
Дата
Msg-id 16360.978539086@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Postgres ignoring RTree for geometric operators  ("Gilles Bernard" <gbernard@matra-ms2i.fr>)
Список pgsql-docs
"Gilles Bernard" <gbernard@matra-ms2i.fr> writes:
> I tryed all you suggested me : (forme && '((...))'), drop the index and
> recreate it and do a vacuum analyze and it
> still do a sequential scan on the whole table.

Hm.  You might try reducing the selectivity estimates returned by
areasel() and friends in src/backend/utils/adt/geo_selfuncs.c.
I thought they were small enough already, but perhaps not.

            regards, tom lane

В списке pgsql-docs по дате отправления:

Предыдущее
От: anson
Дата:
Сообщение: Sequence
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Re: Inheritance docs error.