Re: VACUUM ANALYZE is faster than ANALYZE?

From: Jeroen Vermeulen <jtv(at)xs4all(dot)nl>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: VACUUM ANALYZE is faster than ANALYZE?
Date: 2012-02-22 17:54:41
Message-ID: 4F452BE1.10602@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2012-02-22 16:29, Tom Lane wrote:

(Snip context)

> VACUUM ANALYZE
> consists of two separate passes, VACUUM and then ANALYZE, and the second
> pass is going to be "random" I/O by your definition no matter what.

I don't suppose there's a case where the VACUUM (1) gets to delete lots
and lots of rows that then don't need ANALYZE'ing, and (2) can do so
without actually touching all those pages?

Jeroen

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2012-02-22 18:00:55 determining a type oid from the name
Previous Message Greg Smith 2012-02-22 17:36:28 Re: pg_test_timing tool for EXPLAIN ANALYZE overhead