Re: Index bloat and the need to REINDEX

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Index bloat and the need to REINDEX
Дата
Msg-id 20060815232042.GC22322@alvh.no-ip.org
обсуждение исходный текст
Ответ на Index bloat and the need to REINDEX  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-hackers
Greg Sabino Mullane wrote:

> Is there a better solution to the "index bloat" problem with regards
> to minimizing locking while reducing an ever-growing use of disk
> space? In particular, it would be nice if there was a way to force
> VACUUM [FULL] to do some of the compression that REINDEX now does.
> 
> Right now, we have tables that are updated very frequently, and a
> vacuum full just doesn't do much to reduce the disk space, as
> the indexes keep growing until a REINDEX is done. Tried on HEAD
> as well.

Vacuum full doesn't do anything to shrink the indexes -- rather, it's
the other way around, they become more bloated.  Your best bet is to
vacuum (not full) very frequently.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BugTracker (Was: Re: 8.2 features status)
Следующее
От: "Larry Rosenman"
Дата:
Сообщение: Re: BugTracker (Was: Re: 8.2 features status)