Re: Something Weird Going on with VACUUM ANALYZE - Mailing list pgsql-general

From Kevin Grittner
Subject Re: Something Weird Going on with VACUUM ANALYZE
Date
Msg-id 1379598135.50229.YahooMailNeo@web162905.mail.bf1.yahoo.com
Whole thread Raw
In response to Re: Something Weird Going on with VACUUM ANALYZE  (Shaun Thomas <sthomas@optionshouse.com>)
Responses Re: Something Weird Going on with VACUUM ANALYZE  (Shaun Thomas <sthomas@optionshouse.com>)
List pgsql-general
Shaun Thomas <sthomas@optionshouse.com> wrote:

> The first line also seems extremely misleading. a manually
> launched vacuum is not an autovacuum, so why is it complaining
> about an autovacuum? Shouldn't the PID doing the autovacuum emit
> the log message? This all seems a little sketchy.

The table truncation in autovacuum had severe problems in some
conditions which were causing production down time.  The fix
accidentally introduced some messages which are confusing, and
caused the statistics from autovacuum to fail to be generated more
often than had previously been the case.  These problems should be
fixed in the next minor release.  Until then, if you have a
workload which triggers these issues, the workaround is to schedule
ANALYZE jobs.

Where things are now running faster, it's hard to say how much is
from missing the analyze step, how much is due to caching issues,
and how much is actual gain from the fixes for the original
problems.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-general by date:

Previous
From: David Johnston
Date:
Subject: Re: How to evaluate if a query is correct?
Next
From: Shaun Thomas
Date:
Subject: Re: Something Weird Going on with VACUUM ANALYZE