Re: VACUUM vs. REINDEX

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: VACUUM vs. REINDEX
Дата
Msg-id 20060707231527.92786.qmail@web31814.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на VACUUM vs. REINDEX  (William Scott Jordan <wsjordan@brownpapertickets.com>)
Список pgsql-performance
> I'm trying to decide now if we need to include a daily REINDEX along
> with our daily VACUUM FULL, and more importantly I'm just curious to
> know why we should or shouldn't do that.
>
> Any information on this subject would be appreciated.

My understanding is that vaccum full frees all of the unused space from deprecated tuples in the
table.  This effective reduces that amount of tuples that will be sequencially scanned which
deceases sequencial scan times.

reindex rebuilds the index to removed all of the deprecated tuple references.  This free memory
and reduces that time it takes to scan the index.

Thats how I understand it.

Regards,

Richard Broersma Jr.

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

Предыдущее
От: William Scott Jordan
Дата:
Сообщение: VACUUM vs. REINDEX
Следующее
От: Jeff Frost
Дата:
Сообщение: Re: VACUUM vs. REINDEX