Re: VACUUM vs VACUUM ANALYZE

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: VACUUM vs VACUUM ANALYZE
Дата
Msg-id 20011019094915.A10169@svana.org
обсуждение исходный текст
Ответ на VACUUM vs VACUUM ANALYZE  ("Mark Coffman" <mark@epilogue.net>)
Список pgsql-general
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@svana.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.

В списке pgsql-general по дате отправления:

Предыдущее
От: Gordan Bobic
Дата:
Сообщение: Re: FTI Queries and Explain (long)
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: drop column