Re: VACUUM vs. REINDEX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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.


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux