From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce McAlister <bruce.mcalister@blueface.ie>
Cc: pgsql-performance@postgresql.org
Subject: Re: PostgreSQL 8.2.3 VACUUM Timings/Performance
Date: Mon, 05 Mar 2007 11:11:08 -0500
Message-ID: <19106.1173111068@sss.pgh.pa.us> (raw)
In-Reply-To: <esh2mg$16vu$1@news.hub.org>
References: <esh2mg$16vu$1@news.hub.org>
"Bruce McAlister" <bruce.mcalister@blueface.ie> writes:
> [1] AutoVacuum runs during the day over the entire PostgreSQL cluster,
Good, but evidently you need to make it more aggressive.
> [2] A Vacuum Full Verbose is run during our least busy period (generally
> 03:30) against the Database,
> [3] A Re-Index on the table is performed,
> [4] A Cluster on the table is performed against the most used index,
> [5] A Vacuum Analyze Verbose is run against the database.
That is enormous overkill. Steps 2 and 3 are a 100% waste of time if
you are going to cluster in step 4. Just do the CLUSTER and then
ANALYZE (or VACUUM ANALYZE if you really must, but the value is marginal).
regards, tom lane
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: tgl@sss.pgh.pa.us, bruce.mcalister@blueface.ie
Subject: Re: PostgreSQL 8.2.3 VACUUM Timings/Performance
In-Reply-To: <19106.1173111068@sss.pgh.pa.us>
* 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