Re: why is gist index taking so much space on the disc - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: why is gist index taking so much space on the disc
Date
Msg-id 4381FD2E.7010500@sigaev.ru
Whole thread Raw
In response to why is gist index taking so much space on the disc  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Time for pgindent?
Next
From: Marcus Engene
Date:
Subject: Re: bind variables, soft vs hard parse