Re: why is gist index taking so much space on the disc

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: why is gist index taking so much space on the disc
Дата
Msg-id 4381FD2E.7010500@sigaev.ru
обсуждение исходный текст
Ответ на why is gist index taking so much space on the disc  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Список pgsql-hackers
> So final question, what should I do to make that index much smaller  on 
> the disc.

Tune your penalty and picksplit function. Gevel module can help you to look 
inside of index ( http://www.sai.msu.su/~megera/postgres/gist/gevel ).

Usially, index becomes big when picksplit works bad: during split it place one 
key on one page and all other keys on another page. So you have a huge number of 
page with single value.


-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Time for pgindent?
Следующее
От: Marcus Engene
Дата:
Сообщение: Re: bind variables, soft vs hard parse