Re: VACUUM vs VACUUM ANALYZE

Doug McNaught <doug@wireboard.com>

From: Doug McNaught <doug@wireboard.com>
To: "Mark Coffman" <mark@epilogue.net>
Cc: <pgsql-general@postgresql.org>
Date: 2001-10-19T00:06:11Z
Lists: pgsql-hackers
"Mark Coffman" <mark@epilogue.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