Re: VACUUM vs. REINDEX - Mailing list pgsql-performance

From Richard Broersma Jr
Subject Re: VACUUM vs. REINDEX
Date
Msg-id 20060707231527.92786.qmail@web31814.mail.mud.yahoo.com
Whole thread Raw
In response to VACUUM vs. REINDEX  (William Scott Jordan <wsjordan@brownpapertickets.com>)
List 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 by date:

Previous
From: William Scott Jordan
Date:
Subject: VACUUM vs. REINDEX
Next
From: Jeff Frost
Date:
Subject: Re: VACUUM vs. REINDEX