Why the creation of spatial indexes decrease the performance of a query?

Поиск
Список
Период
Сортировка
От hmidi slim
Тема Why the creation of spatial indexes decrease the performance of a query?
Дата
Msg-id CAMsqVxumjVtB9+iMOLcFbsnuhnA+y-9zgOJLpV8SPo_qr0S=vA@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Hi,
I'm using postgresql 9.6.4 on linux and I'm trying to execute this query on a table contains 51000 rows.

and I got this query plan:

​​
Creation of index:
​I get this queryPlan:

​Why the execution time increases when creating a spatial index on a table containing a large amount of data?

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: a back up question
Следующее
От: John R Pierce
Дата:
Сообщение: Re: Does Postgresql 10 query partitions in parallel?