Re: automatic REINDEX-ing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: automatic REINDEX-ing
Дата
Msg-id 8016.1218556438@sss.pgh.pa.us
обсуждение исходный текст
Ответ на automatic REINDEX-ing  (Joao Ferreira gmail <joao.miguel.c.ferreira@gmail.com>)
Ответы Re: automatic REINDEX-ing
Re: automatic REINDEX-ing
Список pgsql-general
Joao Ferreira gmail <joao.miguel.c.ferreira@gmail.com> writes:
> I executed REINDEX by hand and the disk ocupation imediatelly dropped 6
> Giga...!!!

> is there a way to configure postgres to automatically execute the needed
> REINDEXING (on indexes and tables) for a given database....

Generally speaking, there shouldn't be a need for "automatic
reindexing".  What the above suggests is that you need more aggressive
routine vacuuming, so that you don't get into this situation in the
first place.

BTW, "more aggressive routine vacuuming" does NOT mean "use vacuum full".
Vacuum full tends to make index bloat worse, not better.

            regards, tom lane

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

Предыдущее
От: Lennin Caro
Дата:
Сообщение: Re: automatic REINDEX-ing
Следующее
От: "Willy-Bas Loos"
Дата:
Сообщение: Re: Need help returning record set from a dynamic sql query