Re: What's The Difference Between VACUUM and VACUUM ANALYZE?

From: "Steinar H(dot) Gunderson" <sgunderson(at)bigfoot(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: What's The Difference Between VACUUM and VACUUM ANALYZE?
Date: 2007-05-08 22:06:08
Message-ID: 20070508220608.GA8457@uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, May 08, 2007 at 05:52:13PM -0400, Alvaro Herrera wrote:
>> I am trying to follow a message thread. One guy says we should be running
>> vacuum analyze daily and the other says we should be running vacuum multiple
>> times a day. I have tried looking for what a vacuum analyze is to help me
>> understand but no luck.
> VACUUM ANALYZE is like VACUUM, except that it also runs an ANALYZE
> afterwards.

Shoot me if I'm wrong here, but doesn't VACUUM ANALYZE check _all_ tuples,
as compared to the random selection employed by ANALYZE?

/* Steinar */
--
Homepage: http://www.sesse.net/

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Alvaro Herrera 2007-05-08 22:21:02 Re: What's The Difference Between VACUUM and VACUUM ANALYZE?
Previous Message Alvaro Herrera 2007-05-08 21:52:13 Re: What's The Difference Between VACUUM and VACUUM ANALYZE?