From: Richard Broersma Jr <rabroersma@yahoo.com>
To: William Scott Jordan <wsjordan@brownpapertickets.com>
To: pgsql-performance@postgresql.org
Subject: Re: VACUUM vs. REINDEX
Date: Fri, 7 Jul 2006 16:15:27 -0700 (PDT)
Message-ID: <20060707231527.92786.qmail@web31814.mail.mud.yahoo.com> (raw)
In-Reply-To: <6.2.3.0.2.20060707145857.0342ca58@mail.pandimensional.com>
> 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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: rabroersma@yahoo.com, wsjordan@brownpapertickets.com
Subject: Re: VACUUM vs. REINDEX
In-Reply-To: <20060707231527.92786.qmail@web31814.mail.mud.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox