From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: VACUUM ANALYZE downgrades performance
Date: Thu, 2 Dec 2004 17:30:44 +0100
Message-ID: <20041202163044.GA30522@uio.no> (raw)
In-Reply-To: <84wtw0d6q2.fsf@plab.ku.dk>
References: <84fz2ra2gy.fsf_-_@plab.ku.dk>
<41AC94CC.1020602@idigx.com>
<84wtw0d6q2.fsf@plab.ku.dk>
On Thu, Dec 02, 2004 at 05:07:17PM +0100, Dmitry Karasik wrote:
> While I agree that generally this is true, look how stupid this
> behavior looks in this particular case: A developer creates a table
> and index, knowing that the table will be large and will be intensively
> used. An admin runs 'VACUUM ANALYZE' when table is occasionally empty,
> and next, say, 1 day, until another 'VACUUM ANALYZE' starts, the index
> is simply not used! Sure you don't suppose to run 'VACUUM ANALYZE' every
> 5 minutes as a solution, right?
No, you run autovacuum, which automatically re-analyzes at approximately the
right time.
/* Steinar */
--
Homepage: http://www.sesse.net/
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: sgunderson@bigfoot.com
Subject: Re: VACUUM ANALYZE downgrades performance
In-Reply-To: <20041202163044.GA30522@uio.no>
* 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