Re: Reclaiming Index Free Pages

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Reclaiming Index Free Pages
Дата
Msg-id 10777.1103921145@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Reclaiming Index Free Pages  ("Ramy M.Hassan" <rhassan@cs.purdue.edu>)
Список pgsql-hackers
"Ramy M.Hassan" <rhassan@cs.purdue.edu> writes:
> I was wondering how index access methods reclaim the free disk pages after
> they are no longer used. 

Btree and hash can both recycle unused pages, though neither is very
good about physically shrinking the file (neither can move existing
pages for instance).  I dunno anything about rtree or gist though.

If you've got a horribly bloated index that you need to physically
shrink, REINDEX is the recommended answer at the moment.
        regards, tom lane


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: RC2 and open issues
Следующее
От: Tom Lane
Дата:
Сообщение: Where do pg_hba.conf include files live?