pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: pgsql-performance@postgresql.org
Subject: Re: What's The Difference Between VACUUM and VACUUM ANALYZE?
Date: Wed, 9 May 2007 00:06:08 +0200
Message-ID: <20070508220608.GA8457@uio.no> (raw)
In-Reply-To: <20070508215213.GC24167@alvh.no-ip.org>
References: <b09064f30705081443w25bf2e6o3a663c5f3a2a7798@mail.gmail.com>
	<20070508215213.GC24167@alvh.no-ip.org>

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/



view thread (6+ messages)  latest in thread

Message-ID: <20070508220608.GA8457@uio.no>
Permalink:  ../20070508220608.GA8457@uio.no/
Also on:    postgresql.org/message-id/20070508220608.GA8457@uio.no

 · 

reply

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: What's The Difference Between VACUUM and VACUUM ANALYZE?
  In-Reply-To: <20070508220608.GA8457@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