Re: VACUUM vs VACUUM ANALYZE

From: Doug McNaught <doug(at)wireboard(dot)com>
To: "Mark Coffman" <mark(at)epilogue(dot)net>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: VACUUM vs VACUUM ANALYZE
Date: 2001-10-19 00:06:11
Message-ID: m3itdco5n0.fsf@belphigor.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

"Mark Coffman" <mark(at)epilogue(dot)net> writes:

> 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
>
> every hour... it takes about 3 minutes to run both. Should I run ANALYZE
> less often?

ANALYZE includes regular VACUUM functionality, so you don't have to do
both. So you're probably down to 2 minutes now. ;)

There's nothing wrong with running every hour--it depends on the
size and activity level of your DB.

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
--T. J. Jackson, 1863

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2001-10-19 00:28:54 Re: Large Files?
Previous Message Richard Welty 2001-10-19 00:04:09 Re: Accessing PostgreSQL through Apache and PHP4 on Linux

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-10-19 00:51:07 Re: PQstatus() detect change in connection...
Previous Message Martijn van Oosterhout 2001-10-18 23:49:15 Re: VACUUM vs VACUUM ANALYZE