Re: rtree/gist index taking enormous amount of space in 8.2.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: rtree/gist index taking enormous amount of space in 8.2.3
Дата
Msg-id 13616.1183046917@sss.pgh.pa.us
обсуждение исходный текст
Ответ на rtree/gist index taking enormous amount of space in 8.2.3  ("Dolafi, Tom" <dolafit@janelia.hhmi.org>)
Ответы Re: rtree/gist index taking enormous amount of space in 8.2.3  ("Dolafi, Tom" <dolafit@janelia.hhmi.org>)
Список pgsql-performance
"Dolafi, Tom" <dolafit@janelia.hhmi.org> writes:
> In version 8.1.5, I have an rtree index on a 1.5 GB table.  The size of
> this index is 500 MB.  After migrating to 8.2.3, the size of this index
> has increased to 35GB.  I've dropped are recreated the index and got the
> same result.  In 8.2.3 the index type is gist, does this have something
> to do with it?

We dropped rtree in 8.2 on the strength of experiments that seemed to
show gist was always better, but you seem to have an outlier case...

Can you tell us something about the distribution of the data values
(fmin and fmax)?  Is there anything particularly magic about the two
constants you're using in the boxes?  I suppose you've hit some bad
corner case in the gist box opclass, but it's not clear what.

            regards, tom lane

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: PostgreSQL 8.0 occasionally slow down
Следующее
От: "Sachchida Ojha"
Дата:
Сообщение: How to install Postgresql 8.2.x on windows XP silently