Re: VACUUM vs VACUUM ANALYZE

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Mark Coffman <mark(at)epilogue(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: VACUUM vs VACUUM ANALYZE
Date: 2001-10-18 23:49:15
Message-ID: 20011019094915.A10169@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Thu, Oct 18, 2001 at 02:33:06PM -0400, Mark Coffman wrote:
> I know the differences between VACUUM and VACUUM ANALYZE have been discussed
> before, but I'd like to know how you schedule your cleaning jobs. Right now
> I do a
>
> VACUUM
> VACUUM ANALYZE

vacuum analyze does a vacuum anyway, so you don't need both.

> every hour... it takes about 3 minutes to run both. Should I run ANALYZE
> less often?

Here we do it once per day, though after a major set of updates i run it
manually. We're not under heavy load though.
--
Martijn van Oosterhout <kleptog(at)svana(dot)org>
http://svana.org/kleptog/
> Magnetism, electricity and motion are like a three-for-two special offer:
> if you have two of them, the third one comes free.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2001-10-18 23:55:10 Re: Can not input large text data
Previous Message Mitch Vincent 2001-10-18 23:35:39 Re: To Postgres Devs : Wouldn't changing the select limit

Browse pgsql-hackers by date

  From Date Subject
Next Message Doug McNaught 2001-10-19 00:06:11 Re: VACUUM vs VACUUM ANALYZE
Previous Message Mitch Vincent 2001-10-18 23:35:39 Re: To Postgres Devs : Wouldn't changing the select limit