Re: Database-wide VACUUM ANALYZE

Поиск
Список
Период
Сортировка
От Bill Moran
Тема Re: Database-wide VACUUM ANALYZE
Дата
Msg-id 20070621160732.58497e2b.wmoran@collaborativefusion.com
обсуждение исходный текст
Ответ на Re: Database-wide VACUUM ANALYZE  ("Steven Flatt" <steven.flatt@gmail.com>)
Ответы Re: Database-wide VACUUM ANALYZE  ("Steven Flatt" <steven.flatt@gmail.com>)
Список pgsql-performance
In response to "Steven Flatt" <steven.flatt@gmail.com>:

> On 6/21/07, Francisco Reyes <lists@stringsutils.com> wrote:
> >
> > Are you on FreeBSD by any chance?
> >
> > I think the FreeBSD port by default installs a script that does a daily
> > vacuum.
>
>
> Yes, FreeBSD.  Do you know what script that is?

/usr/local/etc/periodic/daily/502.pgsql

> And it does a db-wide
> VACUUM ANALYZE every day?!  That is certainly not necessary, and in fact,
> costly for us.

You can control it with knobs in /etc/periodic.conf (just like other
periodic job):
daily_pgsql_vacuum_enable="YES"
daily_pgsql_backup_enable="NO"

are the defaults.

> Hmmm... I wonder why this would just start now, three days ago.  Everything
> seemed to be normal for the last two weeks.

Someone alter /etc/periodic.conf?  Perhaps it's been running all along but
you never noticed it before now?

--
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/

wmoran@collaborativefusion.com
Phone: 412-422-3463x4023

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

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: Very long SQL strings
Следующее
От: "Steven Flatt"
Дата:
Сообщение: Re: Very long SQL strings